|Changing outlet path from within Xpand or Xtend [message #551184]
||Thu, 05 August 2010 10:23
| Jason Barkanic
Registered: November 2009
Is there anyway to change the current outlet path from within Xpand or Xtend?|
I have a Xpand template that is looping on a top level item, and creating a directory for each entry. I want to call an existing template to generate stuff into that directory. The problem is, the existing template is set up to generate into the root of the outlet.
The root of the outlet in this case is the location I'm creating all the directories. I want to change it to the particular directory I want to populate before I call the existing template.
Other options I can think of:
1.) Change the existing template to accept a 'path' parameter. (Which means modifying everywhere it is currently used)
2.) Some multiple pass system where I invoke one workflow to create all the directories, then fire up a new workflow instance for each of the directories (with the outlet set to the particular directory).
Sorry if I missed something obvious in the documentation.
Powered by FUDForum
. Page generated in 0.02623 seconds