I have a raw slot calling one snippet template but then as the current item is assemble i need to change the template to grab some other properties. How would i do this?
I have this so far ubt its not pulling anything in:
#initslot("rki_AutoSitemap_slot" "")
#if($sys.currentslot.relresults.size() > 0)
#foreach( $relresult in $sys.currentslot.relresults )
#set($item = $sys.assemblyItem.clone())
#set($params.template="rki_Sn_Sitemap")
#set($slotLists=$user.psoSlotTools.getSlotContents($item, $params))
#if($slotLists.size() > 0)
#set($relresult = $tools.list.get($slotLists,0))
$relresult
#end
#end
#end
#endslot("rki_AutoSitemap_slot")
Any help greatly appreciated.