
Dear Experts ,
I am trying to retrieve the EntitySetName from its Dispaly name using Webapi call, below is the query i am using which is giving the error.
Query:
Xrm.WebApi.retrieveMultipleRecords("EntityDefinitions", "?$select=DisplayName,EntitySetName&$filter=DisplayName eq Microsoft.Dynamics.CRM.Label'person'").then(
Error.
"The string 'Microsoft.Dynamics.CRM.EntitySetName.LocalizedLabel.Label'person'' is not a valid enumeration type constant.".
CRM Version :- D365 v9.0
any help will me appreciated.
Regards
Looks like this wont work.
"This pattern works with BooleanManagedProperty ComplexType because the primitive value to check is one level deep. However, this does not work on properties of Label ComplexType."