fake-xrm-easy icon indicating copy to clipboard operation
fake-xrm-easy copied to clipboard

RetrieveEntityRequest should also implement EntityFilters.All

Open jordimontana82 opened this issue 6 years ago • 5 comments

jordimontana82 avatar Aug 04 '17 07:08 jordimontana82

Hi @jordimontana82,

Do you have planned date as to when this issue will be resolved?

Thanks, Parvez

parvezghumra avatar Nov 21 '17 16:11 parvezghumra

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?

jordimontana82 avatar Nov 21 '17 17:11 jordimontana82

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

parvezghumra avatar Nov 22 '17 08:11 parvezghumra

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.

jordimontana82 avatar Dec 05 '17 23:12 jordimontana82

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?

jordimontana82 avatar Aug 02 '19 12:08 jordimontana82