Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Unified Interface - Timeline control refresh on save

Posted on by Microsoft Employee

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

  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans