Picking JFD Information

Post Reply
cobra34
Newbie
Posts: 2
Joined: Wed Jan 06, 2016 6:03 pm

Picking JFD Information

Post by cobra34 »

Hello, i'm a newbie, :D

i want pick data in JDF file to create folder on based on informations who are on my JDF.
But when a use the flow exemple "Sort job based on JDF metadata" to pick up data
in "XPath to sort field"
I put my XPath : "/JDF/@ID" for exemples
but in message : JDF information for '/JDF/@ID' was not found for this job
while in my jdf file , the information is good at this place, I do not understand where is the error.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<JDF DescriptiveName="1600001_00 - 12+4"
  HDM:ReturnJMF="http://192.168.3.7:8282/JDF/"
  ICSVersions="Base_L2-1.3 MIS_L3-1.3 JMF_L2-1.3"
  ID="n_160104_075841416_048524" JobID="1600001_00" JobPartID="12+4"
User avatar
gabrielp
Advanced member
Posts: 577
Joined: Fri Aug 08, 2014 4:31 pm
Location: Boston
Contact:

Re: Picking JFD Information

Post by gabrielp »

Test that xpath in the build location path utility within the metadata in Switch. You can see if that xpath returns a value or not.

Image
Chat: open-automation @ gitter
Code: open-automation & dominickp @ GitHub
Tools: Switch, Pitstop, EPMS, Veracore, PageDNA, SmartStream, Metrix
cobra34
Newbie
Posts: 2
Joined: Wed Jan 06, 2016 6:03 pm

Re: Picking JFD Information

Post by cobra34 »

It's ok !!

correct xpath pour switch : /*/....
and my original xpath is /JDF/.. (official Xpath for JDF)

thank you very much
Post Reply