Good Morning,
I try to assemble Files Based on an "order XML", the Order XML for example contains 8 Products (Number depends on how many Files have been ordered...) the Assemble-Configurator should now know that he needs wait for 8 Files before he can assemble the job.
Is this somehow possible?
Thank you very much for your help.
Assemble Files with XML
-
- Newbie
- Posts: 19
- Joined: Mon Jun 01, 2015 8:05 am
- Location: Switzerland
Re: Assemble Files with XML
Hi,
I gave this a try but couldn't get the expected results. Have you considered using a script element ?
Loic
I gave this a try but couldn't get the expected results. Have you considered using a script element ?
Loic
Re: Assemble Files with XML
Would you share an example XML file?
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
- andrea mahoney
- Newbie
- Posts: 19
- Joined: Tue Jan 25, 2011 8:53 pm
Re: Assemble Files with XML
First you need to pass the count of Products to the Assembler Number of Files.
In the Assembler start with the Custom Scheme.
Job Identifier is your order. Pull that from the metadata
Number of files is this type of xpath from the metadata count(//ProductItem) - Do this inside a switch calculation as the it is expecting a number.
This will assemble the items of the order and the proper number.
In the Assembler start with the Custom Scheme.
Job Identifier is your order. Pull that from the metadata
Number of files is this type of xpath from the metadata count(//ProductItem) - Do this inside a switch calculation as the it is expecting a number.
This will assemble the items of the order and the proper number.