In the example below I am adding the assetid and the assettype of a sample asset to a new IListObject listobject created using listobject:create. listobject:create specifies the object name and also the columns you wish to have in your list. To add a row to your list you use listobject:addrow and specify the list name. You must then pass the data to the list as listobject:argument one for each column.
Once you have entered all the data that the list requires you can then create your list by calling the listobject:tolist tag specifying the name of the listObject you created and the variable name the new list will have.
<listobject:create name="listobject" columns="assetid,assettype" />
<ics:listget listname="assetList" fieldname="assetid" output="assetid"/>
<ics:listget listname="assetList" fieldname="assettype" output="assetype"/>
<listobject:addrow name="listobject">
<listobject:argument name="assetid" value='<%=ics.GetVar("assetid")%>'/>
<listobject:argument name="assettype" value='<%=ics.GetVar("assetype")%>'/>
</listobject:addrow>
<listobject:tolist name="listobject" listvarname="assetlist" />



