GetResourceAttributes

Summary

The GetResourceAttributes function will retrieve all your resources based on type and provide a row per resource with the full tree/category.

The values will be determined by the following parameters:

  • Resource Name (Required)

For more detail on the parameters see the full list of descriptions here.

function (ResourceName as text)

Invoking the Function

Here is an example of invoking them using Power Query or through the visual editor.

 GetResourceAttributes("BY")
📘

Note:

You can fill out the function parameters and click _Invoke _to create the table automatically. See example below.

GetResourceAttributes Result

The following field columns will be outputted in a table.



ResourceIdResourceNameTreeTypeAttributeShortNameAttributeNameAttributeValueisEnableddateCreateddateModifiedRow
d29dd582-a921-47b8-aa31-db019af8f255BYCustomers > 1001 > BYCustomersSCSCreatedByCreated Bytest16 testFALSE2025-07-16T15:05:16.6672026-02-23T06:55:59.8331
d29dd582-a921-47b8-aa31-db019af8f255BYCustomers > 1001 > BYCustomersSCSCreatedDateCreated Date7/16/2025 03:05:16 PMFALSE2025-07-16T15:05:16.6672026-02-23T06:55:59.8332
d29dd582-a921-47b8-aa31-db019af8f255BYCustomers > 1001 > BYCustomersSCSNameNameBYFALSE2025-07-16T15:05:16.6672026-02-23T06:55:59.8333
d29dd582-a921-47b8-aa31-db019af8f255BYCustomers > 1001 > BYCustomersSCSAddress1Address 1testFALSE2025-07-16T15:05:16.6672026-02-23T06:55:59.8334
d29dd582-a921-47b8-aa31-db019af8f255BYCustomers > 1001 > BYCustomersSCSAddress2Address 2test4FALSE2025-07-16T15:05:16.6672026-02-23T06:55:59.8335
d29dd582-a921-47b8-aa31-db019af8f255BYCustomers > 1001 > BYCustomersSCSCityCitytest1FALSE2025-07-16T15:05:16.6672026-02-23T06:55:59.8336

#table({
  "ResourceId",
  "ResourceName",
  "Tree",
  "Type",
  "AttributeShortName",
  "AttributeName",
  "AttributeValue",
  "isEnabled",
  "dateCreated",
  "dateModified",
  "Row"
}, {})