fake-xrm-easy
fake-xrm-easy copied to clipboard
RetrieveEntityRequest should also implement EntityFilters.All
Hi @jordimontana82,
Do you have planned date as to when this issue will be resolved?
Thanks, Parvez
Hi Parvez,
I've raised this issue as a reminder the EntityFilters.All is not there yet but don't have a date planned right now as I mostly use EntityFilters.Attributes, which returns entity information plus their attributes, to be honest.
Do you need also the privileges or relationships?
Hi @jordimontana82,
It's the relationships I'm mainly interested in right now. I had a look at the code for the Fake RetrieveEntityRequest executor and it looks like it currently supports only the Entity and Attributes values for EntityFilters. I assumed this issue would cover provision of support for all the remaining values for this Enum (ie. Relationships, Privileges and All).
Thanks, Parvez
Ok, yep, privileges and relationships are not there yet. I suppose it could be retrieved from the fake entity metadata (if you are using .InitializeMetadata()), or, I think it's possible to generate the proxy types with information about relationships in crmsvcutil. Not sure about privileges in that case.
Hi @parvezghumra ,
Just reviewing issues that were open for a while.... I checked and the message is still looking at .Entity and .Attributes only, so no implementation for .All.
Would you like to have a look at adding these possibly?