Site Studio wcm:metadata Tag Site Studio wcm:placeholder Tag

Site Studio Tag Library and Helper Methods 6-7 c:forEach var=row items={docinfo.resultSets.DOC_INFO.rows} pThe content item em{row.dDocName}em is a u{row.xWebsiteObjectType}up c:forEach

6.1.8 Site Studio wcm:metadata Tag

The Metadata tag performs a DOC_INFO service call for the content item, and makes the resulting DataBinder available containing the document information about the given content item. Parameters ■ contentID: The content ID. Required. ■ var: The metadata variable. Required. Example wcm:metadata contentID=DATAFILE1234 var=metadata c:forEach var=metadatarow items={metadata.resultSets.DOC_INFO.rows} pThe content item em{metadatarow.dDocName}em is a u{metadatarow.xWebsiteObjectType}up c:forEach You can also use the data file on a region template rather than a fixed ID, for example: wcm:metadata contentID={wcmContext.placeholder.dataFile} var=meta

6.1.9 Site Studio wcm:placeholder Tag

The Placeholder tag is used to specify where an item will be inserted in a template. This will typically be content, but it can also be navigation, code, subtemplates, etc. Parameters ■ name: The name of the placeholder. Required. ■ location: The location on the template. Optional. ■ definition: Specifies the mapping to a placeholder definition, which overrides any mappings specified in other ways. Optional. ■ template: The region template to use to render the Data File. Optional. ■ dataFile: The dDocName of the data file to assign to this placeholder. Optional. ■ regionDefinition: The dDocName region definition to use, instead of the xRegionDefinition on the data file. Optional. ■ actions: The allowed actions of the placeholder definition. Any number of actions can be set. If you use parameters that do not work together for example, specifying a subtemplate as well as a region definition, then the tag will execute based on the order of parameters listed above. Optional. ■ Update [E]: Allows contributor update. ■ Approve [A]: Allows workflow approval. ■ Reject [R]: Allows workflow rejection. ■ Document Information [I]: Allows viewing document information. 6-8 Oracle Fusion Middleware Developers Guide for Site Studio for External Applications ■ Switch Data File [S]: Allows switching the data file. ■ View Usage Report [U]: Allows viewing the web usage report. ■ View tracker Report [T]: Allows viewing the web tracker report. ■ Update Document Information [M]: Allows updating the content information. ■ Switch Region Template [V]: Allows switching the region template. ■ Remove Content [N]: Allows content removal by the contributor. Example wcm:placeholder name=yourplaceholdername actions=E wcm:placeholder name=yourplaceholdername actions=EPRISUTMVN

6.1.10 Site Studio wcm:staticPlaceholder Tag