Reference Components
The Component tag is used to reference the content of a component within a presentation template or element design.
<Component name=" " format=" " separator=" " start=" " end=" " /> <Component Opens a library component tag. name=" " Enter the name and library of the component being referenced. For example, name="library/item". To use the library specified in the URL of the current page, use name="./item". start=" " end=" " The start and end attributes are used to wrap the data returned by an IWWCM tag within other tags, such as HTML. These attributes are not mandatory. format=" " This parameter is optional and can only be used with some component types:
- When referencing an image component:
- Use format="url" to only render the URL of an image component.
- When referencing a link component:
- Use format="url" to only render the full URL of a link component.
- When referencing number or date components:
- In this case, the format is used to specify the display format of dates and numbers.
separator=" " This only used when referencing a user selection component. It is used to define what text or code will be rendered between each selection. For example, to add a line break between each selection, you would use separator="<br>". If not defined, a comma will be placed between each selection when rendered. /> Closes a Web Content Management tag
Parent Topic
Referencing elements