This guide will walk you through the steps to identify the specific item IDs within your Inspection/Template which can be used as part of a bespoke/custom integration or with Microsoft Flow to populate a Spreadsheet or a SQL database.

  • Item_ID: An Item ID is a unique identifier for any field within your inspection or template.
  • Response_ID: You can also follow these steps to retrieve a response ID (for example, Yes/No/NA).

We will show you how to inspect the template content in the Google Chrome web browser using the “Preview” feature within the Template Editor in iAuditor. A similar approach works for any type of web browser. Specifically,  using Google Chrome’s Developer Tools to find the Item ID of a specific question within a Template along with the corresponding response ID.

IMPORTANT NOTE

There are different ways of finding Item IDs. In general, you can retrieve the Inspection content of an Inspection conducted against a template of interest using a REST API client like ours here and inspect the content for item IDs in a text editor. We will cover this method in another guide soon.

 

Locate the Item_id

  1. Log into your iAuditor Account on the web so we can locate the relevant Templates/Inspections
  2. Once you are in the template editor you will see the Preview on the right hand side.
  3. Locate the question you are looking to find the Item ID for.
  4.  To find the Item ID, right-click on the field and select “Inspect” as shown below:

  5. Chrome Developer Tools will open and present you with the code (HTML/CSS) from the Web Page.
  6. You can use this to begin selecting specific items on the page either by hovering over/clicking parts of the HTML within the Elements tab:

  7. Here we’ve located the “Is the car clean?” question; we can see the corresponding item ID just above the question text (item-960c98c3-74f2-458f-b121-edb818b8aede) and displayed on the Web Page itself shown in the screenshot below.

  8. Double click the entry for the Item ID within the Elements view to be able to copy and paste the contents.
  9. The iAuditor API and MS Flow require you to remove the “item-” prefix. You’ll only need the number reference as shown below:
  10. 082031C0-FB21-48DC-A6AB-726FF95050CB-7986-00000C4B1C43FC73
  11. The same steps can be applied to locate a specific response ID. In the below example, we’ve discovered the “Yes” response from the Elements Tab (and highlighted in the preview mode) as shown below:

  12. You can now use the same steps to discover any Items or Responses from within your Inspection! To see the results of this being used in conjunction with MS Flow, take a look at our “Exporting your Item & Response Data to an Excel 365 Table” guide.
Was this article helpful?

We love your feedback. Please tell us what you think.


Yes No
Care to share a bit more so we can continue to make improvements for you? Care to share a bit more so we can make this article even better for you? Thanks for your feedback!