Kinook Software Forum

Go Back   Kinook Software Forum > Ultra Recall > [UR] General Discussion

Reply
 
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1  
Old 01-21-2015, 11:52 PM
aaronjsolomon aaronjsolomon is online now
Registered User
 
Join Date: 07-06-2011
Posts: 34
Preserving tree order of template children

Hi,

I have a template that represents a complex list of tasks that must be done in a certain order. Each task on the list is a child of the template. I manually order the tasks (children) in the template, e.g.:

Task list (template)
|- Underwear is the first thing I put on
|- Pants are the second thing I put on
|- Shoes are the third thing I put on

However, when I create a new instance of the item from the template, the tree order is not preserved. Instead, sort order defaults to alphabetical, e.g.:

Task list (item created from template)
|- Pants are the second thing I put on
|- Shoes are the third thing I put on
|- Underwear is the first thing I put on

Just wondering if there was any way to keep the template's tree order preserved in the item created from it, rather than revert to alphabetical. I could number the items, but there are actually many children and it's very convenient to re-order them on the fly in the template, as the list gets refined.

As always, thanks!
Aaron
Reply With Quote
  #2  
Old 01-22-2015, 07:54 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
That works as expected in my tests -- see this screen recording. Does this problem also occur in a new database? Please send the info from http://www.kinook.com/Forum/showthread.php?t=3038
Reply With Quote
  #3  
Old 01-23-2015, 09:11 AM
aaronjsolomon aaronjsolomon is online now
Registered User
 
Join Date: 07-06-2011
Posts: 34
Hi,

Thank you for responding, I appreciate it.

In preparing to respond to you, I figured it out. The issue arises if one of the sorted children in the template is a linked item. (E.g., if in the previous example, there was a fourth list item called "Shirt is the fourth thing I put on", but instead of being a standalone item, it was linked to an item outside the templates folder.)

I see that the "Link Here" option is disabled in the right-click menu, when dragging-and-dropping an item to the templates folder. I work around this by first creating the linked item elsewhere, and then moving it to the templates folder.

Linked items are somewhat useful in templates, because the "to-do list" template I described previously includes UR items elsewhere in my database. E.g., one of the items might be to review a folder (UR item) of documents, so putting a link in the template task list was a convenient way to navigate to it while performing the checklist.

However, now that I know that I can preserve the children sort order by simply refraining from including linked items in the ordered list, that's easy to do (by creating a simple, non-linked item in the sorted list, and giving it a child linked item or item details hyperlink to the target).

If you consider it a bug that linked items in templates "breaks" tree order, then I'd be interested in that functionality. OTOH, the fact that UR disallows linking items to the template folder by design tells me that this isn't really a bug, but rather a consequence of my little "hack" of getting linked items into the templates folder.

Given all this, I've got a good alternative solutions and this behavior is not stopping me, so please consider my request withdrawn. I know your time is valuable and I really appreciate your responsiveness to my recent questions, and this is definitely not worth burning "political capital" on!

Thanks again, and best regards,
Aaron
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 05:39 PM.


Copyright © 1999-2023 Kinook Software, Inc.