Hi,
Instead of using enumerateNames() ,we can loop through the 'categoryIds' variable and get category ids.This is the code which will give you all the category ids.
for(int i=0;i<categoryIds.size();i++) System.out.println(categoryIds.toValue(i).toValue("ID"));
Thanks,
Satya
SUPAI SYSTEMS.
Can I retrive all the Category ID existing in system irrespective of any object.
Like we have function=attributes.dump, it gives Name,ID and Type of Category. I need List of just category IDs. available in system, and those can be anywhere no path specified., right?