1

I know we can Query AuraDefinitionBundle with the tooling api and retrieve some fields, but one that is not included is Last Modified Date. How would one retrieve that information for all AuraDefinitionBundle records? I am documenting all of our AuraDefinitionBundle records and that would be really nice to have to see when it was last modified and pull that info into a CSV file. Any insight would be helpful!

4
  • Should you not base such info on your version control system's information?
    – Phil W
    Commented Aug 19, 2020 at 6:16
  • if we had one i likely would be and wouldn't be doing this project. Not my call
    – Bobbygllh
    Commented Aug 19, 2020 at 12:08
  • Ouch! That's a project waiting for disaster then...
    – Phil W
    Commented Aug 19, 2020 at 12:17
  • tell me about it, i jumped on the project a few months ago and have been dealing with the ramifications of not having one since
    – Bobbygllh
    Commented Aug 19, 2020 at 12:19

1 Answer 1

2

You can get this field when you query through the Tooling API

/services/data/v49.0/tooling/query/?q=SELECT+id,LastModifiedDate+FROM+AuraDefinitionBundle

enter image description here

You can also just use SOQL to get the same Last Modified Date field.

SELECT Id,LastModifiedDate,DeveloperName FROM AuraDefinitionBundle

enter image description here

Another option is to use specific ID of an AuraDefinitionBundle through the Tooling API as well

/services/data/v48.0/tooling/sobjects/AuraDefinitionBundle/Id here

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .