Visibility Content Object based on Dynamic Print Format

42 views
Skip to first unread message

Preston

unread,
Nov 12, 2025, 2:18:53 PM11/12/25
to XMPie Interest Group
I couldn't find a GetEnv Functions that allowed me to use visibility content objects based on the type of dynamic print format.

There's the different of proof vs print, but I'm looking for print process as a jpg vs print process as a pdf.

The Job Ticket doesn't seem to allow for it and neither does the GetEnv function.

Has anyone done this before?

Amit Cohen

unread,
Nov 12, 2025, 3:10:29 PM11/12/25
to XMPie Interest Group
If you have uPlan, you can read it directly from the job ticket. See https://campus.xmpie.com/eLearning/XMPie-uPlan-Training/Accessing-JobTicket-parameters-in-uPlan

Preston

unread,
Nov 13, 2025, 11:41:09 AM11/13/25
to XMPie Interest Group
Thanks Amit, I couldn't find the output format in the job ticket.

Screenshot 2025-11-13 at 9.17.14 AM.png
And I couldn't find any documentation about what's else is available in the job ticket besides from the proofset.

Is that anywhere?


Preston

unread,
Nov 13, 2025, 12:30:42 PM11/13/25
to XMPie Interest Group
Figured out the issue!

It kept erroring in uCreate Print because the JS was returning undefined.

We were able to update the function to include error handling and now it's working perfectly.

var hasError = false;
try {
  return XMPie.JobTicket.Output.Format
} catch(err) {
  hasError = true;
} finally {
  return hasError ? "uCreate Build" : XMPie.JobTicket.Output.Format
}

Reply all
Reply to author
Forward
0 new messages