Page 1 of 1

It the PreflightReportItem ActionID unique?

Posted: Wed May 08, 2024 7:40 am
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>

Re: It the PreflightReportItem ActionID unique?

Posted: Wed May 08, 2024 8:09 am
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.

Re: It the PreflightReportItem ActionID unique?

Posted: Wed May 08, 2024 9:35 am
by nmichael
Thank you. That helps a lot!

Re: It the PreflightReportItem ActionID unique?

Posted: Sat May 11, 2024 10:22 am
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