Asset path

Post Reply
abonsey
Member
Posts: 98
Joined: Fri May 24, 2013 5:10 pm

Asset path

Post by abonsey »

I have an XML pickup that is looking for an asset.

First of all I tried point at the asset path that contained XML data of the PDF name. This failed stating it failed to find the asset.

I then tried just entering a static path to the asset required. This resulted in the same error about the asset not being found.

If I use the path manually in an explorer window it all works OK.

The asset is stored in the same location as Hotfolders for Pitstop so I know the access privileges are OK.



Anybody seen anything like this. Any ideas?
freddyp
Advanced member
Posts: 413
Joined: Thu Feb 09, 2012 3:53 pm

Asset path

Post by freddyp »

How did you configure this exactly? You have to set the XML pickup mode to "Metadata refers to asset". You then define the XPath to the file reference from the Metadata variable group. The reason you have to do it like this, is because the XML pickup will add the XML as a dataset to itself (like for "Metadata is asset") before searching the file reference in the metadata.



Works for me, both on Windows and OS X. If you do not have a complete path, you can build a combination of a fixed string pointing to the folder and a variable part for the file name.



Freddy
abonsey
Member
Posts: 98
Joined: Fri May 24, 2013 5:10 pm

Asset path

Post by abonsey »

Hi,

I did try that... with a combination of fixed path and the XML data ie metadata refers to asset, but it fails regardless of where I put the asset!
freddyp
Advanced member
Posts: 413
Joined: Thu Feb 09, 2012 3:53 pm

Asset path

Post by freddyp »

What is your exact single-line text with variable and what is the line in the XML your XPath is referring to?



Freddy
Post Reply