@EricShulman, can you provide some advice as to how to get this code to work or maybe an alternate process.
<$let
parentgunID=<<currentTiddler>>
>
<$list
filter="[<currentTab>caption[Map]]" >
Longitude= {{{ [<currentTab>get<parentgunID>get[Longitude]] }}}
Latitude= {{{ [<currentTab>get<parentgunID>get[Latitude]] }}}
</$list>
What I am trying to do is:
from a tiddler with a unique ID and displaying a tabbed area, click on a tab titled ‘Map’ and from the viewtemplate for the Map tiddler, extract the values of the field, Longitude and Latitude from the parent tiddler so that I can render a map of the location.
The code I provided is the code in the viewtemplate.
The variable, parentgunID, definitely contains the title of the main tiddler cause if I display that variable, the crrect title is displayed.
I know I could just create a tiddler called ‘gunID_Map’ where gunID is the title of the main tiddler, but I am trying to avoid that and just have a single Map tiddler for all gun tiddlers.
This problem was the source of my questions related to Tiddler X Field Y value Z cause my initial idea was to store the main tiddler title in a field and then use it subsequently. But I cant get that to work either.
Hope you can provide a workaround.
You can access a copy of the TW at http://cultconv.neocities.org/ArtilleryRegister/index.html
You should look at the record for the gun RAAHC3. The viewtemplate is $:/TLS/ViewTemplateGun
bobj