I am able to fetch the Posted Forms data in CRM by using the RetrieveMultiple method. I am not able to find how to fetch all the posted Fields in a particular Form. E.g. In the CRM web portal I get 3 Posted Forms. To view the data submitted by a user by filling up that form, I have to click on that particular Posted Form and then I can view submitted records like "Business Email", "Company Name" etc. How can I retrieve the same thing in the code below inside the foreach loop for each of the Posted Form.
I am using the below code to retrieve the Posted Forms:
string fetchXml = @"<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'> EntityCollection fxResult = service.RetrieveMultiple(new FetchExpression(fetchXml)); foreach (var e in fxResult.Entities) ////????//// } |






