You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/developer/model-driven-apps/clientapi/create-app-side-panes.md
+20Lines changed: 20 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -91,6 +91,26 @@ Xrm.App.sidePanes.createPane({
91
91
> [!div class="mx-imgBorder"]
92
92
> 
93
93
94
+
### Showing a web resource
95
+
96
+
This example shows how to display a webresource in the side pane. A custom html page is opened in a side pane where the default header is visible & close button is hidden.
97
+
98
+
```javascript
99
+
Xrm.App.sidePanes.createPane({
100
+
title:"Registration Page",
101
+
imageSrc:"WebResources/msfp_SurveyIcon_32",
102
+
paneId:"RegistrationPage",
103
+
canClose:false
104
+
}).then((pane) => {
105
+
//navigate to webresource
106
+
pane.navigate({
107
+
pageType:"webresource",
108
+
webresourceName:"new_RegistrationPage",
109
+
})
110
+
});
111
+
```
112
+
113
+
94
114
### Managing side panes
95
115
96
116
In addition to creating side panes and showing rows or views within the side pane, you can also:
0 commit comments