PresentationsAdminServicesFinalizeContentUnitView Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<ContentUnitPreviewData> FinalizeContentUnitView( ContentUnitCheckinData data )
View code and mark for publishing information
Sample JSON input
{ "ID": "ComponentContentUnits/1", "AssetViewId": "", "AssetViewCode": "@model Ingeniux.Runtime.ICMSElement\r\n@using Ingeniux.Runtime\r\n@if (Model != null)\r\n{\r\n\t<div @_Helpers.RenderICEAttribute(Model)>@Model.Value</div>\r\n}", "Comments": "", "PubTargetIds": [ "PublishingTargets/1" ] }
Content unit built-in view data, after finalization
Sample JSON return
{ "ContentFreezeEndTime": "", "ContentFreezeStartTime": "", "code": 0, "error": null, "message": { "ID": "ComponentContentUnits\/1", "Name": "Right Copy", "AssetViewCode": "@model Ingeniux.Runtime.ICMSElement\u000d\u000a@using Ingeniux.Runtime\u000d\u000a@if (Model != null)\u000d\u000a{\u000d\u000a\u0009<div @_Helpers.RenderICEAttribute(Model)>@Model.Value<\/div>\u000d\u000a}", "AssetViewCodeEsc": "@model Ingeniux.Runtime.ICMSElement\u000d\u000a@using Ingeniux.Runtime\u000d\u000a@if (Model != null)\u000d\u000a{\u000d\u000a\u0009<div @_Helpers.RenderICEAttribute(Model)>@Model.Value<\/div>\u000d\u000a}", "AssetViewId": "a\/9704", "CanEditView": true, "Finalized": true, "UseExistingView": false } }