Filter on XML Error

Post Reply
KaesDS
Newbie
Posts: 2
Joined: Thu Sep 22, 2016 10:33 am

Filter on XML Error

Post by KaesDS »

Hey guys,

I'm working on a quite simple flow to sort pdf files with the help of metadata attached to it.
The XML pickup part is working fine, but the filter causes an error. :cry:
Fehler in Zeile 29 des Skripts Metadata.Text: TypeError. 'evalToString' undefined or not a function
The german part means "Error in line 29 of the metadata script". I'm pretty sure that my filters (XPATHs) are right. :cry: :?
Also already tried it with different types of data. (INTEGER, TEXT, Boolean) Error remains the same. :?:

Two screenshots of my flow attached.

Image

Image

We are using Switch 11 and maybe there is some kind of bug in the metadata-module?
Or is this error caused by the guy infront of the screen? :lol:

Thanks in advance! ;)

Greetings

Kristoffer
lombert
Member
Posts: 166
Joined: Fri Feb 04, 2011 2:31 pm
Location: Sweden

Re: Filter on XML Error

Post by lombert »

The line should look like this;

Code: Select all

[Metadata.Text:Path="/order/template",Dataset="Check_Input",Model="XML"]
There "Check_Input" is the line you get from XMP-pickup's 'Dataset name'.

Image

Then I do this I set two folders after XML-pickup and sets the connection between the folders on hold, then you can see the "job" that you want to pickup meta data from in the window.

Image

Image
Between jobs!
KaesDS
Newbie
Posts: 2
Joined: Thu Sep 22, 2016 10:33 am

Re: Filter on XML Error

Post by KaesDS »

Thank you lombert, it's working now! :D

Especially the hold "trick" was perfect!
Post Reply