PresentationsAdminServicesGetContentUnitPreviewData Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<ContentUnitPreviewData> GetContentUnitPreviewData( string data )
Information on the preview of content unit. Including built-in view asset code if exists
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": "", "CanEditView": true, "Finalized": false, "UseExistingView": false } }