Page 1 of 1

PitStop Preflight check in Switch with Single-line text with variables defined

Posted: Thu May 09, 2019 11:56 am
by Ulrik
Hi,
I have 3 PreFlight checks to check each country: DK, SE, NO
How can I use: (Properties - Preflight Profile) Single-line text with variables defined

I tested with: C:\Users\bsdadmin\AppData\Roaming\Enfocus Prefs Folder\PDF Profiles\[Metadata.Text:Path="/ElvisInput/Publication_code",Dataset="Advert",Model="XML",Segment="1-2"]
Here I find Preflight check DK or SE, NO Which is good.

But I receive errors from Switch.
Dynamic property 'PDFprofile' has invalid value 'C:\Users\bsdadmin\AppData\Roaming\Enfocus Prefs Folder\PDF Profiles\DK'

How do I make one Single-line text with variables defined so pitstop understands where to get the Preflight Profile DK or SE, NO?

Regards Ulrik

Re: PitStop Preflight check in Switch with Single-line text with variables defined

Posted: Thu May 09, 2019 12:47 pm
by Padawan
Using variables you can supply the preflight profile in two ways:
- Full path, including extension
- Just the name of the profile, without the extension (as displayed in the UI)

You are supplying the path to the preflight profile, but not including the extension. If you use the following, then it should work:
I tested with: C:\Users\bsdadmin\AppData\Roaming\Enfocus Prefs Folder\PDF Profiles\[Metadata.Text:Path="/ElvisInput/Publication_code",Dataset="Advert",Model="XML",Segment="1-2"].ppp

Re: PitStop Preflight check in Switch with Single-line text with variables defined

Posted: Thu May 09, 2019 2:30 pm
by Ulrik
Ahh.. of course thanks :D