Click or drag to resize

SiteDefinitionsLocalizationServicesSavePCR Method


Saves the localization of a single Page Creation Rule

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<LocalizationSaveResult> SavePCR(
	SiteDefinitionItemLocalizationSaveInput data
)

Parameters

data
Type: SiteDefinitionItemLocalizationSaveInput

Localization of Page Creation Rule

Examples
Sample JSON input
JavaScript
{
    "data": {
        "id": "PageCreationRules/1",
        "name": "Create Image Component",
        "description": "",
        "Members": []
    }
}

Return Value

Type: XHRServiceResponseGenericLocalizationSaveResult

Object containing localized Page Creation Rule name

Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "newName": "Create Image Component",
        "save": true
    }
}
Remarks

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

See Also