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
)
Public Function GetDssViewContent (
data As String
) As XHRServiceResponseGeneric(Of String())
public:
virtual XHRServiceResponseGeneric<array<String^>^>^ GetDssViewContent(
String^ data
) sealed
abstract GetDssViewContent :
data : string -> XHRServiceResponseGeneric<string[]>
override GetDssViewContent :
data : string -> XHRServiceResponseGeneric<string[]>
Parameters
- data
- Type: SystemString
Unique id of the content unit
Return Value
Type:
XHRServiceResponseGenericStringSource code of current view from DSS project, include raw source code, html-encoded source code
Examples Sample JSON return
[
"@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<div @_Helpers.RenderICEAttribute(Model)>@Model.Value<\/div>\u000a}"
]
See Also