Try tiddler.tags instead of tiddler.tag (in both the sortBy and the
write)
cmari


On Aug 4, 7:59 pm, AlanBCohen <alanbco...@gmail.com> wrote:
> Here is a ForEachTiddler macro I'm trying to include in an application
> and it is returning 'undefined' instead of what I expect.  It could be
> a typo on my part, but...
> <<forEachTiddler
>    where 'tiddler.title.contains("2009-08-04") && !
> tiddler.tags.contains("status")'
> sortBy
> 'tiddler.tag+tiddler.title'
> ascending
> write
> '"[["+tiddler.tag+"]]"+tiddler.text+"\n"'
>
>
>
> Each dated-time stamped tiddler is tagged with the WorkUnitID.  I'm
> trying to collect all tiddlers for a day for a status report.  So, I
> want the tag(WorkUnitID), followed by the text.  The macro is properly
> returning the text, but is returning 'undefined' (as a missing tiddler
> link) instead.  BTW, the WorkUnitID is not only a tag, but is also a
> tiddler with a ForEachTiddler macro displaying the tiddler.title and
> text in the same way.  And that macro is returning the data correctly
> (It displays all the tiddler.text for a WorkUnitID in datetime order
> with links to each individual tiddler).
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to