Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Contact Field be Null after Saving

(0) ShareShare
ReportReport
Posted on by 85

Hi All,

we upgrade CRM from 2015 to 365 v9 on premise after upgrading while we try to save case record it saved but make Contact field after saving "null"

after debugging the js we found that js after calling save function has crash on ClientAPIwrapper.js and  formcontrol.js


so one of our solution is convert Form in Legacy Mode 
Settings >> Adminstration >> system settings >> make form use legacy render = Yes 

the above is solve the problem 

but we don't need to use legacy mode so any suggest for solving the issue ?

  • Suggested answer
    Roma Gupta Profile Picture
    Roma Gupta 725 on at
    RE: Contact Field be Null after Saving

    Hi Mohamed

    Not all Javascript functions are supported in V9. You need to modify the scripts.

    Please share your code snippet for us to able to help you more.

    See if the below URL helps:

    https://docs.microsoft.com/en-us/power-platform/important-changes-coming#some-client-apis-are-deprecated

    Regards

    Roma

  • Abhishek Dhoriya Profile Picture
    Abhishek Dhoriya 1,011 on at
    RE: Contact Field be Null after Saving

    Hi Mohamed,

    If possible can you put the code snippet in the chat and the event on which it is triggered.

    Also i would recommend you to check , apart from JS any other operation is being done on same event i.e. case save like any workflows / plugins / actions getting triggered for the same event?

    If yes, check the relation with specific to Contact field.  

    After looking to the code , Would recommend if it is JS issue or anything else.

    Regards

  • MohamedSaeed Profile Picture
    MohamedSaeed 85 on at
    RE: Contact Field be Null after Saving

    Hi Abhishek,

    i update the JS Code for functions OnSave and issue still exist.

    thanks for replaying

  • Abhishek Dhoriya Profile Picture
    Abhishek Dhoriya 1,011 on at
    RE: Contact Field be Null after Saving

    Hi Mohammed,

    Just for your information, all JS code might not work in Dynamics 365 v9.0 since with this version entire Javascript API has been changed.

    You may need to convert the Legacy JS script functions that are deprecated to those which are supported in V9.0.

    Here is the Dynamics 365 CE (CRM) V9 Client API Cheat Sheet URL:

    www.dynamixacademy.com/.../

    Kindly check this one first.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,432 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans