Search found 102 matches
- Tue Nov 18, 2025 5:48 pm
- Forum: Imposition
- Topic: Phoenix 25.11 Mark Issue
- Replies: 7
- Views: 319
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.
- Tue Nov 18, 2025 5:34 pm
- Forum: Imposition
- Topic: Phoenix 25.11 Mark Issue
- Replies: 7
- Views: 319
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 
Have you raised this issue on Esko Support?
Have you raised this issue on Esko Support?
- 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: 792
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?
- Fri Sep 05, 2025 10:45 am
- Forum: Flows
- Topic: Preflight profile and Pitstop server
- Replies: 1
- Views: 6302
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...
- Wed May 14, 2025 2:41 pm
- Forum: Node.js scripting
- Topic: PdfProperties
- Replies: 8
- Views: 33295
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...
- Sat Mar 08, 2025 5:18 pm
- Forum: Flows
- Topic: View PDF file info within submit point
- Replies: 5
- Views: 32958
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...
- Mon Mar 03, 2025 1:34 pm
- Forum: Node.js scripting
- Topic: Force Stop Script
- Replies: 5
- Views: 41985
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...
- Thu Jan 30, 2025 4:21 pm
- Forum: Flows
- Topic: Set private data based on Pitstop Server log
- Replies: 9
- Views: 34457
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...
- Tue Jan 28, 2025 11:16 am
- Forum: Flows
- Topic: Set private data based on Pitstop Server log
- Replies: 9
- Views: 34457
Re: Set private data based on Pitstop Server log
Awesome, glad it works as you wanted
- Mon Jan 27, 2025 4:10 pm
- Forum: Flows
- Topic: Set private data based on Pitstop Server log
- Replies: 9
- Views: 34457
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...
- Mon Jan 27, 2025 1:08 pm
- Forum: Flows
- Topic: Set private data based on Pitstop Server log
- Replies: 9
- Views: 34457
Re: Set private data based on Pitstop Server log
Ended up taking me awhile to figure this one out, but reading the XML data set from a script expression looks like this: async function calculateScriptExpression(s: Switch, flowElement: FlowElement, job: Job): Promise<string> { const datasetPath = await job.getDataset("TestDataset", Access...
- Wed Nov 13, 2024 9:12 pm
- Forum: Node.js scripting
- Topic: undefined is not a function TypeError
- Replies: 11
- Views: 99471
Re: undefined is not a function TypeError
After debugging your script I think I was able to find your issue. The jdf variable you'd defined that queried the parsed xmlData was returning undefined As you can see from the screenshot below when debugging the value of the xmlData variable the properties within it don't contain any "dn:&quo...
- Wed Nov 13, 2024 5:12 pm
- Forum: Node.js scripting
- Topic: undefined is not a function TypeError
- Replies: 11
- Views: 99471
Re: undefined is not a function TypeError
Have you got an example JDF/XML you could provide? That would make it easier to debug what's happening in your script
- Wed Nov 13, 2024 3:44 pm
- Forum: Node.js scripting
- Topic: undefined is not a function TypeError
- Replies: 11
- Views: 99471
Re: undefined is not a function TypeError
The first thing that jumps out to me is the export declaration you've added to the jobArrived method, edit: also I noticed that you removed the s: Switch argument from the method too: export async function jobArrived(flowElement: FlowElement, job: Job) { ... } Remove the export declaration and add ...
- Wed Nov 13, 2024 10:42 am
- Forum: Node.js scripting
- Topic: undefined is not a function TypeError
- Replies: 11
- Views: 99471
Re: undefined is not a function TypeError
The first thing that jumps out to me is the export declaration you've added to the jobArrived method, edit: also I noticed that you removed the s: Switch argument from the method too: export async function jobArrived(flowElement: FlowElement, job: Job) { ... } Remove the export declaration and add t...