Here's another fET fetching datafields as well

<<forEachTiddler where 'tiddler.tags.contains("Books")'
sortBy 'tiddler.fields["title"]'
write
 '(index < 200)? "|"+(index+1)+"|[["+tiddler.title+"]] |
[["+tiddler.data("author")+"]] | [["+tiddler.data("primtopic")+"]] |
[img(3em+,)["+store.getValue(tiddler,"title")+" |"+store.getValue
(tiddler,"image")+"]["+tiddler.title+"]] | [["+tiddler.title+"-note]]
| [["+tiddler.data("wherekept")+"]] |\n" : ""'
              begin '"|sortable|k\n"
+"|>|>|>|>|>|>| !<<wikify [[%0]] ti...@here \>\> |h\n"
+"| # | Titel | [[Author|by author]] | [[Theme|by theme]] | Cover |
Note | <<tag Books \>\> |h\n"'
end 'count+" books\n"' none '"no books \n"'>>

I'm afraid I haven't got any fETs using criterias based upon
datavalues in the "where-call" - I will look a little further..

Regards Måns Mårtensson

On 19 Nov., 12:50, Måns <[email protected]> wrote:
> Hi Allan
>
> You probably know that you have to specify a tag to make fETs work...
> This is one of my fETs collecting emailaddresses from different
> tiddlers.
>
> I'm not sure if you are asking how to use "real fields" - as I do in
> this example - or if you want to fetch data-fields...
> I know I've got a fET (somewhere) fetching datafields as well...
>
> <<forEachTiddler where 'tiddler.tags.contains("entry") &&
> tiddler.fields["email"]'
> sortBy  'tiddler.title.toUpperCase()'
> write
>  '(index < 200)? "|!"+(index+1)+"|[["+tiddler.fields["name"]
> +"|"+tiddler.title +"]]| [["+tiddler.title +"]] |[["+tiddler.fields
> ["email"]+"|mailto:"+tiddler.fields["email"]+";]]  |\n" : ""'
>               begin '"|sortable|k\n"
> +"|>|>|>|>|>| !Send mails |h\n"
> +"|!| !Name | !ITiddlertitle | !Email |h\n"'
> end 'count+" e-mailadresses \n"' none '"no emailaddresses \n"'>>
>
> Regards Måns Mårtensson

--

You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=.


Reply via email to