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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

D365 force record save, server side on update

(0) ShareShare
ReportReport
Posted on by 397

Hi All,

I want to know if there is a way to save (force) a record server side on an update?

it cannot be JavaScript as that only runs client side - meaning when a user open the record - no one will ever open these records... so the auto save option will also not work as that is client side as well (i think)

i'm creating a record via a workflow and the record has calculated field which populates another field after the create. This causes the record to be in an unsaved state... 

I need to somehow save the record... either with a workflow or a plugin or flow?

many thanks!

I have the same question (0)
  • Suggested answer
    Vijay Tailor Profile Picture
    431 on at

    Hi Cg,

    you can try wirth xrm function (like Xrm.Page.data.refresh and Xrm.Page.data.save) that will help you to save data at the server level

    you can check below-mentioned URL. hope it will help you.

    carldesouza.com/.../

  • Suggested answer
    Brandon Sambat Profile Picture
    on at

    I think another option would be to create a plugin that run against an update or change.  This could execute against the backend to perform a save.

  • CgRuMy Profile Picture
    397 on at

    Hi Vijay, surely this will only execute when on the form? meaning client side as its script

  • CgRuMy Profile Picture
    397 on at

    Hi Brandon, you don't maybe have the source code lying around somewhere haha? i dunno how to write plugins... thanks

  • Mahendar Pal Profile Picture
    45,095 on at

    Not sure I understand it correctly but if you are creating record through the server side process and calculated field is triggered it will be automatically saved. Can you share some more details how it is not saved.

  • CgRuMy Profile Picture
    397 on at

    Hi, the workflow creates the record, after create the calculated field is triggered and it sets another field (on the same record) to a value. This "set" causes the record to go into a unsaved state.  I need to somehow force 'save' this change without opening this record...

    thanks

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans