SiteDefinitionsLocalizationServicesSaveSchema Method

Ingeniux CMS Web Services API

Saves the localization of given Schema

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.70
Syntax

public XHRServiceResponseGeneric<SchemaLocalizationSaveResult> SaveSchema(
	SchemaLocalizationSaveInput data
)

Parameters

data
Type: SchemaLocalizationSaveInput

Localization of Schema, including Schema friendly name and localization of all its fields

Examples

Sample JSON input
JavaScript
{
    "data": {
        "id": "Details",
        "metaData": "Details",
        "name": "细节",
        "description": "",
        "Members": [{
            "ID": "Title",
            "Label": "标题",
            "HelpText": ""
        }, {
            "ID": "BodyCopy",
            "Label": "内容",
            "HelpText": ""
        }, {
            "ID": "SiteControl",
            "Label": "网站通用内容",
            "HelpText": "指向通用内容部件"
        }, {
            "ID": "AncestorNavigation",
            "Label": "祖先导航",
            "HelpText": "列出所有网页的祖先"
        }],
        "subType": "page"
    }
}

Return Value

Type: XHRServiceResponseGenericSchemaLocalizationSaveResult

Object containing Schema's localized name and all of the localized help text for its fields

Examples

Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "newName": "细节",
        "save": true,
        "helpText": [{
            "Key": "Title",
            "Value": ""
        }, {
            "Key": "BodyCopy",
            "Value": ""
        }, {
            "Key": "SiteControl",
            "Value": "指向通用内容部件"
        }, {
            "Key": "AncestorNavigation",
            "Value": "列出所有网页的祖先"
        }]
    }
}
Remarks

English or English translation is allowed. This allows to change descriptive text only without touching original Schema

See Also

Reference