Opqo provides a number of general configuration options for inspections.  


To configure the inspections general options, add configuration to the general section of the STAUTOSCRIPT.STAMCONFIG automation script in the Maximo environment.


appConfig = {
  "general": {
    ...
    "inspections": {
      "allowNameplateScanning": false,
      "showFieldCompletionDetailsByDefault": false
    }
  }
}


The above shows the default configuration.  The options within are explained in the following sections.



Nameplate scanning


Opqo includes the ability to perform "nameplate scanning" for asset collection inspections.  This provides a mechanism for performing text recognition on an image to populate inspection fields.


Opqo 23.09.0 adds the ability to enable this function on regular inspections, for the cases where this functionality is useful.


The following enables nameplate scanning globally for all inspections:

appConfig = {
  "general": {
    ...
    "inspections": {
      "allowNameplateScanning": true,
    }
  }
}


It is also possible to selectively enable nameplate scanning on regular inspections, by setting the allowNameplateScanning property with a list of string values.  Inspections will be checked for a matching value as follows, and nameplate scanning will be enabled if a match is found:


  • ORGID
  • SITEID
  • FORMNUM
  • ORGID:FORMNUM
  • SITEID:FORMNUM


For example, to enable nameplate scanning for all inspections at the BEDFORD and NASHUA sites:

appConfig = {
  "general": {
    ...
    "inspections": {
      "allowNameplateScanning": ['BEDFORD', 'NASHUA'],
    }
  }
}



To enable nameplate scanning for forms 1001, 1002 and 1003 at the BEDFORD site:

appConfig = {
  "general": {
    ...
    "inspections": {
      "allowNameplateScanning": ['BEDFORD:1001', 'BEDFORD:1002', 'BEDFORD:1003'],
    }
  }
}



Default display of field completion details


Opqo 24.05.0 adds the ability to display the field completion details when performing an inspection.  This is useful when completion of an inspection may be a longer activity, involving multiple parties.


By default, display of field completion details is turned off, and can be manually shown/hidden by the user via an option within the inspection overview when performing the inspection.  The default state can be changed via configuration.


Note: This configuration only changes the default state for displaying field completion details.  The user can always toggle the display within the inspection overview when performing an inspection.


The following enables the display of field completion details by default, for all inspections:

appConfig = {
  "general": {
    ...
    "inspections": {
      "showFieldCompletionDetailsByDefault": true
    }
  }
}


It is also possible to selectively enable nameplate scanning on regular inspections, by setting the showFieldCompletionDetailsByDefault property with a list of string values.  Inspections will be checked for a matching value as follows, and field completion details will be enabled by default if a match is found:


  • ORGID
  • SITEID
  • FORMNUM
  • ORGID:FORMNUM
  • SITEID:FORMNUM


For example, to enable display of field completion details by default for all inspections at the BEDFORD and NASHUA sites:

appConfig = {
  "general": {
    ...
    "inspections": {
      "showFieldCompletionDetailsByDefault": ['BEDFORD', 'NASHUA'],
    }
  }
}


To enable display of field completion details by default for forms 1001, 1002 and 1003 at the BEDFORD site:

appConfig = {
  "general": {
    ...
    "inspections": {
      "showFieldCompletionDetailsByDefault": ['BEDFORD:1001', 'BEDFORD:1002', 'BEDFORD:1003'],
    }
  }
}



Note: For more information on Opqo configuration and the role and contents of the STAUTOSCRIPT.STAMCONFIG script, see the Configuration Overview article.



If you have questions please do not hesitate to contact us or create a support ticket for more assistance.