asked on March 19, 2014
I am trying to Query repository for the names of the fields associated with a particular template, say 'General'. Using RA, this is not working, any ideas??
Dim MyTemplateInfo as TemplateInfo=Template.GetInfo("General",session)
do until i=MyTemplateInfo.FieldCount
MyVar=MyTemplateInfo.Item(i).Name
'More code here..
i+=1
loop
But I get this error message...
Index was out of range.Must be non-negative and less that the size of the collection..
0
0