CSApprovedDocumentInformationEPTData Property Content Studio 5.7 SDK
Content Studio Web Content Management System

[This is preliminary documentation and is subject to change.]

Gets the content of an EPT document as an EPTXmlTextParser.

Namespace: ContentStudio.Document
Assembly: CSServer5 (in CSServer5.dll) Version: 5.7.5016.0 (5.7.5016.0)

public EPTXmlTextParser EPTData { get; protected set; }

Property Value

Type: EPTXmlTextParser
the published content of an EPT document as an EPTXmlTextParser if existing, null (Nothing in Visual Basic) if no approved content could be found or the document is not an EPT document.

This property is content related and will be null (Nothing in Visual Basic) unless content data has been loaded and the document is an approved EPT document. Callers can check the DocumentType property to check whether the loaded document is an EPT document or not.

Security warning!
It is up to you as a programmer to wisely judge what information is acceptable to display on a public web page. For example: An EPT document might contain fields with classified data that are filtered out by using carefully crafted presentation templates. But, with the EPTData property, you can easily bypass any business rules specified in presentation templates thus causing unwanted information leaks.
See Also