Recover Your Password

Return to Product Support > Learning Center > Developer References > Legacy Deprecated API > OpenCSContentRecord


Opens a single record ContentSet from a Content Definition, returning a ContentSet Pointer.


CSPointer = ccLib.OpenCSContent( ContentName, RecordID, Optional WorkflowRenderingMode, Optional WorkflowEditingMode, Optional SelectFieldList)


CSPointer - Long Integer, pointer used to identify the result set in other methods.

ContentName - String, name which uniquely identifies the Content Definition.

RecordID ? Long Integer, the ID of the record to Return.

WorkflowRenderingMode ? Boolean, if true, and the Content Definition specified support WorkflowAuthoring, the resultset will be based on the edit records instead of the Live records. This can be used for ?Rending? changes. The default for this value id the current setting of the ?Render Workflow Authoring? selection for the current user.

WorkflowEditingMode ? Boolean, If WorkflowRenderingMode is true, this argument enables the ContentSet to save changed values. Default is false.

SelectFieldList ? String, a comma delimited list of fields that will be selected in the result set. If omitted, all fields in the Content Defintion will be selected. The smaller the set of fields, the faster the method.

This page was last reviewed 4/4/2009 11:57:45 AM