Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 Timeline
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
When I open some of the Service Activities, CRM shows the following error. The record shows all columns in Advanced Find, and I can retrieve it by C# code. Is it a bug or something wrong with the data?
Version: CRM Online
What browser are you using?
Thanks for your reply.
Chrome, FireFox, Edge, Edge Dev all showing the same error message.
interesting issue you are facing.
Actually I remember having something similar to deal with a couple of years ago on v8.2. And it also was on the Service Activity entity.
So considering the fact that you can see them in advanced find (FetchXML) and you can also retrieve them via C#, I would guess that it's something about the UI or in other words the Form that is not working properly.
Please try to create a new Form with only the required fields and open these specific records. That may narrow the issue down.
If the issue still persists, I would suggest contacting Microsoft Support on this one.
Thanks for the input! I created a new empty form, and it shows without error. Then I keep adding fields on the form until the error shows up. It turned out to be "Customers" field. And it will only error out when there are multiple customers in that field. So now I have the cause of the issue, but still don't know how to resolve it.
I am happy that you could narrow the issue down.
It is of course really interesting, what actually is "wrong" with the values inside the customer field, that cause such an issue.
Actually there are several possible "workarounds" I would work on myself in such a case. It all depends on which outcome you want to achieve. Whether it is simply accessing the records over the UI at all or working with/processing the records further.
Let's say I simply want to access these records at all.
What I would do, is write a little WorkflowActivity in C# which can read all value inside the Customer field and then populate a multiple-line of text field with each value/record in its own line. Since the customer field can contain different entities, I would write my logic to read the entity, the Guid and the Name of each record (e.g. "Entity: account, Guid: 12345, Name: ABC").
After I retrieved all values and wrote it into my custom multiple line of text field, I would clear (null) the customer field programmatically.
Then I would create an OnDemand workflow for the SA and put my WorkflowActivity inside as a step.
So in the end I pick one of the "problematic" records and run my workflow on it. I would guess that once the customer field is "clear", the record should be accessable again.
On the other hand I would also check whether the records which were written into that Customer field are still valid in the system.
Maybe try to populate the Customer field record by record. Save the SA after each entry and reload the form.
So long story, short: This is a possible approach on how I would try to narrow the issue more down.
I hope you will be successful.
Business Applications communities