Login

Recover Your Password

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

OpenCSWhatsRelated

A special case of OpenCSContentWatchList. The method returns a result set of all content that is related to the current content through the Topics section of the edit section.


When a record is edited, if it includes at least one topic, and it is marked to be included in the ?What?s Related? list, a call to OpenCSWhatsRelated with its ContentName and record ID will return a list of other records with similar selections.


See OpenCSContentWatch for a list the fields returned.


Syntax


Call ccLib.OpenCSWhatsRelated( ContentName, RecordID, Optional SortFieldList, Optional PageSize, Optional PageNumber )


Parameters


ContentName ? String, name of the Content Definition of the source content


RecordID ? Long Integer, number of the record in the Content Definition of the source content


SortFieldList ? String, a comma separated list of field names that determine the order of the records in the result


PageSize ? used with PageNumber to assist with creating paged output. PageSize is the number of records to display per page. Page Number is the current page to display.


PageNumber ? See PageSize for a description.

This page was last reviewed 1/16/2020 7:03:21 PM