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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Cannot Save Changes to Records for a Custom Entity

(0) ShareShare
ReportReport
Posted on by

Hi,

We have a custom entity, and recently have found that new records for this entity cannot be saved. Also, It is not possible to save any changes to existing records for this entity.

I have the System Administrator security role so permissions shouldn't be an issue.

When trying to click any of the save buttons, nothing happens. 'Unsaved Changes' is displayed in the bottom right corner of the window.

I am able to make changes to the records by using on demand workflows, but when manually editing records it is not possible.

Any ideas would be greatly appreciated.

Thanks,

Lewis

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mahadeo Matre Profile Picture
    17,021 on at
    RE: Cannot Save Changes to Records for a Custom Entity

    There are  multiple possibilities

    1. Any required  attribute value is blank

    2. If you have javscript code  then check is there any logic  for not saving record on any condition.

    3. You might be showing  field  or form level  notification

    any of the above option may prevent  record  from  savings.

  • Verified answer
    Mithilesh Kumar Profile Picture
    10,047 on at
    RE: Cannot Save Changes to Records for a Custom Entity

    Hi LC,

    Do you get any error message?

    If not check your JScript on the OnSave event of the form. It may be preventing it from being kicked.

    Step to check if OnSave function is preventing the Save.

    If you have any code written for the OnSave event of the form, try disabling it and subsequently try saving a new Record. See if it is getting saved. The image says "Publish" :)

    Hope that helps

    Thanks

    Please mark my answer as verified if you found it helpful

  • Community Member Profile Picture
    on at
    RE: Cannot Save Changes to Records for a Custom Entity

    Thank you all for your responses.

    I have now disabled all onSave JavaScript, and this resolved the problem.

    Many Thanks,

    Lewis

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans