CSData 1 0-getStandardMetadata

From ADF Docs
Revision as of 22:33, 26 March 2012 by Dbeckstrom (talk | contribs) (Usage:)
Jump to: navigation, search

Attention: Do not change any text in the description, signature, and paramter sections.

Return to CSData_1_0



public struct getStandardMetadata ( numeric csPageID )


Required Name Type Description
required csPageID numeric


Example 1: Using the page ID from a field in a custom element, get the page metadata for the page and find the subsite ID for the subsite in which the page is located:

        pageMeta =  application.ADF.CSData.getStandardMetadata("items[i].values.mypageID");
	if ( StructKeyExists(pageMeta, "subsiteid") AND LEN(pageMeta.subsiteid)){
     	 pagesubsiteid = pageMeta.subsiteid;