Skip to Main Content
Status Future consideration
Categories Reports
Created by Guest
Created on Jul 22, 2021

Query AHA metadata on Custom Layouts

We want to report on our business units' compliance using standard custom layouts for Workspaces which we have set up.

Therefore I am trying to extract the AHA metadata underlying the Custom Layouts, and will then match a Workspace custom fields against the standard.

I can view some data on the screen through Custom Layouts which shows me the form field names and that's all, but cannot find anything meeting our needs in custom reports or REST API.

What we need to do is extract the IDs of the fields in each Custom Layout, together with the attributes of those fields: mandatory, defaults, selection list, etc. and tie them back to their parent Workspaces.

  • Attach files
  • Guest
    Reply
    |
    Aug 2, 2021

    Upon subsequent investigation of data in the AHA REST API for PRODUCTS, I see there is a 'screen_definitions' section which seems to give us exactly what we want in the way of customised fields attached to a product.

    Unfortunately it seems there is no API to get the screen_definitions other than going through PRODUCTs and getting all the repeated associations of the same Screen Definitions to multiple products.

    Therefore, I suggest the enhancement request should be modified to request an API for Screen Definitions directly.