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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

do you want to save changes pop up coming unnecessarly

(0) ShareShare
ReportReport
Posted on by 2

Hi Team,


we are getting "do you want to save changes" when opening a record from custom page(designed similar to advanced search).
This is occurring because we are navigating forms in javascript based on some condition.I have checked any dirty fields on the form but not any. There is only one business rule for that entity(contact) and all the roles have read privilege on that entity.

Please note that this is occurring only for specific roles. Please help

5238.Capture.JPG

*This post is locked for comments

I have the same question (0)
  • Goutham A Profile Picture
    2 on at

    every role has append, appendto also in contact. Please help

  • ashlega Profile Picture
    34,477 on at

    Hi Goutham,

      I think I saw something similar and, in my case, I had those links formed incorrectly (I don't remember right now what it was.. either formid was missing or something else). Anyway, it's probably worth trying: did you check if the links you are using are identical to the links which are provided by CRM (through email a link option, for example)?

      If the same user who is having this problem tries two different links: one from "email a link" and another one from your javascript, will they see this problem in both cases?

  • Karuna Karan Profile Picture
    1,212 on at

    I have faced a similar issue in the past, and isolated the issue was caused by business rules running under the entity. As soon as I disable the Biz rules the form  not saved error vanished.

    You can take 2 approach here to see if it provides a solution.

    1. Split the biz rule into 2 for each condition and check

    2. Use a different condition. e.g. If firstname and lastname contains data then lock etc..

  • Goutham A Profile Picture
    2 on at

    I have disabled al business rule but the same issue occurred. Can you please suggest

  • Goutham A Profile Picture
    2 on at

    This is occurring even after disabling all business rules. Can you please help

  • Karuna Karan Profile Picture
    1,212 on at

    Usually the error goes off after disabling the Biz Rule, did you save and publish and refresh the page? Is there any other scripts running in that form? Is there any Field Security configured for any of the entity field?

  • Suggested answer
    Goutham A Profile Picture
    2 on at

    I have found the root cause. this is not because of business rule. There is a readonly boolean field in a quick form  which is getting dirty.

    This is happening because it has false value but crm is comparing null(because its read only locked) to false and returning isdirty .Removing it as readonly solved the issue.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans