English > Support

Passing / Swapping values in export - How?

(1/1)

Banta67:
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

nostra:
Sorry, but you can't do this in this version of the plugin

Navigation

[0] Message Index

Go to full version