Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

Do folder IDs and task IDs have separate namespaces?



AuthorMessage
CarlSheppard

Posted: Jul 27, 2009
Score: 0



In other words, is it possible to have a folder and a task with the same Toodledo ID, for the same user?
Toodledo

Administrator
Posted: Jul 27, 2009
Score: 0



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



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.


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



Toodledo Forums > Developers

Contact Us | Blog | API | Help | Forums Privacy | Terms | Copyright © 2006-2012