Skip to main content
Dynamics 365 general forum
Suggested answer

Timeline activities hide when case status is completed

editSubscribe (0) ShareShare
ReportReport
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 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

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Sundar…

Industry experts answer burning questions directly from our amazing Community…

Enabling Copilot Case and Conversation…

Agents can easily recap an ongoing chat, transcribe a voice conversation…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,030 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,562 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans