In the example below we set up the assets as in FatWire Assign Asset Attribute to a Variable and Output to Screen and assign them to the output variable named pageID.
In the second section we are calling the render:calltemplate tag to render the template you specify. The template we are calling in this example is /SideNavTopLinks the / is used to denote a Typeless template. Most Templates used will be without the / and so will be Typed templates. We feed the pageID var into the cid attribute of the render:calltemplate tag.
In the example below we close the tag but it is also possible to use a self-closing tag e.g. <render:calltemplate..... /> or <render:calltemplate ...></render:calltemplate>. In this example I am rendering a MenuLink which is an arrribute of my Asset. I am using the tempate called myLinks to display this asset.
<assetset:setasset name="pageMenuAsset" type="MenuLink" id='<%=ics.GetVar("MenuListID")%>'/>
<assetset:getattributevalues name="pageMenuAsset" typename="Ass" attribute="MenuLinkPage" listvarname="MenuLinkPageList"/>
<ics:listget listname="MenuLinkPageList" fieldname="value" output="pageID" />
<render:calltemplate tname="/myLinks"
site='<%=ics.GetVar("site")%>'
tid='<%=ics.GetVar("tid")%>'
slotname="myLinkSlot"
c="Page"
cid='<%=ics.GetVar("pageID")%>'
ttype="Template"
context="">
</render:calltemplate>



