I am having a problem whereby when I extract the template name for the 'imposition template' field from my metadata using the single line text with variable defined. I get the following error.
Dynamic property 'impositionTemplate' has invalid value 'A4_2up_2pp_YPS'
When I enter the value 'A4_2up_2pp_YPS' as an inline value in the imposition template field, no error occurs.
Unfortunately I need to import the information from the metadata using single line text with variable defined, as the imposition field name changes for each product. I am having the same problem with the 'bannerSubstrate'
Dynamic property 'bannerSubstrate' has invalid value '200gsm gloss 320x460 house'
this is also pulled from the metadata using single line text with variables defined.
Any help gratefully appreciated.
HP Digital Front End JDF Control Configurator
Re: HP Digital Front End JDF Control Configurator
Got the same problem, I got in contact with the configurator developer and this was his response. I have been using this since June 2015 and haven't seen any issues.
I did some testing with the BannerSubstrate too and encountered the same problem, however I've not looked into it yet.
"I still think this is an Enfocus defect, but try this…
1. Add a Script element immediately after your JDF Configurator element.
2. Select the attached script on this email
3. Edit the properties of the script element and under the property “ImpositionTemplate” enter your variable data that you had in the configurator.
4. Change the configurator so that the imposition template value is set to some static value (doesn’t matter what, it will be overwritten by the script)."
Script:
I did some testing with the BannerSubstrate too and encountered the same problem, however I've not looked into it yet.
"I still think this is an Enfocus defect, but try this…
1. Add a Script element immediately after your JDF Configurator element.
2. Select the attached script on this email
3. Edit the properties of the script element and under the property “ImpositionTemplate” enter your variable data that you had in the configurator.
4. Change the configurator so that the imposition template value is set to some static value (doesn’t matter what, it will be overwritten by the script)."
Script:
Code: Select all
// Is invoked each time a new job arrives in one of the input folders for the flow element.
// The newly arrived job is passed as the second parameter.
function jobArrived( s : Switch, job : Job )
{
var jdfDoc = new Document(job.getPath());
var jdfNS = jdfDoc.createDefaultMap();
var jdfLoc = job.createPathWithName(job.getName());
var fileSpec = jdfDoc.evalToNode("//jdf:JDF/jdf:ResourcePool/jdf:LayoutPreparationParams/jdf:ExternalImpositionTemplate/jdf:FileSpec", jdfNS);
if (fileSpec != null) {
var urlVal = "urn:" + s.getPropertyValue("ImpositionTemplate");
s.log(-1, "Adding URL attribute to ExtneralImpositionTemplate/FileSpec element with value of: \"" + urlVal + "\"");
fileSpec.addAttribute("URL", jdfNS, urlVal);
}
jdfDoc.save(jdfLoc);
job.sendToSingle(jdfLoc);
}
Last edited by sander on Thu Jan 28, 2016 3:10 pm, edited 1 time in total.
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
Re: HP Digital Front End JDF Control Configurator
Hi Sander
Thank you i will give this a go.
Many Thanks
Dave
Thank you i will give this a go.
Many Thanks
Dave
Re: HP Digital Front End JDF Control Configurator
I also had this issue and was also given that script which worked for me.
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
Re: HP Digital Front End JDF Control Configurator
Hi Both
I don't know if you can help but i now get the following message at the new script.
28/01/2016 14:49:27,Error,SwitchScript0,ECP Impo,SwitchScript0,005N8,DO-ECP-00046204 - ECP Fancy A Nibble Flyer - High Wycombe.pdf.mjm,Invalid XML document: C:/Users/david/AppData/Roaming/Enfocus/Switch Server/backing/ECP Impo/automanaged/Folder 4/_005N8_DO-ECP-00046204 - ECP Fancy A Nibble Flyer - High Wycombe.pdf.mm
Appreciate any help.
Many Thanks
Dave
I don't know if you can help but i now get the following message at the new script.
28/01/2016 14:49:27,Error,SwitchScript0,ECP Impo,SwitchScript0,005N8,DO-ECP-00046204 - ECP Fancy A Nibble Flyer - High Wycombe.pdf.mjm,Invalid XML document: C:/Users/david/AppData/Roaming/Enfocus/Switch Server/backing/ECP Impo/automanaged/Folder 4/_005N8_DO-ECP-00046204 - ECP Fancy A Nibble Flyer - High Wycombe.pdf.mm
Appreciate any help.
Many Thanks
Dave
Re: HP Digital Front End JDF Control Configurator
The script expects a JDF ticket as input, your seems to be a mime package?
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
Re: HP Digital Front End JDF Control Configurator
ah yes it is. Do you know if there is a work around for a mime package?
Re: HP Digital Front End JDF Control Configurator
Thank you all for your help i have now sorted this.
Re: HP Digital Front End JDF Control Configurator
With the mime package? I'm interested how, not using it but still..
Part of my playground:
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter
- HP Indigo 10k, HP Indigo 7600's (full options), Highcon Euclid III, Zünd S3
- HP Production Pro 6.0.1, HP Production Center 2.5.1 beta, Apogee 9.1, Enfocus Switch 13u1 & PitStop Server 13u2.
Chat: open-automation @ gitter