Hi,
I am using the "RetrieveAllEntitiesRequest" method of CRM 2013 metadata web service to get the list of Entities in Dynamics CRM. Now, whenever I execute the method something like this, I am getting a huge list of entities :
RetrieveAllEntitiesRequest request = new RetrieveAllEntitiesRequest() { EntityFilters = EntityFilters.All, RetrieveAsIfPublished = true }; RetrieveAllEntitiesResponse response = (RetrieveAllEntitiesResponse)orgService.Execute(request);
What I want to do is retrieve only the entities that can actually be created, modified, deleted, have their state changed, etc. meaning basically all entities that we can interact with. The above code returns all the entities, even the internal ones like plugin steps, and internal stuff that CRM uses. I want to exclude these internal stuff.
I tried with all types of EntityFilters like Entity, All, Attributes, Privileges, Relationships, etc. but I didn't find anything substantial like maybe a field "CanBeCreated" or "CanBeModified" etc. that says the entity is possible to be interacted with.
Please could someone help me with this? I end up getting around 300 entities in Vanilla CRM even when I don't need them.