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: src/XrmDefinitelyTyped/Resources/Extensions/xrm_ext_9.1-.d.ts
+65-50Lines changed: 65 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -73,46 +73,8 @@ declare namespace Xrm {
73
73
Warning=3,
74
74
Information=4,
75
75
}
76
-
//TODO figure out how to implement the app side pane https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-app-appsidepane
77
-
// should the methods take an input like paneID?
78
-
interfaceAppSidePane{
79
-
/**
80
-
* Closes the side pane and removes it from the side bar.
81
-
*/
82
-
close(): any;
83
-
84
-
/**
85
-
* Specify whether the pane should be selected or expanded.
86
-
*/
87
-
select(): any;
88
-
89
-
/**
90
-
* Opens a page within the selected pane. This is similar to the navigateTo method.
91
-
*/
92
-
navigate(): any;
93
-
}
94
-
interfaceSidePanes{
95
-
/**
96
-
* Provides all the information to create side panes.
97
-
*/
98
-
createPane(paneOptions?: SidePaneOptions): any;
99
-
100
-
/**
101
-
* returns the appSidePane object
102
-
*/
103
-
getAllPanes(): Object;
104
-
105
-
/**
106
-
* returns the appSidePane object
107
-
*/
108
-
getPane(paneId: string): Object;
109
-
/**
110
-
* returns the appSidePane object
111
-
*/
112
-
getSelectedPane(): Object;
113
-
}
114
-
interfaceSidePaneOptions{
115
76
77
+
interfaceSidePaneProperties{
116
78
/**
117
79
* The title of the pane. Used in pane header and for tooltip.
118
80
*/
@@ -133,17 +95,6 @@ declare namespace Xrm {
133
95
*/
134
96
imageSrc?: string;
135
97
136
-
/**
137
-
* Hides the header pane, including the title and close button. Default value is false.
138
-
*/
139
-
hideHeader?: boolean;
140
-
141
-
/**
142
-
* When set to false, the created pane is not selected and leaves the existing pane selected.
143
-
* It also does not expand the pane if collapsed.
144
-
*/
145
-
isSelected?: boolean;
146
-
147
98
/**
148
99
* The width of the pane in pixels.
149
100
*/
@@ -165,6 +116,67 @@ declare namespace Xrm {
165
116
keepBadgeOnSelect?: boolean;
166
117
}
167
118
119
+
interfaceAppSidePaneextendsSidePaneProperties{
120
+
/**
121
+
* Closes the side pane and removes it from the side bar.
122
+
*/
123
+
close(): Promise<undefined>;
124
+
125
+
/**
126
+
* Specify whether the pane should be selected or expanded.
127
+
*/
128
+
select(): void;
129
+
130
+
/**
131
+
* Opens a page within the selected pane. This is similar to the navigateTo method.
0 commit comments