Skip to main content
Became Hot Network Question
Tweeted twitter.com/StackSalesforce/status/1304978141602091008
edited tags; edited title
Link
identigral
  • 7.8k
  • 34
  • 33
  • 45

Query audit fields on Retrieving CreatedById of a custom metadata typestype

Source Link
Mossi
  • 4k
  • 3
  • 35
  • 65

Query audit fields on custom metadata types

Is it possible to query fields like CreatedById on a custom metadata type record? Evidently not, but apparently I should be able to?!

SELECT CreatedById from MyObject__mdt   

No such column 'CreatedById' on entity 'MyObject__mdt'

We can see the field on the object and strangely it can even be referenced in a validation rule.

enter image description here

enter image description here