Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com)
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi
Tinderbox Users >> Questions and Answers >> Path to a note...
http://www.eastgate.com/Tinderbox/forum//YaBB.cgi?num=1186517047

Message started by rtalexander on Aug 7th, 2007, 4:04pm

Title: Path to a note...
Post by rtalexander on Aug 7th, 2007, 4:04pm

Is there someway in an action to get the complete path of a note? That is, if a note A is in a container B, and B is in a container C, then the path to A is "/C/B/A". Is there anyway to easily get this?

Thanks,

Roger.

Title: Re: Path to a note...
Post by Mark Bernstein on Aug 7th, 2007, 4:13pm

You can build this fairly easily with an OnAdd action or a rule.  For a rule, something like:

    Path |= $Path(parent)+"/"+$Name;

might work

The markup element ^path uses file names rather than note names, but might do what you need as well.

Title: Re: Path to a note...
Post by Rosemary on Aug 8th, 2007, 10:44am

There is a new page on the wiki - ContextPersistance (http://www.eastgate.com/wiki2/wiki.cgi?ContextPersistance) that describes a strategy for capturing paths in a user attribute.  It assumes a relatively stable information structure rather than a volatile brainstorming structure, but might be what you are looking for.

Hope this helps,

Rosemary

Tinderbox User-to-User Forum (for formal tech support please email: info@eastgate.com) » Powered by YaBB 2.2.1!
YaBB © 2000-2008. All Rights Reserved.