in Dynamics 365, I am opening custom pane using
const pane = await Xrm.App.sidePanes.createPane({
title: "This is your AI assistant",
hideHeader: true,
isSelected: false,
paneId: PANEL_ID,
canClose: true,
width: 500,
alwaysRender: true,
});
Since I have set alwaysRender: true,panel is not getting unmount when it is hidden. Now I wanted to capture event when this panel is expanded so that I can have different logic to show content in it.
Daniyal Khaleel
147
DAnny3211
134
Abhilash Warrier
70
Super User 2025 Season 2