Search found 107 matches

by mkayyyy
Fri May 08, 2026 9:31 am
Forum: Switch
Topic: How to stop a flow if file does not exist
Replies: 5
Views: 9686

Re: How to stop a flow if file does not exist

If you're wanting to stop the flow like you do in the Switch Designer, you could use the Switch Web Services REST API: https://cdn-www.enfocus.com/manuals/Dev ... s-StopFlow
by mkayyyy
Thu May 07, 2026 1:55 pm
Forum: Flows
Topic: How do I verify that PDFs sent to HP DFE hot folder got to the DFE.
Replies: 6
Views: 10300

Re: How do I verify that PDFs sent to HP DFE hot folder got to the DFE.

Have you tried using the free Switch app HP Digital Front End JDF Control instead of hotfolders? We are using the app for feeding files to our HP DFEs with very good results. https://www0.enfocus.com/en/appstore/product/hpdigital-front-end-jdf-control It's easy to setup, tell me if you want som gui...
by mkayyyy
Thu Apr 02, 2026 11:32 am
Forum: Phoenix2Switch
Topic: App version update in the works?
Replies: 1
Views: 8105

Re: App version update in the works?

I opened the pull request for this issue when I found it back in 2022 when I found the issue and wrote the fix. Would be nice to see it merged at last.

Link to the PR for reference: https://github.com/tilialabs/tilia-phoe ... ct/pull/35
by mkayyyy
Fri Feb 27, 2026 12:43 pm
Forum: Flows
Topic: XPATH expression TextIndexed
Replies: 3
Views: 9167

Re: XPATH expression TextIndexed

No worries! Glad I could help
by mkayyyy
Fri Feb 27, 2026 12:26 pm
Forum: Flows
Topic: XPATH expression TextIndexed
Replies: 3
Views: 9167

Re: XPATH expression TextIndexed

Your XPath expression should be this:

Code: Select all

//position[productShippingLocation='luc_inhouse']/product/weight
It was missing quotes around 'luc_inhouse' and /product/weight
by mkayyyy
Tue Nov 18, 2025 5:48 pm
Forum: Imposition
Topic: Phoenix 25.11 Mark Issue
Replies: 7
Views: 36403

Re: Phoenix 25.11 Mark Issue

Awesome, let me know what they come back with. We're fully using Phoenix via the API with some calls to it from Switch. The past few updates have had no issues for us so good to know about this one before upgrading.
by mkayyyy
Tue Nov 18, 2025 5:34 pm
Forum: Imposition
Topic: Phoenix 25.11 Mark Issue
Replies: 7
Views: 36403

Re: Phoenix 25.11 Mark Issue

We've not upgraded to 25.11 yet but I was planning to do it soon, I guess I'll hold off of this for now :lol:

Have you raised this issue on Esko Support?
by mkayyyy
Mon Oct 27, 2025 5:26 pm
Forum: Applications
Topic: Can't figure out why HTTP Request to Odoo doesn't work
Replies: 4
Views: 10396

Re: Can't figure out why HTTP Request to Odoo doesn't work

Have you got an example of the HTTP Request configuration you have in Switch and the Postman request you're making?
by mkayyyy
Fri Sep 05, 2025 10:45 am
Forum: Flows
Topic: Preflight profile and Pitstop server
Replies: 2
Views: 13460

Re: Preflight profile and Pitstop server

Regarding which would be the right choice of Preflight Profile and what the settings do it's probably worth going through the Learn section for PitStop to understand how Preflight Profiles and Action Lists work and what they do: https://www.enfocus.com/en/learn/pitstop And again for Variable Sets th...
by mkayyyy
Wed May 14, 2025 2:41 pm
Forum: Node.js scripting
Topic: PdfProperties
Replies: 8
Views: 46345

Re: PdfProperties

I've just had a debug through the PdfProperties script with a blank PDF I made matching the values of the screenshot and I get the same result as you with the artBox and cropBox values being the same. I don't think this is something you or the script is doing wrong. When I was debugging it looks lik...
by mkayyyy
Sat Mar 08, 2025 5:18 pm
Forum: Flows
Topic: View PDF file info within submit point
Replies: 5
Views: 38673

Re: View PDF file info within submit point

Looking at the Switch Reference Guide regarding Defining metadata fields in Submit Points it states: Using variables: It is possible to use variables to define the default value for your metadata field (Single-line text with variables, Condition with variables). However, most variables (e.g. doc aut...
by mkayyyy
Mon Mar 03, 2025 1:34 pm
Forum: Node.js scripting
Topic: Force Stop Script
Replies: 5
Views: 49442

Re: Force Stop Script

I'd open the Progress pane in the Switch Designer, find the script that is stuck executing in the Progress pane, copy the Process ID and kill it in Resource Monitor (If you're on Windows, unsure on the Mac alternative) which will then let the flow stop https://i.gyazo.com/caa941229ba8a8f1353e5c7c8d7...
by mkayyyy
Thu Jan 30, 2025 4:21 pm
Forum: Flows
Topic: Set private data based on Pitstop Server log
Replies: 9
Views: 42257

Re: Set private data based on Pitstop Server log

Matthew's solution is of course perfect and for the flow design easier than what I will suggest, but here is an approach that does not use scripting for those users that do not have the scripting module. Define two pieces of private data on a folder after having run PitStop using the following XPat...
by mkayyyy
Tue Jan 28, 2025 11:16 am
Forum: Flows
Topic: Set private data based on Pitstop Server log
Replies: 9
Views: 42257

Re: Set private data based on Pitstop Server log

Awesome, glad it works as you wanted
by mkayyyy
Mon Jan 27, 2025 4:10 pm
Forum: Flows
Topic: Set private data based on Pitstop Server log
Replies: 9
Views: 42257

Re: Set private data based on Pitstop Server log

No worries, updating it to look at multiple nodes ends up getting a little bit janky due to the Node.js scripting engine. The scripting engine only supports Xpath expressions evaluating to boolean | number | string | undefined, so I don't think its possibly currently to get all the node values in on...