Who created the Lightning Web Component?
To get CreatedBy
, CreatedDate
, LastModifiedDate
fields values of your LWC bundle you can perform Tooling API request of the LightningComponentBundle
Also, you can use your Developer Console
, and perform SOQL query with Tooling API
:
SELECT Id, DeveloperName, CreatedBy.Name, CreatedDate, LastModifiedDate
FROM LightningComponentBundle
/* Optional filters */
Only Aura components are exposed for querying by SOQL but LWC components are not exposed for querying (But can query from tooling API - shown in answer by @OlehBerehovskyi). However, you find both Aura and LWC in Setup > Quick find > Lightning Components
.
Notice the Type column which gives info of Aura/LWC. Also you can get CreatedBy, CreatedDate and the LastModifiedDate of a LWC