Page 1 of 1

Picking JFD Information

Posted: Wed Jan 06, 2016 6:25 pm
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"

Re: Picking JFD Information

Posted: Wed Jan 06, 2016 7:13 pm
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

Re: Picking JFD Information

Posted: Thu Jan 07, 2016 8:17 pm
by cobra34
It's ok !!

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

thank you very much