web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Error when opening certain Service Activity

(0) ShareShare
ReportReport
Posted on by 25

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

pastedimage1576164950713v1.png

I have the same question (0)
  • T.I.A Profile Picture
    1,760 on at

    What browser are you using?

  • kxu Profile Picture
    25 on at

    Thanks for your reply.

    Chrome, FireFox, Edge, Edge Dev all showing the same error message.

  • Verified answer
    Community Member Profile Picture
    on at

    Hey kxu,

    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.

  • kxu Profile Picture
    25 on at

    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.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hey kxu,

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Nagaraju_Matta Profile Picture

Nagaraju_Matta 123

#2
Hamza H Profile Picture

Hamza H 96 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 66 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans