It the PreflightReportItem ActionID unique?

Post Reply
nmichael
Newbie
Posts: 10
Joined: Wed Oct 28, 2015 9:37 pm

It the PreflightReportItem ActionID unique?

Post by nmichael »

Hello everyone,

we are trying to extract all kinds of information from the preflight reports for better visibility for our staff within our MIS.
Related to that, I realized, that the ActionID seems to be a unique identifier for a specific info/error/warning.
Is anybody able to confirm this?

Best Regards
Nico

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<EnfocusReport version="3.0" unit="mm" xml:lang="de-DE">
  <PreflightReport errors="1" criticalfailures="0" noncriticalfailures="0" signoffs="0" fixes="0" warnings="0">
    <Errors>
      <PreflightReportItem ActionID="2079">
        <Message>Spotcolor is missing</Message>
        <StringContext>
          <BaseString>Spotcolor is missing</BaseString>
        </StringContext>
      </PreflightReportItem>
freddyp
Advanced member
Posts: 1031
Joined: Thu Feb 09, 2012 3:53 pm

Re: It the PreflightReportItem ActionID unique?

Post by freddyp »

I can confirm that, but it comes with a warning: an ActionID is not guaranteed not to change in a future version. However, they rarely change so in practice it is OK to use them.
nmichael
Newbie
Posts: 10
Joined: Wed Oct 28, 2015 9:37 pm

Re: It the PreflightReportItem ActionID unique?

Post by nmichael »

Thank you. That helps a lot!
loicaigon
Advanced member
Posts: 396
Joined: Wed Jul 10, 2013 10:22 am

Re: It the PreflightReportItem ActionID unique?

Post by loicaigon »

To confirm Freddy's statement, it's very unlikely that those ID evolve in the future but what could change is the way we expose those IDs. That you never know and this is why you should remain careful when taking advantage of undocumented properties.

Loic
Post Reply