i'm starting to get into exploring stuf like 'get.store.Tiddler' and
-- copying Eric-- putting them into Inline scripts.
Is there a list of all where all the 'stuff in the store' which i can
get?
I'm currently trying to get custom fields from the store.
I've seen the fET example on the wiki [1]
I want to write the field value
I just need some pointers. I have the script below. I aim to extract
the values from the fied 'primary'. Each tiddler tagged 'Q' has a
'primary' value, each of which has the tag 'ARC'. I figure the Erics
patern below is way to go for getting stuff, puting them in an array
then outputting the array after the loop
I'm stuck! (Perhaps its time for a glass of water)
Alex
-----------
<script>
var out = []
var tids=store.getTaggedTiddlers('Q');
for (var i=0; i<tids.length; i++) {
var d='[['+tids[i].title+']]';
out.push(d);
}
return out.join('\n');
</script>
-----------
--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---