Posted by: Banta67
« on: February 23, 2010, 03:42:09 pm »
Hello,
I am trying to figure out how to pass values in an export.
Example:
I am exporting an xml template of a single record. Popeye Season 1, which contains several episodes.
I can use this in my export template...
{%value=episodes template="pages\episode.ptm" grouptemplate="pages\season.ptm"}
And I get the list of Seasons, episodes and episode titles.
Now, suppose I wanted to pass
{%value=poster}
into a node in the episode.ptm
<myPoster>{%param=???}</myPoster>
Things that dont work are:
<myPoster>{%param=poster}</myPoster>
<myPoster>{%value=poster}</myPoster>
Basically I just want to pass any value from the main record, to a spot in the episode.ptm
I was thinking something like this in my main export template shoule work...
%OPTIONS%
replace="{%param=poster}<->{%value=poster}"
%OPTIONS%
But, that isn't working. Any ideas how I can pass a parameter to the other parts of the export?
Thanks
Banta67