Folders item data


is it possible to get userdata by index? I need a foreach-function to get name and id of all items in folder. Order is equal.


var attr_value = folders.getItemDataObject(INDEX).getAttribute(attr_name);

thanks a lot


unfortunately there is no way to get userdata by index. But you can try to use the following method to organize foreach-function by ids:

var items = folders._idpullCol;

for(var id in items){

var attr_value = folders.getItemDataObject(id).getAttribute(attr_name);

/some code here/