Categories | Question details Back To List | ||
Folders item data Hi, 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. e.g. var attr_value = folders.getItemDataObject(INDEX).getAttribute(attr_name); thanks a lot Answer posted by Alex (support) on Nov 09, 2009 06:06 Hello, 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*/ |