Occasionally, I need (or want – depending on your preference) a list of all the attributes (basic CRM metadata) in a Dynamics CRM organization. While there are several ways, including some great document generators, that will get such a list for you, SQL is always an option. If you are on-premises, or working in a developer VM, you can run this query against a CRM organization database to get the basic details. It can also be used as a starter for more complicated metadata query requirements.
SELECT en.LogicalName
, en.ObjectTypeCode
, att.LogicalName
, typ.Description
, typ.XmlType
FROM MetadataSchema.Entity en
JOIN MetadataSchema.Attribute att on en.EntityId = att.EntityId
JOIN MetadataSchema.AttributeTypes typ on att.AttributeTypeId = typ.AttributeTypeId
ORDER BY en.LogicalName
, att.LogicalName
I'm not 100% certain I love this article. I made myself write it in less…
I had a little fun a few days ago having AI do some forecasting for…
Can AI Chatbots predict DC snow weather? I decided to try it out by letting…
History is far less useful than many assume. It creates the illusion of predictability only…
I'm not a fan of traditional New Years Resolutions, as I wrote about here, but…
Why LLM's will always make mistakes and we shouldn't call them hallucinations I saw a…