Hi,
I want to build a query in dynamic 365 CRM using a web API which gives a result for the attributes those are creatable only.
Currently, I am using a query which expands attributes for the particular entity and gives all attributes in response.
The query is:: EntityDefinitions(LogicalName='account')$select=LogicalName&$expand=Attributes($select=AttributeType,LogicalName,IsValidForCreate).
please help me to find the out the query which gives attributes those value for IsValidForCreate property is 'true'
Thanks,
Ankit
*This post is locked for comments
You can query for attributes on IsValidForCreate using this query.
/EntityDefinitions(LogicalName='account')?$select=LogicalName&$expand=Attributes($select=AttributeType,LogicalName,IsValidForCreate;$filter=IsValidForCreate eq true)
You can find more information on querying metadata here.
Hi Ankit,
Please have a look below article , it may helps you -
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
52
Victor Onyebuchi
6