TiddlyWiki is making my brain hurt. I'm following the white rabbit down the 
relevant hole and I can't handle the meta. 

So - I'm an amateur coder - so do bear with me - this aint my day job. It's 
taking some adjustment - even to using the online documentation! 

I'm using TiddlyMap. Here's how it looks:

[image: map3.png]

Any tiddlers made by tiddlymap have a couple of extra fields, tmap.edges 
and tmap.id:


[image: map4.png]

Now, tmap.edges appears to contain sub-fields within it. TestUserTask 
tmap.edges full value is (verbatim):


{"49655fa4-e3ff-4ef8-a776-d9c915b372ca":{"to":"087aa75e-ec77-4cd2-a774-c41c0ee52382","type":"SubTaskOf"}}


What I am trying to do is write a filter to do the following:


   1. Identify all tiddlers that have a value in "tmap.edges" (thus no 
   nulls) and also those where "type" = a specific value (in this instance 
   equalling "SubTaskOf")
   2. I'd also like to know how to display any other data from these arrays 
   within a field (for example in this instance, sharing the 1st and second 
   values in the return from tmap.edges)

Closest I've got so far is successfully filtering by another field value 
(in this case, tmap.id due to not knowing how to access the sub-field):

<$list filter="[field:tmap.id[2441c2d3-1b64-4edc-83cd-4f05b91daab3]]">

{{!!title}} :
{{!!tmap.edges}}
</$list>

Produces:

TestUserTask 
<file:///S:/TiddlyWiki/Experiments/Test%20Sites/test4.html#TestUserTask> : 
{"49655fa4-e3ff-4ef8-a776-d9c915b372ca":{"to":"087aa75e-ec77-4cd2-a774-c41c0ee52382","type":"
SubTaskOf 
<file:///S:/TiddlyWiki/Experiments/Test%20Sites/test4.html#SubTaskOf>"}}

Whilst this is displaying all of the values of tmap.edges, it's just 
displaying the full string, not the component fields. 

I'd appreciate any help. I'm slowly getting that what you get with 
TiddlyWiki is an incredibly powerful knowledge framework. However, it's 
one's responsibility to form it into the functionality you want (in my 
instance a software development planning tool). 

Steve








 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/fb6411ba-b52f-4999-a306-2d8e3ddf2903%40googlegroups.com.

Reply via email to