Author Topic: Passing / Swapping values in export - How?  (Read 4239 times)

0 Members and 1 Guest are viewing this topic.

Offline Banta67

  • Member
  • *
  • Posts: 13
    • View Profile
Passing / Swapping values in export - How?
« 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

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Passing / Swapping values in export - How?
« Reply #1 on: February 24, 2010, 01:37:35 am »
Sorry, but you can't do this in this version of the plugin
Gentlemen, you can’t fight in here! This is the War Room!