Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Timeline activities hide when case status is completed

Posted on by
 
Hello Everyone ,
 
Hope you are all doing great ,
 
I have one scenario when status is completes (inactive record)I want to Lock time line activities.How can I achieve this Can anyone help on this
 
 
many thanks in advance
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    Timeline activities hide when case status is completed
    Hi Partner,
    Hide or Lock?
    When case status is completed, status of all existing related activities will be changed to closed, we can't edit them.
    Doesn't that get you where you want to be(Lock)?
    We can't hide/ remove activities from the timeline, which is by-design.
    Maybe you can try to use javascript to hide section of the timeline based on case status:
    var tabObj = formContext.ui.tabs.get(arg);
    var sectionObj = tabObj.sections.get(arg);
    sectionObj.setVisible(bool);

    I hope you can verify my answer if it helps you! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

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

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans