CSData 1 0-getCustomMetadata

From ADF Docs
Revision as of 23:07, 26 March 2012 by Dbeckstrom (talk | contribs) (Description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

Return to CSData_1_0


Given a Page ID returns the custom metadata for the page.


public struct getCustomMetadata ( numeric pageID, numeric categoryID, numeric subsiteID, string inheritedTemplateList )


Required Name Type Description
required pageID numeric
  categoryID numeric
  subsiteID numeric
optional inheritedTemplateList string [Default: ]


Example 1: Get the blogID from the custom Metadata form bound to the current page:

     pageMeta =  application.ADF.CSData.getCustomMetadata(request.page.id);
 	 if ( StructKeyExists(pageMeta.custom, "Blogs2") AND
              (StructKeyExists(pageMeta.custom.Blogs2, "blogID")) and 

  	 blogID = pageMeta.custom.Blogs2.blogID;