Click or drag to resize

PresentationsAdminServicesGetDssViewContent Method


Retrieves the source code of the current view of content unit element, from DSS project, if it exists

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<string[]> GetDssViewContent(
	string data
)

Parameters

data
Type: SystemString
Unique id of the content unit

Return Value

Type: XHRServiceResponseGenericString

Source code of current view from DSS project, include raw source code, html-encoded source code

Examples

Sample JSON return

JavaScript
[
    "@model Ingeniux.Runtime.ICMSElement\u000a@using Ingeniux.Runtime\u000a@if (Model != null)\u000a{\u000a\u0009<div  @_Helpers.RenderICEAttribute(Model)>@Model.Value<\/div>\u000a}",
    "@model Ingeniux.Runtime.ICMSElement\u000a@using Ingeniux.Runtime\u000a@if (Model != null)\u000a{\u000a\u0009&lt;div  @_Helpers.RenderICEAttribute(Model)&gt;@Model.Value&lt;\/div&gt;\u000a}"
]
See Also