ForumsDevelopersDo folder IDs and task IDs have separate namespaces?


Do folder IDs and task IDs have separate namespaces?
Author Message
CarlSheppard

Posted: Jul 27, 2009
Score: 0 Reference
In other words, is it possible to have a folder and a task with the same Toodledo ID, for the same user?
Jake

Toodledo Founder
Posted: Jul 27, 2009
Score: 0 Reference
folder ids and task ids are totally separate. There can be a folder and an unreleated task with the same number.
CarlSheppard

Posted: Jul 28, 2009
Score: 0 Reference
Thanks. Since in my program I treat folders as just top-level tasks, when I do a query of my local database for tasks with a specific toodledoID, it might return more than one. So I'll just have to do a more complex query based on task parent, or otherwise create another toodledo ID field in my task table for folders.. no big deal though.
You cannot reply yet

U Back to topic home

R Post a reply

To participate in these forums, you must be signed in.