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

Post Reply
Ulrik
Member
Posts: 21
Joined: Wed Dec 05, 2018 7:53 pm

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

Post 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
Padawan
Advanced member
Posts: 358
Joined: Mon Jun 12, 2017 8:48 pm
Location: Belgium
Contact:

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

Post 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
Ulrik
Member
Posts: 21
Joined: Wed Dec 05, 2018 7:53 pm

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

Post by Ulrik »

Ahh.. of course thanks :D
Post Reply