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
)
Public Function SavePCR (
data As SiteDefinitionItemLocalizationSaveInput
) As XHRServiceResponseGeneric(Of LocalizationSaveResult)
public:
virtual XHRServiceResponseGeneric<LocalizationSaveResult^>^ SavePCR(
SiteDefinitionItemLocalizationSaveInput^ data
) sealed
abstract SavePCR :
data : SiteDefinitionItemLocalizationSaveInput -> XHRServiceResponseGeneric<LocalizationSaveResult>
override SavePCR :
data : SiteDefinitionItemLocalizationSaveInput -> XHRServiceResponseGeneric<LocalizationSaveResult>
Parameters
- data
- Type: SiteDefinitionItemLocalizationSaveInput
Localization of Page Creation Rule
Examples
Sample JSON input
{
"data": {
"id": "PageCreationRules/1",
"name": "Create Image Component",
"description": "",
"Members": []
}
}
Return Value
Type:
XHRServiceResponseGenericLocalizationSaveResultObject containing localized Page Creation Rule name
Examples
Sample JSON return
{
"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