Skip to main content

Notifications

Dynamics 365 general forum

Close session of choice among multiple opened sessions.

Posted on by Microsoft Employee

Hi All,

We have multiple sessions i-e four sessions opened in USD. I need to close without clicking on 'X' on the session. Can it be possible to have 4 buttons on the toolbar and by clicking third the button will close the third session in USD?  

  • Kaustubh Hegde Profile Picture
    Kaustubh Hegde 330 on at
    RE: Close session of choice among multiple opened sessions.

    You can close a particular session by calling the below action

    USD-Close-Session.PNG

    • But you will not be able to access the SessionId's of all the sessions or a particular session. You will be able to get the GUID of only active session.
    • In your Case, because u have a fixed number of Session, i would suggest you to store the GUID's of the sessions in USD Context when you create the Session .
    • Create a 4 ToolBar Buttons, Create 4 different Actions where you specify different SessionId's from the USD Context you added in the step above.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

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