User assistance for content authors |
---|
To generate your list designs with IBM® Digital Data Connector (DDC) for WebSphere® Portal, you can access individual list-rendering context attributes and list properties.
[Plugin:ListRenderingContext action="set" extension-id="ibm.portal.ddc.xml"
profile="ibm.portal.atom"
attribute="source=https://www.ibm.com/connections/communities/service/atom/catalog/public"
attribute="myKey=myValue" compute=“always“]
If
you do so, you can retrieve the values for the source and myValue properties
later in the design as follows:[Plugin:ListRenderingContext action="getAttribute" key="source"]
[Plugin:ListRenderingContext action="getAttribute" key="myKey"]
You
can use this mechanism to pass information from a parent list-rendering
context into a nested list-rendering context. After a nested list-rendering
context has been established, information from the parent list-rendering
context is not available via the [AttributeResource] tag.
Therefore, when you set a nested list-rendering context, you can make
parent attributes available to the nested context as follows:[Plugin:ListRenderingContext action="set" extension-id="ibm.portal.ddc.xml"
profile="ibm.portal.atom"
attribute="source=[AttributeResource key=“catalogItemDetailsLink“]
attribute="myKey=[AttributeResource key=“catalogItemFromParentContext“]“
compute=“always“]
[Plugin:ListRenderingContext action="getListProperty" key="nextLink"]