PresentationsAdminServicesRemoveContentUnitView Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<ContentUnitPreviewData> RemoveContentUnitView( string data )
Content unit preview data before built-in view is removed
Sample JSON return
{
"ContentFreezeEndTime": "",
"ContentFreezeStartTime": "",
"code": 0,
"error": null,
"message": {
"ID": "ComponentContentUnits\/1",
"Name": "Right Copy",
"AssetViewCode": "@model Ingeniux.Runtime.ICMSElement\u000a@using Ingeniux.Runtime\u000a@if (Model != null)\u000a{\u000a\u0009<div @_Helpers.RenderICEAttribute(Model)>@Model.Value<\/div>\u000a}",
"AssetViewCodeEsc": "@model Ingeniux.Runtime.ICMSElement\u000a@using Ingeniux.Runtime\u000a@if (Model != null)\u000a{\u000a\u0009<div @_Helpers.RenderICEAttribute(Model)>@Model.Value<\/div>\u000a}",
"AssetViewId": "a\/9705",
"CanEditView": true,
"Finalized": false,
"UseExistingView": false
}
}