web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Dynamics 365 – How to expand/collapse sidePanes programmatically?

(0) ShareShare
ReportReport
Posted on by
How to expand/collapse sidePanes programmatically?
I have the same question (0)
  • TJardim Profile Picture
    46 on at
    Hi Sudam,
     
    I would recommend that you visit the 'Managing side panes' section in this Microsoft official page: Creating side panes by using a client API in model-driven apps | Microsoft Learn.
     
    "
    • Use the state method to collapse the side pane programmatically:

      Xrm.App.sidePanes.state = 0;

    • Use the state method to expand the side pane programmatically:

      Xrm.App.sidePanes.state = 1;                  "

    This page provides comprehensive guidance on how to work with side panes and includes additional details on managing their visibility and behavior.
     
    Hope this helps,
    Tanisha Jardim

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans