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)

Unified Interface - Timeline control refresh on save

(0) ShareShare
ReportReport
Posted on by

Hi All,

We are using Unified Interface and have timeline control on Contact form.

On saving form the timeline control doesn't show recent changes.

We dont have option to programetically refresh the whole form as it interfere with other business logic.

Is there a way to refresh only timeline control post save of form?

I am using below code but it doesn't work as On Save is called before the actual updates are saved

var formContext = executionContext.getFormContext();
formContext.getControl("Timeline").refresh();

Just wondering if there is any other supported way?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at
    RE: Unified Interface - Timeline control refresh on save

    You can use the below “save.then” snippet & call the timeline refresh code in success callback handler.

    Xrm.Page.data.save(saveOptions).then(successCallback, errorCallback)

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans