pcf-toolkit 0.2.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pcf_toolkit/__init__.py +6 -0
- pcf_toolkit/cli.py +738 -0
- pcf_toolkit/cli_helpers.py +62 -0
- pcf_toolkit/data/__init__.py +1 -0
- pcf_toolkit/data/manifest.schema.json +1097 -0
- pcf_toolkit/data/schema_snapshot.json +2377 -0
- pcf_toolkit/data/spec_raw.json +2877 -0
- pcf_toolkit/io.py +65 -0
- pcf_toolkit/json_schema.py +30 -0
- pcf_toolkit/models.py +384 -0
- pcf_toolkit/proxy/__init__.py +1 -0
- pcf_toolkit/proxy/addons/__init__.py +1 -0
- pcf_toolkit/proxy/addons/redirect_bundle.py +70 -0
- pcf_toolkit/proxy/browser.py +157 -0
- pcf_toolkit/proxy/cli.py +1570 -0
- pcf_toolkit/proxy/config.py +310 -0
- pcf_toolkit/proxy/doctor.py +279 -0
- pcf_toolkit/proxy/mitm.py +206 -0
- pcf_toolkit/proxy/server.py +50 -0
- pcf_toolkit/py.typed +1 -0
- pcf_toolkit/rich_help.py +173 -0
- pcf_toolkit/schema_snapshot.py +47 -0
- pcf_toolkit/types.py +95 -0
- pcf_toolkit/xml.py +484 -0
- pcf_toolkit/xml_import.py +548 -0
- pcf_toolkit-0.2.5.dist-info/METADATA +494 -0
- pcf_toolkit-0.2.5.dist-info/RECORD +31 -0
- pcf_toolkit-0.2.5.dist-info/WHEEL +5 -0
- pcf_toolkit-0.2.5.dist-info/entry_points.txt +2 -0
- pcf_toolkit-0.2.5.dist-info/licenses/LICENSE.md +183 -0
- pcf_toolkit-0.2.5.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,2877 @@
|
|
|
1
|
+
{
|
|
2
|
+
"root_url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/",
|
|
3
|
+
"slugs": [
|
|
4
|
+
"code",
|
|
5
|
+
"control",
|
|
6
|
+
"css",
|
|
7
|
+
"data-set",
|
|
8
|
+
"dependency",
|
|
9
|
+
"domain",
|
|
10
|
+
"event",
|
|
11
|
+
"external-service-usage",
|
|
12
|
+
"feature-usage",
|
|
13
|
+
"img",
|
|
14
|
+
"manifest",
|
|
15
|
+
"platform-action",
|
|
16
|
+
"platform-library",
|
|
17
|
+
"property",
|
|
18
|
+
"property-dependencies",
|
|
19
|
+
"property-dependency",
|
|
20
|
+
"property-set",
|
|
21
|
+
"resources",
|
|
22
|
+
"resx",
|
|
23
|
+
"type",
|
|
24
|
+
"type-group",
|
|
25
|
+
"types",
|
|
26
|
+
"uses-feature"
|
|
27
|
+
],
|
|
28
|
+
"pages": [
|
|
29
|
+
{
|
|
30
|
+
"title": "code element",
|
|
31
|
+
"summary": "",
|
|
32
|
+
"available_for": [
|
|
33
|
+
"Model-driven and canvas apps"
|
|
34
|
+
],
|
|
35
|
+
"sections": {
|
|
36
|
+
"Share via": [
|
|
37
|
+
"Note",
|
|
38
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
39
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
40
|
+
],
|
|
41
|
+
"In this article": [
|
|
42
|
+
"Available for",
|
|
43
|
+
"Parameters",
|
|
44
|
+
"Parent Elements",
|
|
45
|
+
"Refers to the path where the resource files are located."
|
|
46
|
+
],
|
|
47
|
+
"Available for": [
|
|
48
|
+
"Model-driven and canvas apps"
|
|
49
|
+
],
|
|
50
|
+
"Parameters": [],
|
|
51
|
+
"Parent Elements": [],
|
|
52
|
+
"Example": [],
|
|
53
|
+
"Related articles": [
|
|
54
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
55
|
+
],
|
|
56
|
+
"Feedback": [
|
|
57
|
+
"Was this page helpful?",
|
|
58
|
+
"Need help with this topic?",
|
|
59
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
60
|
+
],
|
|
61
|
+
"Additional resources": [
|
|
62
|
+
"Events",
|
|
63
|
+
"FabCon Atlanta",
|
|
64
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
65
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
66
|
+
"Last updated on 05/28/2022"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"tables": [
|
|
70
|
+
{
|
|
71
|
+
"label": "Parameters",
|
|
72
|
+
"heading": "Parameters",
|
|
73
|
+
"headers": [
|
|
74
|
+
"Name",
|
|
75
|
+
"Description",
|
|
76
|
+
"Type",
|
|
77
|
+
"Required",
|
|
78
|
+
"Available for"
|
|
79
|
+
],
|
|
80
|
+
"rows": [
|
|
81
|
+
[
|
|
82
|
+
"path",
|
|
83
|
+
"Place where the resource files are located",
|
|
84
|
+
"String",
|
|
85
|
+
"Yes",
|
|
86
|
+
"Model-driven and canvas apps"
|
|
87
|
+
],
|
|
88
|
+
[
|
|
89
|
+
"order",
|
|
90
|
+
"The order in which the resource files should load",
|
|
91
|
+
"Positive integer",
|
|
92
|
+
"Yes",
|
|
93
|
+
"Model-driven and canvas apps"
|
|
94
|
+
]
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"label": "Parent Elements",
|
|
99
|
+
"heading": "Parent Elements",
|
|
100
|
+
"headers": [
|
|
101
|
+
"Element",
|
|
102
|
+
"Description"
|
|
103
|
+
],
|
|
104
|
+
"rows": [
|
|
105
|
+
[
|
|
106
|
+
"resources",
|
|
107
|
+
"The resources node in the component manifest refers to the resource files that component requires to implement it's visualization."
|
|
108
|
+
]
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"code_blocks": [
|
|
113
|
+
{
|
|
114
|
+
"language": "xml",
|
|
115
|
+
"code": "<code path=\"TS_IncrementControl.js\" order=\"1\" />\n <css path=\"css/TS_IncrementControl.css\" order=\"1\" />\n <resx path=\"strings/TSIncrementControl.1033.resx\" version=\"1.0.0\" />",
|
|
116
|
+
"heading": "Example"
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"slug": "code",
|
|
120
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/code"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"title": "control element",
|
|
124
|
+
"summary": "",
|
|
125
|
+
"available_for": [
|
|
126
|
+
"Model-driven and canvas apps"
|
|
127
|
+
],
|
|
128
|
+
"sections": {
|
|
129
|
+
"Share via": [
|
|
130
|
+
"Note",
|
|
131
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
132
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
133
|
+
],
|
|
134
|
+
"In this article": [
|
|
135
|
+
"Available for",
|
|
136
|
+
"Parameters",
|
|
137
|
+
"Parent Elements",
|
|
138
|
+
"Child Elements",
|
|
139
|
+
"Example",
|
|
140
|
+
"Defines the component's namespace, version, and display information."
|
|
141
|
+
],
|
|
142
|
+
"Available for": [
|
|
143
|
+
"Model-driven and canvas apps"
|
|
144
|
+
],
|
|
145
|
+
"Parameters": [],
|
|
146
|
+
"Parent Elements": [
|
|
147
|
+
"The namespace of the component.",
|
|
148
|
+
"The kind of data it can be configured, either a field or a dataset.",
|
|
149
|
+
"Any properties that can be configured in the application when the component is added.",
|
|
150
|
+
"A list of resource files that the component needs.\n\nOne of them must be a TypeScript web resource. This TypeScript must include a function that will instantiate an object. This implements an interface that exposes methods that are required for the component to work. This is called the component implementation library.",
|
|
151
|
+
"One of them must be a TypeScript web resource. This TypeScript must include a function that will instantiate an object. This implements an interface that exposes methods that are required for the component to work. This is called the component implementation library.",
|
|
152
|
+
"The name of a TypeScript function in the component implementation library that will return an object that applies the required component interface."
|
|
153
|
+
],
|
|
154
|
+
"Child Elements": [],
|
|
155
|
+
"Example": [],
|
|
156
|
+
"Related articles": [
|
|
157
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
158
|
+
],
|
|
159
|
+
"Feedback": [
|
|
160
|
+
"Was this page helpful?",
|
|
161
|
+
"Need help with this topic?",
|
|
162
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
163
|
+
],
|
|
164
|
+
"Additional resources": [
|
|
165
|
+
"Events",
|
|
166
|
+
"FabCon Atlanta",
|
|
167
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
168
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
169
|
+
"Last updated on 03/24/2025"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
"tables": [
|
|
173
|
+
{
|
|
174
|
+
"label": "Parameters",
|
|
175
|
+
"heading": "Parameters",
|
|
176
|
+
"headers": [
|
|
177
|
+
"Name",
|
|
178
|
+
"Description",
|
|
179
|
+
"Type",
|
|
180
|
+
"Required",
|
|
181
|
+
"Available for"
|
|
182
|
+
],
|
|
183
|
+
"rows": [
|
|
184
|
+
[
|
|
185
|
+
"namespace",
|
|
186
|
+
"Defines the object prototype of the component",
|
|
187
|
+
"Only letters or numbers",
|
|
188
|
+
"Yes",
|
|
189
|
+
"Model-driven and canvas apps"
|
|
190
|
+
],
|
|
191
|
+
[
|
|
192
|
+
"constructor",
|
|
193
|
+
"A method for initializing the object",
|
|
194
|
+
"Only letters or numbers",
|
|
195
|
+
"Yes",
|
|
196
|
+
"Model-driven and canvas apps"
|
|
197
|
+
],
|
|
198
|
+
[
|
|
199
|
+
"control-type",
|
|
200
|
+
"Whether the control is a standard control or a React control. The value of virtual indicates a React control using platform React library. Virtual controls are a feature in public preview. More information: React controls & platform libraries",
|
|
201
|
+
"standard|virtual",
|
|
202
|
+
"No",
|
|
203
|
+
"Model-driven and canvas apps"
|
|
204
|
+
],
|
|
205
|
+
[
|
|
206
|
+
"description-key",
|
|
207
|
+
"Defines the description of the component visible in the UI.",
|
|
208
|
+
"string",
|
|
209
|
+
"No",
|
|
210
|
+
"Model-driven and canvas apps"
|
|
211
|
+
],
|
|
212
|
+
[
|
|
213
|
+
"display-name-key",
|
|
214
|
+
"Defines the name of the control visible in the UI.",
|
|
215
|
+
"string",
|
|
216
|
+
"Yes",
|
|
217
|
+
"Model-driven and canvas apps"
|
|
218
|
+
],
|
|
219
|
+
[
|
|
220
|
+
"preview-image",
|
|
221
|
+
"Image used on the customization screens to show a preview of the component.",
|
|
222
|
+
"string",
|
|
223
|
+
"No",
|
|
224
|
+
"Model-driven apps"
|
|
225
|
+
],
|
|
226
|
+
[
|
|
227
|
+
"version",
|
|
228
|
+
"Defines the version of the component defined in Semantic Versioning",
|
|
229
|
+
"string",
|
|
230
|
+
"Yes",
|
|
231
|
+
"Model-driven and canvas apps"
|
|
232
|
+
]
|
|
233
|
+
]
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"label": "Parent Elements",
|
|
237
|
+
"heading": "Parent Elements",
|
|
238
|
+
"headers": [
|
|
239
|
+
"Element",
|
|
240
|
+
"Description"
|
|
241
|
+
],
|
|
242
|
+
"rows": [
|
|
243
|
+
[
|
|
244
|
+
"manifest",
|
|
245
|
+
"Manifest is the metadata file that defines a component. It is an XML file that describes:\n\nThe namespace of the component.\nThe kind of data it can be configured, either a field or a dataset.\nAny properties that can be configured in the application when the component is added.\nA list of resource files that the component needs.\n\nOne of them must be a TypeScript web resource. This TypeScript must include a function that will instantiate an object. This implements an interface that exposes methods that are required for the component to work. This is called the component implementation library.\n\n\nThe name of a TypeScript function in the component implementation library that will return an object that applies the required component interface.\n\nWhen the user configures a custom component in a canvas app or a model-driven app, the data in the manifest filters out the available components so that only the valid components for the context are available for configuration. The properties defined in the manifest for a component are rendered as configuration fields so that the user configuring the component can specify values. These property values are then available to the component function at run time."
|
|
246
|
+
]
|
|
247
|
+
]
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"label": "Child Elements",
|
|
251
|
+
"heading": "Child Elements",
|
|
252
|
+
"headers": [
|
|
253
|
+
"Element",
|
|
254
|
+
"Description",
|
|
255
|
+
"Occurrences"
|
|
256
|
+
],
|
|
257
|
+
"rows": [
|
|
258
|
+
[
|
|
259
|
+
"data-set",
|
|
260
|
+
"The dataset node in the component manifest represents a specific, configurable representation of a set of table records.",
|
|
261
|
+
"0 or more"
|
|
262
|
+
],
|
|
263
|
+
[
|
|
264
|
+
"external-service-usage",
|
|
265
|
+
"Indicates whether this control is using external service or not. If it is, set the enabled attribute flag as true and add the external service domain to the <domain> property. A control that uses any external service is a premium control and the end user will need a Power Apps license to open an app with a premium control. More information: Licensing",
|
|
266
|
+
"0 or 1"
|
|
267
|
+
],
|
|
268
|
+
[
|
|
269
|
+
"property",
|
|
270
|
+
"The property node defines a specific, configurable piece of data that the component expects from the Microsoft Dataverse.",
|
|
271
|
+
"0 or more"
|
|
272
|
+
],
|
|
273
|
+
[
|
|
274
|
+
"resources",
|
|
275
|
+
"The resources node in the component manifest refers to the resource files that component requires to implement it's visualization.",
|
|
276
|
+
"1"
|
|
277
|
+
],
|
|
278
|
+
[
|
|
279
|
+
"type-group",
|
|
280
|
+
"The type-group node defines a set of types identified by a single name. This information can be used to identify the data types supported by a specific property.",
|
|
281
|
+
"0 or more"
|
|
282
|
+
],
|
|
283
|
+
[
|
|
284
|
+
"property-dependencies",
|
|
285
|
+
"Defines a group of property-dependencies.",
|
|
286
|
+
"0 or more"
|
|
287
|
+
],
|
|
288
|
+
[
|
|
289
|
+
"platform-action",
|
|
290
|
+
"Used to specify that control dependencies load on demand instead of when the control is loaded.",
|
|
291
|
+
"0 or 1"
|
|
292
|
+
]
|
|
293
|
+
]
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"code_blocks": [
|
|
297
|
+
{
|
|
298
|
+
"language": "xml",
|
|
299
|
+
"code": "<control namespace=\"MyNameSpace\"\n constructor=\"JSHelloWorldControl\"\n version=\"1.0.0\"\n display-name-key=\"JS_HelloWorldControl_Display_Key\"\n description-key=\"JS_HelloWorldControl_Desc_Key\"\n control-type=\"standard\"\n preview-image=\"img/preview.png\">\n</control>",
|
|
300
|
+
"heading": "Example"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"slug": "control",
|
|
304
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/control"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"title": "css element",
|
|
308
|
+
"summary": "",
|
|
309
|
+
"available_for": [
|
|
310
|
+
"Model-driven and canvas apps"
|
|
311
|
+
],
|
|
312
|
+
"sections": {
|
|
313
|
+
"Share via": [
|
|
314
|
+
"Note",
|
|
315
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
316
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
317
|
+
],
|
|
318
|
+
"In this article": [
|
|
319
|
+
"Available for",
|
|
320
|
+
"Parameters",
|
|
321
|
+
"Parent Elements",
|
|
322
|
+
"Example",
|
|
323
|
+
"CSS describes how code components are to be displayed on UI."
|
|
324
|
+
],
|
|
325
|
+
"Available for": [
|
|
326
|
+
"Model-driven and canvas apps"
|
|
327
|
+
],
|
|
328
|
+
"Parameters": [],
|
|
329
|
+
"Parent Elements": [],
|
|
330
|
+
"Example": [],
|
|
331
|
+
"Related articles": [
|
|
332
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
333
|
+
],
|
|
334
|
+
"Feedback": [
|
|
335
|
+
"Was this page helpful?",
|
|
336
|
+
"Need help with this topic?",
|
|
337
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
338
|
+
],
|
|
339
|
+
"Additional resources": [
|
|
340
|
+
"Events",
|
|
341
|
+
"FabCon Atlanta",
|
|
342
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
343
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
344
|
+
"Last updated on 05/28/2022"
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
"tables": [
|
|
348
|
+
{
|
|
349
|
+
"label": "Parameters",
|
|
350
|
+
"heading": "Parameters",
|
|
351
|
+
"headers": [
|
|
352
|
+
"Name",
|
|
353
|
+
"Description",
|
|
354
|
+
"Type",
|
|
355
|
+
"Required",
|
|
356
|
+
"Available for"
|
|
357
|
+
],
|
|
358
|
+
"rows": [
|
|
359
|
+
[
|
|
360
|
+
"path",
|
|
361
|
+
"Relative path w.r.t manifest where CSS files are located",
|
|
362
|
+
"string",
|
|
363
|
+
"Yes",
|
|
364
|
+
"Model-driven and canvas apps"
|
|
365
|
+
],
|
|
366
|
+
[
|
|
367
|
+
"order",
|
|
368
|
+
"The order in which the CSS files Should load",
|
|
369
|
+
"Positive integer",
|
|
370
|
+
"Optional",
|
|
371
|
+
"Model-driven and canvas apps"
|
|
372
|
+
]
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"label": "Parent Elements",
|
|
377
|
+
"heading": "Parent Elements",
|
|
378
|
+
"headers": [
|
|
379
|
+
"Element",
|
|
380
|
+
"Description"
|
|
381
|
+
],
|
|
382
|
+
"rows": [
|
|
383
|
+
[
|
|
384
|
+
"resources",
|
|
385
|
+
"The resources node in the component manifest refers to the resource files that component requires to implement it's visualization."
|
|
386
|
+
]
|
|
387
|
+
]
|
|
388
|
+
}
|
|
389
|
+
],
|
|
390
|
+
"code_blocks": [
|
|
391
|
+
{
|
|
392
|
+
"language": "xml",
|
|
393
|
+
"code": "<resources>\n <code path=\"TS_LocalizationAPI.js\" order=\"1\" />\n <css path=\"css/TS_LocalizationAPI.css\" order=\"1\" />\n </resources>",
|
|
394
|
+
"heading": "Example"
|
|
395
|
+
}
|
|
396
|
+
],
|
|
397
|
+
"slug": "css",
|
|
398
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/css"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"title": "data-set element",
|
|
402
|
+
"summary": "",
|
|
403
|
+
"available_for": [],
|
|
404
|
+
"sections": {
|
|
405
|
+
"Share via": [
|
|
406
|
+
"Note",
|
|
407
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
408
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
409
|
+
],
|
|
410
|
+
"In this article": [
|
|
411
|
+
"Parameters",
|
|
412
|
+
"Parent Elements",
|
|
413
|
+
"Example",
|
|
414
|
+
"The dataset node in the component manifest represents a specific, configurable representation of a set of table records.",
|
|
415
|
+
"You can define multiple datasets in the manifest. The first dataset in the manifest is as the primary dataset. When you configure a multi dataset component, the primary dataset property always has name Items. All nonprimary dataset properties will have a _Items suffix after the dataset name.",
|
|
416
|
+
"Certain features in the authoring panel only apply to the primary dataset properties, such as data source selector, field selector, and view selector. To configure a nonprimary dataset property, the maker needs to first import the data source to the app, then set the property value to that secondary data source. Property-set should be used for accessing columns in a nonprimary dataset property."
|
|
417
|
+
],
|
|
418
|
+
"Parameters": [],
|
|
419
|
+
"Parent Elements": [],
|
|
420
|
+
"Example": [],
|
|
421
|
+
"Related articles": [
|
|
422
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
423
|
+
],
|
|
424
|
+
"Feedback": [
|
|
425
|
+
"Was this page helpful?",
|
|
426
|
+
"Need help with this topic?",
|
|
427
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
428
|
+
],
|
|
429
|
+
"Additional resources": [
|
|
430
|
+
"Events",
|
|
431
|
+
"FabCon Atlanta",
|
|
432
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
433
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
434
|
+
"Last updated on 12/07/2024"
|
|
435
|
+
]
|
|
436
|
+
},
|
|
437
|
+
"tables": [
|
|
438
|
+
{
|
|
439
|
+
"label": "Parameters",
|
|
440
|
+
"heading": "Parameters",
|
|
441
|
+
"headers": [
|
|
442
|
+
"Name",
|
|
443
|
+
"Description",
|
|
444
|
+
"Type",
|
|
445
|
+
"Required",
|
|
446
|
+
"Available for"
|
|
447
|
+
],
|
|
448
|
+
"rows": [
|
|
449
|
+
[
|
|
450
|
+
"description-key",
|
|
451
|
+
"Defines the description of the property.",
|
|
452
|
+
"string",
|
|
453
|
+
"Optional",
|
|
454
|
+
"Model-driven and canvas apps"
|
|
455
|
+
],
|
|
456
|
+
[
|
|
457
|
+
"display-name-key",
|
|
458
|
+
"Defines the name of the property.",
|
|
459
|
+
"string",
|
|
460
|
+
"Yes",
|
|
461
|
+
"Model-driven and canvas apps"
|
|
462
|
+
],
|
|
463
|
+
[
|
|
464
|
+
"name",
|
|
465
|
+
"Name of the grid",
|
|
466
|
+
"string",
|
|
467
|
+
"Yes",
|
|
468
|
+
"Model-driven and canvas apps"
|
|
469
|
+
],
|
|
470
|
+
[
|
|
471
|
+
"cds-data-set-options",
|
|
472
|
+
"Displays the Commandbar, ViewSelector, QuickFind if set to true",
|
|
473
|
+
"string",
|
|
474
|
+
"Yes",
|
|
475
|
+
"Model-driven apps"
|
|
476
|
+
]
|
|
477
|
+
]
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"label": "Parent Elements",
|
|
481
|
+
"heading": "Parent Elements",
|
|
482
|
+
"headers": [
|
|
483
|
+
"Element",
|
|
484
|
+
"Description"
|
|
485
|
+
],
|
|
486
|
+
"rows": [
|
|
487
|
+
[
|
|
488
|
+
"control",
|
|
489
|
+
"Defines the component's namespace, version, and display information."
|
|
490
|
+
]
|
|
491
|
+
]
|
|
492
|
+
}
|
|
493
|
+
],
|
|
494
|
+
"code_blocks": [
|
|
495
|
+
{
|
|
496
|
+
"language": "xml",
|
|
497
|
+
"code": "<data-set name=\"dataSetGrid\"\n display-name-key=\"DataSetGridProperty\"\n cds-data-set-options=\"displayCommandBar:true;displayViewSelector:true;displayQuickFind:true\">\n</data-set>",
|
|
498
|
+
"heading": "Example"
|
|
499
|
+
}
|
|
500
|
+
],
|
|
501
|
+
"slug": "data-set",
|
|
502
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/data-set"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"title": "dependency element",
|
|
506
|
+
"summary": "",
|
|
507
|
+
"available_for": [
|
|
508
|
+
"Model-driven apps"
|
|
509
|
+
],
|
|
510
|
+
"sections": {
|
|
511
|
+
"Share via": [
|
|
512
|
+
"Note",
|
|
513
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
514
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
515
|
+
],
|
|
516
|
+
"In this article": [
|
|
517
|
+
"Available for",
|
|
518
|
+
"Parameters",
|
|
519
|
+
"Parent Elements",
|
|
520
|
+
"Refers to a library in another component that this component depends on."
|
|
521
|
+
],
|
|
522
|
+
"Available for": [
|
|
523
|
+
"Model-driven apps"
|
|
524
|
+
],
|
|
525
|
+
"Parameters": [],
|
|
526
|
+
"Parent Elements": [],
|
|
527
|
+
"Example": [],
|
|
528
|
+
"Related articles": [
|
|
529
|
+
"Dependent Libraries (preview)\nPower Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
530
|
+
],
|
|
531
|
+
"Feedback": [
|
|
532
|
+
"Was this page helpful?",
|
|
533
|
+
"Need help with this topic?",
|
|
534
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
535
|
+
],
|
|
536
|
+
"Additional resources": [
|
|
537
|
+
"Events",
|
|
538
|
+
"FabCon Atlanta",
|
|
539
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
540
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
541
|
+
"Last updated on 03/25/2025"
|
|
542
|
+
]
|
|
543
|
+
},
|
|
544
|
+
"tables": [
|
|
545
|
+
{
|
|
546
|
+
"label": "Parameters",
|
|
547
|
+
"heading": "Parameters",
|
|
548
|
+
"headers": [
|
|
549
|
+
"Name",
|
|
550
|
+
"Description",
|
|
551
|
+
"Type",
|
|
552
|
+
"Required",
|
|
553
|
+
"Available for"
|
|
554
|
+
],
|
|
555
|
+
"rows": [
|
|
556
|
+
[
|
|
557
|
+
"type",
|
|
558
|
+
"Set to control",
|
|
559
|
+
"String",
|
|
560
|
+
"Yes",
|
|
561
|
+
"Model-driven apps"
|
|
562
|
+
],
|
|
563
|
+
[
|
|
564
|
+
"name",
|
|
565
|
+
"The schema name name of the library component",
|
|
566
|
+
"String",
|
|
567
|
+
"Yes",
|
|
568
|
+
"Model-driven apps"
|
|
569
|
+
],
|
|
570
|
+
[
|
|
571
|
+
"order",
|
|
572
|
+
"The order in which the dependent library should load",
|
|
573
|
+
"Positive integer",
|
|
574
|
+
"No",
|
|
575
|
+
"Model-driven apps"
|
|
576
|
+
],
|
|
577
|
+
[
|
|
578
|
+
"load-type",
|
|
579
|
+
"Set to onDemand",
|
|
580
|
+
"String",
|
|
581
|
+
"No",
|
|
582
|
+
"Model-driven apps"
|
|
583
|
+
]
|
|
584
|
+
]
|
|
585
|
+
},
|
|
586
|
+
{
|
|
587
|
+
"label": "Parent Elements",
|
|
588
|
+
"heading": "Parent Elements",
|
|
589
|
+
"headers": [
|
|
590
|
+
"Element",
|
|
591
|
+
"Description"
|
|
592
|
+
],
|
|
593
|
+
"rows": [
|
|
594
|
+
[
|
|
595
|
+
"resources",
|
|
596
|
+
"The resources node in the component manifest refers to the resource files that component requires to implement it's visualization."
|
|
597
|
+
]
|
|
598
|
+
]
|
|
599
|
+
}
|
|
600
|
+
],
|
|
601
|
+
"code_blocks": [
|
|
602
|
+
{
|
|
603
|
+
"language": "xml",
|
|
604
|
+
"code": "<dependency \n type=\"control\" \n name=\"samples_SampleNS.SampleStubLibraryPCF\" \n load-type=\"onDemand\"/>",
|
|
605
|
+
"heading": "Example"
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"slug": "dependency",
|
|
609
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/dependency"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"title": "domain Element",
|
|
613
|
+
"summary": "",
|
|
614
|
+
"available_for": [
|
|
615
|
+
"Canvas apps"
|
|
616
|
+
],
|
|
617
|
+
"sections": {
|
|
618
|
+
"Share via": [
|
|
619
|
+
"Note",
|
|
620
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
621
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
622
|
+
],
|
|
623
|
+
"In this article": [
|
|
624
|
+
"Available for",
|
|
625
|
+
"Parent Elements",
|
|
626
|
+
"Example",
|
|
627
|
+
"Specifies the domain within the external-service-usage element"
|
|
628
|
+
],
|
|
629
|
+
"Available for": [
|
|
630
|
+
"Canvas apps"
|
|
631
|
+
],
|
|
632
|
+
"Parent Elements": [],
|
|
633
|
+
"Example": [],
|
|
634
|
+
"Related articles": [
|
|
635
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
636
|
+
],
|
|
637
|
+
"Feedback": [
|
|
638
|
+
"Was this page helpful?",
|
|
639
|
+
"Need help with this topic?",
|
|
640
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
641
|
+
],
|
|
642
|
+
"Additional resources": [
|
|
643
|
+
"Events",
|
|
644
|
+
"FabCon Atlanta",
|
|
645
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
646
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
647
|
+
"Last updated on 02/23/2023"
|
|
648
|
+
]
|
|
649
|
+
},
|
|
650
|
+
"tables": [
|
|
651
|
+
{
|
|
652
|
+
"label": "Parent Elements",
|
|
653
|
+
"heading": "Parent Elements",
|
|
654
|
+
"headers": [
|
|
655
|
+
"Element",
|
|
656
|
+
"Description"
|
|
657
|
+
],
|
|
658
|
+
"rows": [
|
|
659
|
+
[
|
|
660
|
+
"external-service-usage",
|
|
661
|
+
"Indicates whether this control is using external service or not. If it is, set the enabled attribute flag as true and add the external service domain to the <domain> property. A control that uses any external service is a premium control and the end user will need a Power Apps license to open an app with a premium control. More information: Licensing"
|
|
662
|
+
]
|
|
663
|
+
]
|
|
664
|
+
}
|
|
665
|
+
],
|
|
666
|
+
"code_blocks": [
|
|
667
|
+
{
|
|
668
|
+
"language": "xml",
|
|
669
|
+
"code": "<external-service-usage enabled=\"true\">\n <domain>www.Microsoft.com</domain>\n</external-service-usage>",
|
|
670
|
+
"heading": "Example"
|
|
671
|
+
}
|
|
672
|
+
],
|
|
673
|
+
"slug": "domain",
|
|
674
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/domain"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"title": "event element",
|
|
678
|
+
"summary": "",
|
|
679
|
+
"available_for": [
|
|
680
|
+
"Canvas and model-driven apps"
|
|
681
|
+
],
|
|
682
|
+
"sections": {
|
|
683
|
+
"Share via": [
|
|
684
|
+
"Note",
|
|
685
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
686
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
687
|
+
],
|
|
688
|
+
"In this article": [
|
|
689
|
+
"Available for",
|
|
690
|
+
"Properties",
|
|
691
|
+
"Parent Elements",
|
|
692
|
+
"Example",
|
|
693
|
+
"Defines a Power FX expression that can be configured within Power Apps Studio, then triggered within the component code."
|
|
694
|
+
],
|
|
695
|
+
"Available for": [
|
|
696
|
+
"Canvas and model-driven apps"
|
|
697
|
+
],
|
|
698
|
+
"Properties": [],
|
|
699
|
+
"Remarks": [
|
|
700
|
+
"Use the pfx-default-value property value to evaluate events and properties using Power Fx expressions instead of static default values. You can use this to:",
|
|
701
|
+
"Responsively size the control",
|
|
702
|
+
"Access connectors",
|
|
703
|
+
"Provide sample data",
|
|
704
|
+
"Reference theme properties",
|
|
705
|
+
"Custom events",
|
|
706
|
+
"Note",
|
|
707
|
+
"You can use any Power Fx expression, but you must make sure the expression is valid when importing the control.",
|
|
708
|
+
"If you use inner quotes or other special characters, wrap the value in single quotes, For example: pfx-default-value='\"Test\"'",
|
|
709
|
+
"You can reference other controls (including screens) and their properties. Write these references as: %ControlName.ID%.ControlProperty. For example: pfx-default-value='SubmitForm(%MyFormName.ID%)'",
|
|
710
|
+
"Write enums, like DisplayType and ScreenTransition as: %EnumName.RESERVED%.EnumValue. For example: pfx-default-value='Back(%ScreenTransition.RESERVED%.Cover)'",
|
|
711
|
+
"If pfx-default-value is included, then it takes precedence over default-value."
|
|
712
|
+
],
|
|
713
|
+
"Parent Elements": [],
|
|
714
|
+
"Example": [],
|
|
715
|
+
"Related articles": [
|
|
716
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
717
|
+
],
|
|
718
|
+
"Feedback": [
|
|
719
|
+
"Was this page helpful?",
|
|
720
|
+
"Need help with this topic?",
|
|
721
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
722
|
+
],
|
|
723
|
+
"Additional resources": [
|
|
724
|
+
"Events",
|
|
725
|
+
"FabCon Atlanta",
|
|
726
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
727
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
728
|
+
"Last updated on 03/25/2025"
|
|
729
|
+
]
|
|
730
|
+
},
|
|
731
|
+
"tables": [
|
|
732
|
+
{
|
|
733
|
+
"label": "Properties",
|
|
734
|
+
"heading": "Properties",
|
|
735
|
+
"headers": [
|
|
736
|
+
"Name",
|
|
737
|
+
"Description",
|
|
738
|
+
"Type",
|
|
739
|
+
"Required",
|
|
740
|
+
"Available for"
|
|
741
|
+
],
|
|
742
|
+
"rows": [
|
|
743
|
+
[
|
|
744
|
+
"name",
|
|
745
|
+
"Name of the event",
|
|
746
|
+
"string",
|
|
747
|
+
"Yes",
|
|
748
|
+
"Canvas and model-driven apps"
|
|
749
|
+
],
|
|
750
|
+
[
|
|
751
|
+
"display-name-key",
|
|
752
|
+
"Used in the customization screens as localized strings that describe the name of the event.",
|
|
753
|
+
"string",
|
|
754
|
+
"Yes",
|
|
755
|
+
"Canvas apps"
|
|
756
|
+
],
|
|
757
|
+
[
|
|
758
|
+
"description-key",
|
|
759
|
+
"Used in the customization screens as localized strings that describe the description of the event.",
|
|
760
|
+
"string",
|
|
761
|
+
"Optional",
|
|
762
|
+
"Canvas apps"
|
|
763
|
+
],
|
|
764
|
+
[
|
|
765
|
+
"pfx-default-value",
|
|
766
|
+
"The default Power Fx expression value provided to the component.",
|
|
767
|
+
"See Remarks",
|
|
768
|
+
"Optional",
|
|
769
|
+
"Canvas apps"
|
|
770
|
+
]
|
|
771
|
+
]
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"label": "Parent Elements",
|
|
775
|
+
"heading": "Parent Elements",
|
|
776
|
+
"headers": [
|
|
777
|
+
"Element",
|
|
778
|
+
"Description"
|
|
779
|
+
],
|
|
780
|
+
"rows": [
|
|
781
|
+
[
|
|
782
|
+
"control",
|
|
783
|
+
"Defines the component's namespace, version, and display information."
|
|
784
|
+
]
|
|
785
|
+
]
|
|
786
|
+
}
|
|
787
|
+
],
|
|
788
|
+
"code_blocks": [
|
|
789
|
+
{
|
|
790
|
+
"language": "xml",
|
|
791
|
+
"code": "<event name=\"OnSelectCustomButton\"\n pfx-default-value='SubmitForm(%MyFormName.ID%); Back(%ScreenTransition.RESERVED%.Cover)'\n display-name-key=\"OnSelectCustomButton_Display_Key\"\n description-key=\"OnSelectCustomButton_Desc_Key\" />",
|
|
792
|
+
"heading": "Example"
|
|
793
|
+
}
|
|
794
|
+
],
|
|
795
|
+
"slug": "event",
|
|
796
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/event"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"title": "external-service-usage element",
|
|
800
|
+
"summary": "",
|
|
801
|
+
"available_for": [
|
|
802
|
+
"Canvas apps"
|
|
803
|
+
],
|
|
804
|
+
"sections": {
|
|
805
|
+
"Share via": [
|
|
806
|
+
"Note",
|
|
807
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
808
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
809
|
+
],
|
|
810
|
+
"In this article": [
|
|
811
|
+
"Available for",
|
|
812
|
+
"Parent Elements",
|
|
813
|
+
"Child Elements",
|
|
814
|
+
"Example 1",
|
|
815
|
+
"Example 2",
|
|
816
|
+
"Example 3",
|
|
817
|
+
"Indicates whether this control is using external service or not. If it is, set the enabled attribute flag as true and add the external service domain to the <domain> property. A control that uses any external service is a premium control and the end user will need a Power Apps license to open an app with a premium control. More information: Licensing"
|
|
818
|
+
],
|
|
819
|
+
"Available for": [
|
|
820
|
+
"Canvas apps"
|
|
821
|
+
],
|
|
822
|
+
"Parent Elements": [],
|
|
823
|
+
"Child Elements": [],
|
|
824
|
+
"Example 1": [
|
|
825
|
+
"External usage enabled for www.microsoft.com only."
|
|
826
|
+
],
|
|
827
|
+
"Example 2": [
|
|
828
|
+
"External usage enabled for multiple domains."
|
|
829
|
+
],
|
|
830
|
+
"Example 3": [
|
|
831
|
+
"External usage isn't enabled."
|
|
832
|
+
],
|
|
833
|
+
"Related articles": [
|
|
834
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
835
|
+
],
|
|
836
|
+
"Feedback": [
|
|
837
|
+
"Was this page helpful?",
|
|
838
|
+
"Need help with this topic?",
|
|
839
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
840
|
+
],
|
|
841
|
+
"Additional resources": [
|
|
842
|
+
"Events",
|
|
843
|
+
"FabCon Atlanta",
|
|
844
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
845
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
846
|
+
"Last updated on 12/07/2024"
|
|
847
|
+
]
|
|
848
|
+
},
|
|
849
|
+
"tables": [
|
|
850
|
+
{
|
|
851
|
+
"label": "Parent Elements",
|
|
852
|
+
"heading": "Parent Elements",
|
|
853
|
+
"headers": [
|
|
854
|
+
"Element",
|
|
855
|
+
"Description"
|
|
856
|
+
],
|
|
857
|
+
"rows": [
|
|
858
|
+
[
|
|
859
|
+
"control",
|
|
860
|
+
"Defines the component's namespace, version, and display information."
|
|
861
|
+
]
|
|
862
|
+
]
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"label": "Child Elements",
|
|
866
|
+
"heading": "Child Elements",
|
|
867
|
+
"headers": [
|
|
868
|
+
"Element",
|
|
869
|
+
"Description",
|
|
870
|
+
"Occurrences",
|
|
871
|
+
"Available for"
|
|
872
|
+
],
|
|
873
|
+
"rows": [
|
|
874
|
+
[
|
|
875
|
+
"domain",
|
|
876
|
+
"Specifies the domain within the external-service-usage element",
|
|
877
|
+
"0 or more",
|
|
878
|
+
"Canvas apps"
|
|
879
|
+
]
|
|
880
|
+
]
|
|
881
|
+
}
|
|
882
|
+
],
|
|
883
|
+
"code_blocks": [
|
|
884
|
+
{
|
|
885
|
+
"language": "xml",
|
|
886
|
+
"code": "<external-service-usage enabled=\"true\">\n <domain>www.Microsoft.com</domain>\n</external-service-usage>",
|
|
887
|
+
"heading": "Example 1"
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
"language": "xml",
|
|
891
|
+
"code": "<external-service-usage enabled=\"false\">\n <domain>www.contoso.com</domain>\n <domain>www.yourcompany.com</domain>\n</external-service-usage>",
|
|
892
|
+
"heading": "Example 2"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"language": "xml",
|
|
896
|
+
"code": "<external-service-usage enabled=\"false\" />",
|
|
897
|
+
"heading": "Example 3"
|
|
898
|
+
}
|
|
899
|
+
],
|
|
900
|
+
"slug": "external-service-usage",
|
|
901
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/external-service-usage"
|
|
902
|
+
},
|
|
903
|
+
{
|
|
904
|
+
"title": "feature-usage element",
|
|
905
|
+
"summary": "",
|
|
906
|
+
"available_for": [
|
|
907
|
+
"Model-driven apps"
|
|
908
|
+
],
|
|
909
|
+
"sections": {
|
|
910
|
+
"Share via": [
|
|
911
|
+
"Note",
|
|
912
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
913
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
914
|
+
],
|
|
915
|
+
"In this article": [
|
|
916
|
+
"Available for",
|
|
917
|
+
"Parent Element",
|
|
918
|
+
"Child Element",
|
|
919
|
+
"Example",
|
|
920
|
+
"The feature-usage element acts as a wrapper around the uses-feature elements, which themselves allow developers to declare which features their component wants to use. If there are no uses-feature elements defined, the feature-usage element is not required."
|
|
921
|
+
],
|
|
922
|
+
"Available for": [
|
|
923
|
+
"Model-driven apps"
|
|
924
|
+
],
|
|
925
|
+
"Parent Element": [],
|
|
926
|
+
"Child Element": [],
|
|
927
|
+
"Example": [],
|
|
928
|
+
"Feedback": [
|
|
929
|
+
"Was this page helpful?",
|
|
930
|
+
"Need help with this topic?",
|
|
931
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
932
|
+
],
|
|
933
|
+
"Additional resources": [
|
|
934
|
+
"Events",
|
|
935
|
+
"FabCon Atlanta",
|
|
936
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
937
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
938
|
+
"Last updated on 05/28/2022"
|
|
939
|
+
]
|
|
940
|
+
},
|
|
941
|
+
"tables": [
|
|
942
|
+
{
|
|
943
|
+
"label": "Parent Element",
|
|
944
|
+
"heading": "Parent Element",
|
|
945
|
+
"headers": [
|
|
946
|
+
"Element",
|
|
947
|
+
"Description"
|
|
948
|
+
],
|
|
949
|
+
"rows": [
|
|
950
|
+
[
|
|
951
|
+
"control",
|
|
952
|
+
"Defines the component's namespace, version, and display information."
|
|
953
|
+
]
|
|
954
|
+
]
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"label": "Child Element",
|
|
958
|
+
"heading": "Child Element",
|
|
959
|
+
"headers": [
|
|
960
|
+
"Element",
|
|
961
|
+
"Description",
|
|
962
|
+
"Available for"
|
|
963
|
+
],
|
|
964
|
+
"rows": [
|
|
965
|
+
[
|
|
966
|
+
"uses-feature",
|
|
967
|
+
"Indicates which feature the code components want to use.",
|
|
968
|
+
"Model-driven apps"
|
|
969
|
+
]
|
|
970
|
+
]
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
"code_blocks": [
|
|
974
|
+
{
|
|
975
|
+
"language": "xml",
|
|
976
|
+
"code": "<feature-usage>\n <uses-feature name=\"Device.captureAudio\" required=\"true\" />\n <uses-feature name=\"Device.captureImage\" required=\"true\" />\n <uses-feature name=\"Device.captureVideo\" required=\"true\" />\n <uses-feature name=\"Device.getBarcodeValue\" required=\"true\" />\n <uses-feature name=\"Device.getCurrentPosition\" required=\"true\" />\n <uses-feature name=\"Device.pickFile\" required=\"true\" />\n <uses-feature name=\"Utility\" required=\"true\" />\n <uses-feature name=\"WebAPI\" required=\"true\" />\n </feature-usage>",
|
|
977
|
+
"heading": "Example"
|
|
978
|
+
}
|
|
979
|
+
],
|
|
980
|
+
"slug": "feature-usage",
|
|
981
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/feature-usage"
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"title": "img element",
|
|
985
|
+
"summary": "",
|
|
986
|
+
"available_for": [
|
|
987
|
+
"Model-driven apps"
|
|
988
|
+
],
|
|
989
|
+
"sections": {
|
|
990
|
+
"Share via": [
|
|
991
|
+
"Note",
|
|
992
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
993
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
994
|
+
],
|
|
995
|
+
"In this article": [
|
|
996
|
+
"Available for",
|
|
997
|
+
"Parameters",
|
|
998
|
+
"Parent Elements",
|
|
999
|
+
"The img web resource allows you to add images for the code components."
|
|
1000
|
+
],
|
|
1001
|
+
"Available for": [
|
|
1002
|
+
"Model-driven apps"
|
|
1003
|
+
],
|
|
1004
|
+
"Parameters": [],
|
|
1005
|
+
"Parent Elements": [],
|
|
1006
|
+
"Example": [],
|
|
1007
|
+
"Related articles": [
|
|
1008
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
1009
|
+
],
|
|
1010
|
+
"Feedback": [
|
|
1011
|
+
"Was this page helpful?",
|
|
1012
|
+
"Need help with this topic?",
|
|
1013
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
1014
|
+
],
|
|
1015
|
+
"Additional resources": [
|
|
1016
|
+
"Events",
|
|
1017
|
+
"FabCon Atlanta",
|
|
1018
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
1019
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
1020
|
+
"Last updated on 05/28/2022"
|
|
1021
|
+
]
|
|
1022
|
+
},
|
|
1023
|
+
"tables": [
|
|
1024
|
+
{
|
|
1025
|
+
"label": "Parameters",
|
|
1026
|
+
"heading": "Parameters",
|
|
1027
|
+
"headers": [
|
|
1028
|
+
"Name",
|
|
1029
|
+
"Description",
|
|
1030
|
+
"Type",
|
|
1031
|
+
"Required",
|
|
1032
|
+
"Available for"
|
|
1033
|
+
],
|
|
1034
|
+
"rows": [
|
|
1035
|
+
[
|
|
1036
|
+
"path",
|
|
1037
|
+
"Relative path w.r.t manifest where the image files are located",
|
|
1038
|
+
"string",
|
|
1039
|
+
"Yes",
|
|
1040
|
+
"Model-driven apps"
|
|
1041
|
+
]
|
|
1042
|
+
]
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"label": "Parent Elements",
|
|
1046
|
+
"heading": "Parent Elements",
|
|
1047
|
+
"headers": [
|
|
1048
|
+
"Element",
|
|
1049
|
+
"Description"
|
|
1050
|
+
],
|
|
1051
|
+
"rows": [
|
|
1052
|
+
[
|
|
1053
|
+
"resources",
|
|
1054
|
+
"The resources node in the component manifest refers to the resource files that component requires to implement it's visualization."
|
|
1055
|
+
]
|
|
1056
|
+
]
|
|
1057
|
+
}
|
|
1058
|
+
],
|
|
1059
|
+
"code_blocks": [
|
|
1060
|
+
{
|
|
1061
|
+
"language": "xml",
|
|
1062
|
+
"code": "<resources>\n <code path=\"index.ts\" order=\"1\" />\n <img path=\"img/default.png\" />\n </resources>",
|
|
1063
|
+
"heading": "Example"
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
"slug": "img",
|
|
1067
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/img"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"title": "Manifest element",
|
|
1071
|
+
"summary": "",
|
|
1072
|
+
"available_for": [
|
|
1073
|
+
"Model-driven and canvas apps"
|
|
1074
|
+
],
|
|
1075
|
+
"sections": {
|
|
1076
|
+
"Share via": [
|
|
1077
|
+
"Note",
|
|
1078
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
1079
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
1080
|
+
],
|
|
1081
|
+
"In this article": [
|
|
1082
|
+
"Available for",
|
|
1083
|
+
"Child Elements",
|
|
1084
|
+
"Example",
|
|
1085
|
+
"Manifest is the metadata file that defines a component. It is an XML file that describes:",
|
|
1086
|
+
"The namespace of the component.",
|
|
1087
|
+
"The kind of data it can be configured, either a field or a dataset.",
|
|
1088
|
+
"Any properties that can be configured in the application when the component is added.",
|
|
1089
|
+
"A list of resource files that the component needs.\n\nOne of them must be a TypeScript web resource. This TypeScript must include a function that will instantiate an object. This implements an interface that exposes methods that are required for the component to work. This is called the component implementation library.",
|
|
1090
|
+
"One of them must be a TypeScript web resource. This TypeScript must include a function that will instantiate an object. This implements an interface that exposes methods that are required for the component to work. This is called the component implementation library.",
|
|
1091
|
+
"The name of a TypeScript function in the component implementation library that will return an object that applies the required component interface.",
|
|
1092
|
+
"When the user configures a custom component in a canvas app or a model-driven app, the data in the manifest filters out the available components so that only the valid components for the context are available for configuration. The properties defined in the manifest for a component are rendered as configuration fields so that the user configuring the component can specify values. These property values are then available to the component function at run time."
|
|
1093
|
+
],
|
|
1094
|
+
"Available for": [
|
|
1095
|
+
"Model-driven and canvas apps"
|
|
1096
|
+
],
|
|
1097
|
+
"Child Elements": [],
|
|
1098
|
+
"Example": [],
|
|
1099
|
+
"Related articles": [
|
|
1100
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
1101
|
+
],
|
|
1102
|
+
"Feedback": [
|
|
1103
|
+
"Was this page helpful?",
|
|
1104
|
+
"Need help with this topic?",
|
|
1105
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
1106
|
+
],
|
|
1107
|
+
"Additional resources": [
|
|
1108
|
+
"Events",
|
|
1109
|
+
"FabCon Atlanta",
|
|
1110
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
1111
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
1112
|
+
"Last updated on 02/07/2023"
|
|
1113
|
+
]
|
|
1114
|
+
},
|
|
1115
|
+
"tables": [
|
|
1116
|
+
{
|
|
1117
|
+
"label": "Child Elements",
|
|
1118
|
+
"heading": "Child Elements",
|
|
1119
|
+
"headers": [
|
|
1120
|
+
"Element",
|
|
1121
|
+
"Description",
|
|
1122
|
+
"Occurrences",
|
|
1123
|
+
"Available for"
|
|
1124
|
+
],
|
|
1125
|
+
"rows": [
|
|
1126
|
+
[
|
|
1127
|
+
"control",
|
|
1128
|
+
"Defines the component's namespace, version, and display information.",
|
|
1129
|
+
"1",
|
|
1130
|
+
"Model-driven and canvas apps"
|
|
1131
|
+
]
|
|
1132
|
+
]
|
|
1133
|
+
}
|
|
1134
|
+
],
|
|
1135
|
+
"code_blocks": [
|
|
1136
|
+
{
|
|
1137
|
+
"language": "xml",
|
|
1138
|
+
"code": "<?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<manifest>\n <control namespace=\"MyNameSpace\"\n constructor=\"JSHelloWorldControl\"\n version=\"1.0.0\"\n display-name-key=\"JS_HelloWorldControl_Display_Key\"\n description-key=\"JS_HelloWorldControl_Desc_Key\"\n control-type=\"standard\">\n <property name=\"myFirstProperty\"\n display-name-key=\"myFirstProperty_Display_Key\"\n description-key=\"myFirstProperty_Desc_Key\"\n of-type=\"SingleLine.Text\"\n usage=\"bound\"\n required=\"true\" />\n <resources>\n <code path=\"JS_HelloWorldControl.js\"\n order=\"1\" />\n <css path=\"css/JS_HelloWorldControl.css\"\n order=\"1\" />\n </resources>\n </control>\n</manifest>",
|
|
1139
|
+
"heading": "Example"
|
|
1140
|
+
}
|
|
1141
|
+
],
|
|
1142
|
+
"slug": "manifest",
|
|
1143
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/manifest"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"title": "platform-action element",
|
|
1147
|
+
"summary": "",
|
|
1148
|
+
"available_for": [
|
|
1149
|
+
"Model-driven apps"
|
|
1150
|
+
],
|
|
1151
|
+
"sections": {
|
|
1152
|
+
"Share via": [
|
|
1153
|
+
"Note",
|
|
1154
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
1155
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
1156
|
+
],
|
|
1157
|
+
"In this article": [
|
|
1158
|
+
"Available for",
|
|
1159
|
+
"Parameters",
|
|
1160
|
+
"Parent Elements",
|
|
1161
|
+
"Used to specify that control dependencies load on demand instead of when the control is loaded."
|
|
1162
|
+
],
|
|
1163
|
+
"Available for": [
|
|
1164
|
+
"Model-driven apps"
|
|
1165
|
+
],
|
|
1166
|
+
"Parameters": [],
|
|
1167
|
+
"Parent Elements": [],
|
|
1168
|
+
"Example": [],
|
|
1169
|
+
"Related articles": [
|
|
1170
|
+
"Dependent Libraries (preview)\nPower Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
1171
|
+
],
|
|
1172
|
+
"Feedback": [
|
|
1173
|
+
"Was this page helpful?",
|
|
1174
|
+
"Need help with this topic?",
|
|
1175
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
1176
|
+
],
|
|
1177
|
+
"Additional resources": [
|
|
1178
|
+
"Events",
|
|
1179
|
+
"FabCon Atlanta",
|
|
1180
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
1181
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
1182
|
+
"Last updated on 03/25/2025"
|
|
1183
|
+
]
|
|
1184
|
+
},
|
|
1185
|
+
"tables": [
|
|
1186
|
+
{
|
|
1187
|
+
"label": "Parameters",
|
|
1188
|
+
"heading": "Parameters",
|
|
1189
|
+
"headers": [
|
|
1190
|
+
"Name",
|
|
1191
|
+
"Description",
|
|
1192
|
+
"Type",
|
|
1193
|
+
"Required",
|
|
1194
|
+
"Available for"
|
|
1195
|
+
],
|
|
1196
|
+
"rows": [
|
|
1197
|
+
[
|
|
1198
|
+
"action-type",
|
|
1199
|
+
"Set to afterPageLoad",
|
|
1200
|
+
"string",
|
|
1201
|
+
"No",
|
|
1202
|
+
"Model-driven apps"
|
|
1203
|
+
]
|
|
1204
|
+
]
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"label": "Parent Elements",
|
|
1208
|
+
"heading": "Parent Elements",
|
|
1209
|
+
"headers": [
|
|
1210
|
+
"Element",
|
|
1211
|
+
"Description"
|
|
1212
|
+
],
|
|
1213
|
+
"rows": [
|
|
1214
|
+
[
|
|
1215
|
+
"control",
|
|
1216
|
+
"Defines the component's namespace, version, and display information."
|
|
1217
|
+
]
|
|
1218
|
+
]
|
|
1219
|
+
}
|
|
1220
|
+
],
|
|
1221
|
+
"code_blocks": [
|
|
1222
|
+
{
|
|
1223
|
+
"language": "xml",
|
|
1224
|
+
"code": "<platform-action action-type=\"afterPageLoad\" />",
|
|
1225
|
+
"heading": "Example"
|
|
1226
|
+
}
|
|
1227
|
+
],
|
|
1228
|
+
"slug": "platform-action",
|
|
1229
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/platform-action"
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"title": "platform-library element",
|
|
1233
|
+
"summary": "",
|
|
1234
|
+
"available_for": [
|
|
1235
|
+
"Model-driven and canvas apps"
|
|
1236
|
+
],
|
|
1237
|
+
"sections": {
|
|
1238
|
+
"Share via": [
|
|
1239
|
+
"Note",
|
|
1240
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
1241
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
1242
|
+
],
|
|
1243
|
+
"In this article": [
|
|
1244
|
+
"Available for",
|
|
1245
|
+
"Attributes",
|
|
1246
|
+
"Parent Elements",
|
|
1247
|
+
"Example",
|
|
1248
|
+
"The platform library to use as a resource.\nThis element is used in the React controls & platform libraries (Preview) ."
|
|
1249
|
+
],
|
|
1250
|
+
"Available for": [
|
|
1251
|
+
"Model-driven and canvas apps"
|
|
1252
|
+
],
|
|
1253
|
+
"Attributes": [],
|
|
1254
|
+
"Parent Elements": [],
|
|
1255
|
+
"Example": [],
|
|
1256
|
+
"Related articles": [
|
|
1257
|
+
"React controls & platform libraries\nPower Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
1258
|
+
],
|
|
1259
|
+
"Feedback": [
|
|
1260
|
+
"Was this page helpful?",
|
|
1261
|
+
"Need help with this topic?",
|
|
1262
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
1263
|
+
],
|
|
1264
|
+
"Additional resources": [
|
|
1265
|
+
"Events",
|
|
1266
|
+
"FabCon Atlanta",
|
|
1267
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
1268
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
1269
|
+
"Last updated on 12/05/2024"
|
|
1270
|
+
]
|
|
1271
|
+
},
|
|
1272
|
+
"tables": [
|
|
1273
|
+
{
|
|
1274
|
+
"label": "Attributes",
|
|
1275
|
+
"heading": "Attributes",
|
|
1276
|
+
"headers": [
|
|
1277
|
+
"Name",
|
|
1278
|
+
"Description",
|
|
1279
|
+
"Type",
|
|
1280
|
+
"Required",
|
|
1281
|
+
"Available for"
|
|
1282
|
+
],
|
|
1283
|
+
"rows": [
|
|
1284
|
+
[
|
|
1285
|
+
"name",
|
|
1286
|
+
"Either React or Fluent.",
|
|
1287
|
+
"string",
|
|
1288
|
+
"Yes",
|
|
1289
|
+
"Model-driven and canvas apps"
|
|
1290
|
+
],
|
|
1291
|
+
[
|
|
1292
|
+
"version",
|
|
1293
|
+
"The current version of the platform library",
|
|
1294
|
+
"string",
|
|
1295
|
+
"Yes",
|
|
1296
|
+
"Model-driven and canvas apps"
|
|
1297
|
+
]
|
|
1298
|
+
]
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
"label": "Parent Elements",
|
|
1302
|
+
"heading": "Parent Elements",
|
|
1303
|
+
"headers": [
|
|
1304
|
+
"Element",
|
|
1305
|
+
"Description"
|
|
1306
|
+
],
|
|
1307
|
+
"rows": [
|
|
1308
|
+
[
|
|
1309
|
+
"resources",
|
|
1310
|
+
"The resources node in the component manifest refers to the resource files that component requires to implement it's visualization."
|
|
1311
|
+
]
|
|
1312
|
+
]
|
|
1313
|
+
}
|
|
1314
|
+
],
|
|
1315
|
+
"code_blocks": [
|
|
1316
|
+
{
|
|
1317
|
+
"language": "xml",
|
|
1318
|
+
"code": "<resources>\n <code path=\"index.ts\" order=\"1\" />\n <platform-library name=\"React\" version=\"16.14.0\" />\n <platform-library name=\"Fluent\" version=\"9.46.2\" />\n</resources>",
|
|
1319
|
+
"heading": "Example"
|
|
1320
|
+
}
|
|
1321
|
+
],
|
|
1322
|
+
"slug": "platform-library",
|
|
1323
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/platform-library"
|
|
1324
|
+
},
|
|
1325
|
+
{
|
|
1326
|
+
"title": "property element",
|
|
1327
|
+
"summary": "",
|
|
1328
|
+
"available_for": [
|
|
1329
|
+
"Model-driven and canvas apps"
|
|
1330
|
+
],
|
|
1331
|
+
"sections": {
|
|
1332
|
+
"Share via": [
|
|
1333
|
+
"Note",
|
|
1334
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
1335
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
1336
|
+
],
|
|
1337
|
+
"In this article": [
|
|
1338
|
+
"Available for",
|
|
1339
|
+
"Properties",
|
|
1340
|
+
"Parent Elements",
|
|
1341
|
+
"Example",
|
|
1342
|
+
"The property node defines a specific, configurable piece of data that the component expects from the Microsoft Dataverse."
|
|
1343
|
+
],
|
|
1344
|
+
"Available for": [
|
|
1345
|
+
"Model-driven and canvas apps"
|
|
1346
|
+
],
|
|
1347
|
+
"Properties": [],
|
|
1348
|
+
"Remarks": [
|
|
1349
|
+
"This section contains guidance about using the Property element attributes."
|
|
1350
|
+
],
|
|
1351
|
+
"Using of-type": [
|
|
1352
|
+
"The of-type property value must be one of the following:",
|
|
1353
|
+
"Warning",
|
|
1354
|
+
"If the manifest.xml file contains at least one dataset, then properties of type Lookup.Simple should be also wrapped into the data-set element."
|
|
1355
|
+
],
|
|
1356
|
+
"Value elements that aren't supported": [
|
|
1357
|
+
"Following of-type property values aren't supported currently:",
|
|
1358
|
+
"Note",
|
|
1359
|
+
"At this time File columns are not supported. More information: File columns"
|
|
1360
|
+
],
|
|
1361
|
+
"Using pfx-default-value": [
|
|
1362
|
+
"Use the pfx-default-value property value to evaluate events and properties using Power Fx expressions instead of static default values. You can use this to:",
|
|
1363
|
+
"Responsively size the control",
|
|
1364
|
+
"Access connectors",
|
|
1365
|
+
"Provide sample data",
|
|
1366
|
+
"Reference theme properties",
|
|
1367
|
+
"Custom events",
|
|
1368
|
+
"Note",
|
|
1369
|
+
"You can use any Power Fx expression, but you must make sure the expression is valid when importing the control.",
|
|
1370
|
+
"If you use inner quotes or other special characters, wrap the value in single quotes, For example: pfx-default-value='\"Test\"'",
|
|
1371
|
+
"You can reference other controls (including screens) and their properties. Write these references as: %ControlName.ID%.ControlProperty. For example: pfx-default-value='SubmitForm(%MyFormName.ID%)'",
|
|
1372
|
+
"Write enums, like DisplayType and ScreenTransition as: %EnumName.RESERVED%.EnumValue. For example: pfx-default-value='Back(%ScreenTransition.RESERVED%.Cover)'",
|
|
1373
|
+
"If pfx-default-value is included, then it takes precedence over default-value."
|
|
1374
|
+
],
|
|
1375
|
+
"Parent Elements": [],
|
|
1376
|
+
"Example": [],
|
|
1377
|
+
"Related articles": [
|
|
1378
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
1379
|
+
],
|
|
1380
|
+
"Feedback": [
|
|
1381
|
+
"Was this page helpful?",
|
|
1382
|
+
"Need help with this topic?",
|
|
1383
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
1384
|
+
],
|
|
1385
|
+
"Additional resources": [
|
|
1386
|
+
"Events",
|
|
1387
|
+
"FabCon Atlanta",
|
|
1388
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
1389
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
1390
|
+
"Last updated on 11/22/2023"
|
|
1391
|
+
]
|
|
1392
|
+
},
|
|
1393
|
+
"tables": [
|
|
1394
|
+
{
|
|
1395
|
+
"label": "Properties",
|
|
1396
|
+
"heading": "Properties",
|
|
1397
|
+
"headers": [
|
|
1398
|
+
"Name",
|
|
1399
|
+
"Description",
|
|
1400
|
+
"Type",
|
|
1401
|
+
"Required",
|
|
1402
|
+
"Available for"
|
|
1403
|
+
],
|
|
1404
|
+
"rows": [
|
|
1405
|
+
[
|
|
1406
|
+
"default-value",
|
|
1407
|
+
"The default configuration value provided to the component. In model-driven apps, this property is only allowed on inputs since the bound parameters expect to have a column associated.",
|
|
1408
|
+
"string",
|
|
1409
|
+
"Optional",
|
|
1410
|
+
"Model-driven apps"
|
|
1411
|
+
],
|
|
1412
|
+
[
|
|
1413
|
+
"description-key",
|
|
1414
|
+
"Used in the customization screens as localized strings that describes the description of the property.",
|
|
1415
|
+
"string",
|
|
1416
|
+
"Optional",
|
|
1417
|
+
"Model-driven and canvas apps"
|
|
1418
|
+
],
|
|
1419
|
+
[
|
|
1420
|
+
"display-name-key",
|
|
1421
|
+
"Used in the customization screens as localized strings that describes the name of the property.",
|
|
1422
|
+
"string",
|
|
1423
|
+
"Yes",
|
|
1424
|
+
"Model-driven apps"
|
|
1425
|
+
],
|
|
1426
|
+
[
|
|
1427
|
+
"name",
|
|
1428
|
+
"Name of the property",
|
|
1429
|
+
"string",
|
|
1430
|
+
"Yes",
|
|
1431
|
+
"Model-driven and canvas apps"
|
|
1432
|
+
],
|
|
1433
|
+
[
|
|
1434
|
+
"of-type-group",
|
|
1435
|
+
"Name of the type-group as defined in manifest",
|
|
1436
|
+
"string",
|
|
1437
|
+
"Optional",
|
|
1438
|
+
"Model-driven apps"
|
|
1439
|
+
],
|
|
1440
|
+
[
|
|
1441
|
+
"of-type",
|
|
1442
|
+
"Defines the data type of the property",
|
|
1443
|
+
"See Using of-type",
|
|
1444
|
+
"Optional",
|
|
1445
|
+
"Model-driven and canvas apps"
|
|
1446
|
+
],
|
|
1447
|
+
[
|
|
1448
|
+
"pfx-default-value",
|
|
1449
|
+
"The default PFX expression value provided to the component.",
|
|
1450
|
+
"See Using pfx-default-value",
|
|
1451
|
+
"Optional",
|
|
1452
|
+
"Canvas apps"
|
|
1453
|
+
],
|
|
1454
|
+
[
|
|
1455
|
+
"required",
|
|
1456
|
+
"Whether the property is required or not",
|
|
1457
|
+
"boolean",
|
|
1458
|
+
"Optional",
|
|
1459
|
+
"Model-driven apps"
|
|
1460
|
+
],
|
|
1461
|
+
[
|
|
1462
|
+
"usage",
|
|
1463
|
+
"The usage property identifies if the property is meant to represent a column that the component can change (bound), read-only (input) or output values",
|
|
1464
|
+
"bound, input or output",
|
|
1465
|
+
"Yes",
|
|
1466
|
+
"Model-driven apps"
|
|
1467
|
+
]
|
|
1468
|
+
]
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
"label": "Using of-type",
|
|
1472
|
+
"heading": "Using of-type",
|
|
1473
|
+
"headers": [
|
|
1474
|
+
"Value",
|
|
1475
|
+
"Description",
|
|
1476
|
+
"Available for"
|
|
1477
|
+
],
|
|
1478
|
+
"rows": [
|
|
1479
|
+
[
|
|
1480
|
+
"Currency",
|
|
1481
|
+
"Monetary values between -922,337,203,685,477 and 922,337,203,685,477 can be in this column.",
|
|
1482
|
+
"Model-driven and canvas apps"
|
|
1483
|
+
],
|
|
1484
|
+
[
|
|
1485
|
+
"DateAndTime.DateAndTime",
|
|
1486
|
+
"Displays date and time.",
|
|
1487
|
+
"Model-driven and canvas apps"
|
|
1488
|
+
],
|
|
1489
|
+
[
|
|
1490
|
+
"DateAndTime.DateOnly",
|
|
1491
|
+
"Displays date only.",
|
|
1492
|
+
"Model-driven and canvas apps"
|
|
1493
|
+
],
|
|
1494
|
+
[
|
|
1495
|
+
"Decimal",
|
|
1496
|
+
"Up to 10 decimal points of precision can be used for values between -100,000,000,000 and -100,000,000,000 can be in this column.",
|
|
1497
|
+
"Model-driven and canvas apps"
|
|
1498
|
+
],
|
|
1499
|
+
[
|
|
1500
|
+
"Enum",
|
|
1501
|
+
"Enumerated data type.",
|
|
1502
|
+
"Model-driven and canvas apps"
|
|
1503
|
+
],
|
|
1504
|
+
[
|
|
1505
|
+
"FP",
|
|
1506
|
+
"Up to five decimal points of precision can be used for values between -100,000,000,000 and -100,000,000,000 can be in this column.",
|
|
1507
|
+
"Model-driven and canvas apps"
|
|
1508
|
+
],
|
|
1509
|
+
[
|
|
1510
|
+
"Lookup.Simple",
|
|
1511
|
+
"Allows for a single reference to a specific table. All custom lookups are this type.",
|
|
1512
|
+
"Model-driven apps"
|
|
1513
|
+
],
|
|
1514
|
+
[
|
|
1515
|
+
"Multiple",
|
|
1516
|
+
"This column can contain up to 1,048,576 text characters.",
|
|
1517
|
+
"Model-driven and canvas apps"
|
|
1518
|
+
],
|
|
1519
|
+
[
|
|
1520
|
+
"MultiSelectOptionSet",
|
|
1521
|
+
"You can customize forms (main, quick create, and quick view) and email templates by adding choices columns. When you add choices column, you can specify multiple values that are available for users to select. When users fill out the form they can select one, multiple, or all the values displayed in a drop-down list.",
|
|
1522
|
+
"Model-driven and canvas apps"
|
|
1523
|
+
],
|
|
1524
|
+
[
|
|
1525
|
+
"Object",
|
|
1526
|
+
"Object data type. Can only be used with output properties.",
|
|
1527
|
+
"Model-driven and canvas apps"
|
|
1528
|
+
],
|
|
1529
|
+
[
|
|
1530
|
+
"OptionSet",
|
|
1531
|
+
"This column provides a set of options. Each option has a number value and label. When added to a form, this column displays a control for users to select only one option.",
|
|
1532
|
+
"Model-driven and canvas apps"
|
|
1533
|
+
],
|
|
1534
|
+
[
|
|
1535
|
+
"SingleLine.Email",
|
|
1536
|
+
"This stores the string time in the format valid for Emails. Out-of-the-box Unified Interface controls automatically make them clickable links.",
|
|
1537
|
+
"Model-driven and canvas apps"
|
|
1538
|
+
],
|
|
1539
|
+
[
|
|
1540
|
+
"SingleLine.Phone",
|
|
1541
|
+
"This stores the string time in the format valid for Phone. Out-of-the-box Unified Interface controls automatically make them clickable links.",
|
|
1542
|
+
"Model-driven and canvas apps"
|
|
1543
|
+
],
|
|
1544
|
+
[
|
|
1545
|
+
"SingleLine.Text",
|
|
1546
|
+
"This option simply displays text.",
|
|
1547
|
+
"Model-driven and canvas apps"
|
|
1548
|
+
],
|
|
1549
|
+
[
|
|
1550
|
+
"SingleLine.TextArea",
|
|
1551
|
+
"This format option can be used to display multiple lines of text. But with a limit of 4000 characters, the Multiple Lines of Text column is a better choice if large amounts of text are expected.",
|
|
1552
|
+
"Model-driven and canvas apps"
|
|
1553
|
+
],
|
|
1554
|
+
[
|
|
1555
|
+
"SingleLine.Ticker",
|
|
1556
|
+
"This stores the string time in the format valid for Ticker. Out-of-the-box Unified Interface controls automatically make them clickable links.",
|
|
1557
|
+
"Model-driven and canvas apps"
|
|
1558
|
+
],
|
|
1559
|
+
[
|
|
1560
|
+
"SingleLine.URL",
|
|
1561
|
+
"The text expected to provide a hyperlink to open the page specified. Out-of-the-box Unified Interface controls automatically prepend \"https://\" to input values that doesn't begin with a valid protocol. Only HTTP, HTTPS, FTP, FTPS, OneNote and TEL protocols are expected in this column.",
|
|
1562
|
+
"Model-driven and canvas apps"
|
|
1563
|
+
],
|
|
1564
|
+
[
|
|
1565
|
+
"TwoOptions",
|
|
1566
|
+
"This column provides two options. Each option has a number value of 0 or 1 corresponding to a false or true value. Each option also has a label so that true or false values can be represented as \"Yes\" and \"No\", \"Hot\" and \"Cold\", \"On\" and \"Off\" or any pair of labels you want to display.",
|
|
1567
|
+
"Model-driven and canvas apps"
|
|
1568
|
+
],
|
|
1569
|
+
[
|
|
1570
|
+
"Whole.None",
|
|
1571
|
+
"This option simply displays a number.",
|
|
1572
|
+
"Model-driven and canvas apps"
|
|
1573
|
+
]
|
|
1574
|
+
]
|
|
1575
|
+
},
|
|
1576
|
+
{
|
|
1577
|
+
"label": "Value elements that aren't supported",
|
|
1578
|
+
"heading": "Value elements that aren't supported",
|
|
1579
|
+
"headers": [
|
|
1580
|
+
"Value",
|
|
1581
|
+
"Description"
|
|
1582
|
+
],
|
|
1583
|
+
"rows": [
|
|
1584
|
+
[
|
|
1585
|
+
"Lookup.Customer",
|
|
1586
|
+
"Allows for a single reference to either an account or a contact record. These lookups are available for the Opportunity, Case, Quote, Order, and Invoice tables. These tables also have separate Account and Contact lookups that you can use if your customers are always one type. Or you can include both instead of using the Customer lookup."
|
|
1587
|
+
],
|
|
1588
|
+
[
|
|
1589
|
+
"Lookup.Owner",
|
|
1590
|
+
"Allows for a single reference to either a team or a user record. All team or user-owned tables have one of these."
|
|
1591
|
+
],
|
|
1592
|
+
[
|
|
1593
|
+
"Lookup.PartyList",
|
|
1594
|
+
"Allows for multiple references to multiple tables. These lookups are found on the Email table To and Cc columns. They're also used in the Phone and Appointment tables."
|
|
1595
|
+
],
|
|
1596
|
+
[
|
|
1597
|
+
"Lookup.Regarding",
|
|
1598
|
+
"Allows for a single reference to multiple tables. These lookups are found in the regarding column used in activities."
|
|
1599
|
+
],
|
|
1600
|
+
[
|
|
1601
|
+
"Status Reason",
|
|
1602
|
+
"A system column that has options that provide more detail about the Status column. Each option is associated with one of the available Status options. You can add and edit the options."
|
|
1603
|
+
],
|
|
1604
|
+
[
|
|
1605
|
+
"Status",
|
|
1606
|
+
"A system column that has options that generally correspond to active and inactive status. Some system columns have more options, but all custom columns have only Active and Inactive status options."
|
|
1607
|
+
],
|
|
1608
|
+
[
|
|
1609
|
+
"Whole.Duration",
|
|
1610
|
+
"This format option can be used to display a list of duration options. But the data stored in the database is always a number of minutes. The column looks like a drop-down list and provides suggested options like 1 minute, 15 minutes, 30 minutes all the way up to three days. People can choose these options. However, people can also just type in a number of minutes and it resolves to that period of time."
|
|
1611
|
+
],
|
|
1612
|
+
[
|
|
1613
|
+
"Whole.Language",
|
|
1614
|
+
"This option displays a list of the languages provisioned for your organization. The values are displayed as a drop-down list of language names, but the data is stored as a number using LCID codes. Language codes are four-digit or five-digit locale IDs. Valid locale ID values can be found at Locale ID (LCID) Chart)."
|
|
1615
|
+
],
|
|
1616
|
+
[
|
|
1617
|
+
"Whole.TimeZone",
|
|
1618
|
+
"This option displays a select list of time zones such as (GMT-12:00) International Date Line West and (GMT-08:00) Pacific Time (US & Canada). Each of these zones is stored as a number. For example, for the time zone (GMT-08:00) Pacific Time (US & Canada), the TimeZoneCode is 4."
|
|
1619
|
+
]
|
|
1620
|
+
]
|
|
1621
|
+
},
|
|
1622
|
+
{
|
|
1623
|
+
"label": "Parent Elements",
|
|
1624
|
+
"heading": "Parent Elements",
|
|
1625
|
+
"headers": [
|
|
1626
|
+
"Element",
|
|
1627
|
+
"Description"
|
|
1628
|
+
],
|
|
1629
|
+
"rows": [
|
|
1630
|
+
[
|
|
1631
|
+
"control",
|
|
1632
|
+
"Defines the component's namespace, version, and display information."
|
|
1633
|
+
]
|
|
1634
|
+
]
|
|
1635
|
+
}
|
|
1636
|
+
],
|
|
1637
|
+
"code_blocks": [
|
|
1638
|
+
{
|
|
1639
|
+
"language": "xml",
|
|
1640
|
+
"code": "<property name=\"myFirstProperty\" display-name-key=\"myFirstProperty_Display_Key\"\ndescription-key=\"myFirstProperty_Desc_Key\" of-type=\"SingleLine.Text\" usage=\"bound\" required=\"true\" />",
|
|
1641
|
+
"heading": "Example"
|
|
1642
|
+
}
|
|
1643
|
+
],
|
|
1644
|
+
"slug": "property",
|
|
1645
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/property"
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"title": "property-dependencies element",
|
|
1649
|
+
"summary": "",
|
|
1650
|
+
"available_for": [
|
|
1651
|
+
"Canvas apps"
|
|
1652
|
+
],
|
|
1653
|
+
"sections": {
|
|
1654
|
+
"Share via": [
|
|
1655
|
+
"Note",
|
|
1656
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
1657
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
1658
|
+
],
|
|
1659
|
+
"In this article": [
|
|
1660
|
+
"Available for",
|
|
1661
|
+
"Parent Elements",
|
|
1662
|
+
"Child Elements",
|
|
1663
|
+
"Defines a group of property-dependencies."
|
|
1664
|
+
],
|
|
1665
|
+
"Available for": [
|
|
1666
|
+
"Canvas apps"
|
|
1667
|
+
],
|
|
1668
|
+
"Parent Elements": [],
|
|
1669
|
+
"Child Elements": [],
|
|
1670
|
+
"Example": [],
|
|
1671
|
+
"Related articles": [
|
|
1672
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
1673
|
+
],
|
|
1674
|
+
"Feedback": [
|
|
1675
|
+
"Was this page helpful?",
|
|
1676
|
+
"Need help with this topic?",
|
|
1677
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
1678
|
+
],
|
|
1679
|
+
"Additional resources": [
|
|
1680
|
+
"Events",
|
|
1681
|
+
"FabCon Atlanta",
|
|
1682
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
1683
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
1684
|
+
"Last updated on 03/25/2025"
|
|
1685
|
+
]
|
|
1686
|
+
},
|
|
1687
|
+
"tables": [
|
|
1688
|
+
{
|
|
1689
|
+
"label": "Parent Elements",
|
|
1690
|
+
"heading": "Parent Elements",
|
|
1691
|
+
"headers": [
|
|
1692
|
+
"Element",
|
|
1693
|
+
"Description"
|
|
1694
|
+
],
|
|
1695
|
+
"rows": [
|
|
1696
|
+
[
|
|
1697
|
+
"control",
|
|
1698
|
+
"Defines the component's namespace, version, and display information."
|
|
1699
|
+
]
|
|
1700
|
+
]
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"label": "Child Elements",
|
|
1704
|
+
"heading": "Child Elements",
|
|
1705
|
+
"headers": [
|
|
1706
|
+
"Element",
|
|
1707
|
+
"Description",
|
|
1708
|
+
"Occurrences",
|
|
1709
|
+
"Available for"
|
|
1710
|
+
],
|
|
1711
|
+
"rows": [
|
|
1712
|
+
[
|
|
1713
|
+
"property-dependency",
|
|
1714
|
+
"A property dependency in the property-dependencies node. Defines dependency between two properties.",
|
|
1715
|
+
"1 or more",
|
|
1716
|
+
"Canvas apps"
|
|
1717
|
+
]
|
|
1718
|
+
]
|
|
1719
|
+
}
|
|
1720
|
+
],
|
|
1721
|
+
"code_blocks": [
|
|
1722
|
+
{
|
|
1723
|
+
"language": "xml",
|
|
1724
|
+
"code": "<property-dependencies>\n <property-dependency input=\"Text\" output=\"Photos\" required-for=\"schema\" />\n</property-dependencies>",
|
|
1725
|
+
"heading": "Example"
|
|
1726
|
+
}
|
|
1727
|
+
],
|
|
1728
|
+
"slug": "property-dependencies",
|
|
1729
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/property-dependencies"
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"title": "property-dependency element",
|
|
1733
|
+
"summary": "",
|
|
1734
|
+
"available_for": [
|
|
1735
|
+
"Canvas apps"
|
|
1736
|
+
],
|
|
1737
|
+
"sections": {
|
|
1738
|
+
"Share via": [
|
|
1739
|
+
"Note",
|
|
1740
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
1741
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
1742
|
+
],
|
|
1743
|
+
"In this article": [
|
|
1744
|
+
"Available for",
|
|
1745
|
+
"Parameters",
|
|
1746
|
+
"Parent Elements",
|
|
1747
|
+
"A property dependency in the property-dependencies node. Defines dependency between two properties."
|
|
1748
|
+
],
|
|
1749
|
+
"Available for": [
|
|
1750
|
+
"Canvas apps"
|
|
1751
|
+
],
|
|
1752
|
+
"Parameters": [],
|
|
1753
|
+
"Parent Elements": [],
|
|
1754
|
+
"Example": [],
|
|
1755
|
+
"Related articles": [
|
|
1756
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
1757
|
+
],
|
|
1758
|
+
"Feedback": [
|
|
1759
|
+
"Was this page helpful?",
|
|
1760
|
+
"Need help with this topic?",
|
|
1761
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
1762
|
+
],
|
|
1763
|
+
"Additional resources": [
|
|
1764
|
+
"Events",
|
|
1765
|
+
"FabCon Atlanta",
|
|
1766
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
1767
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
1768
|
+
"Last updated on 12/01/2022"
|
|
1769
|
+
]
|
|
1770
|
+
},
|
|
1771
|
+
"tables": [
|
|
1772
|
+
{
|
|
1773
|
+
"label": "Parameters",
|
|
1774
|
+
"heading": "Parameters",
|
|
1775
|
+
"headers": [
|
|
1776
|
+
"Name",
|
|
1777
|
+
"Description",
|
|
1778
|
+
"Type",
|
|
1779
|
+
"Required",
|
|
1780
|
+
"Available for"
|
|
1781
|
+
],
|
|
1782
|
+
"rows": [
|
|
1783
|
+
[
|
|
1784
|
+
"input",
|
|
1785
|
+
"The name of the input property.",
|
|
1786
|
+
"string",
|
|
1787
|
+
"yes",
|
|
1788
|
+
"Canvas apps"
|
|
1789
|
+
],
|
|
1790
|
+
[
|
|
1791
|
+
"output",
|
|
1792
|
+
"The name of the output property.",
|
|
1793
|
+
"string",
|
|
1794
|
+
"yes",
|
|
1795
|
+
"Canvas apps"
|
|
1796
|
+
],
|
|
1797
|
+
[
|
|
1798
|
+
"required-for",
|
|
1799
|
+
"Helps identify the property dependency requirement. Currently, the only supported value is schema.",
|
|
1800
|
+
"string",
|
|
1801
|
+
"yes",
|
|
1802
|
+
"Canvas apps"
|
|
1803
|
+
]
|
|
1804
|
+
]
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
"label": "Parent Elements",
|
|
1808
|
+
"heading": "Parent Elements",
|
|
1809
|
+
"headers": [
|
|
1810
|
+
"Element",
|
|
1811
|
+
"Description"
|
|
1812
|
+
],
|
|
1813
|
+
"rows": [
|
|
1814
|
+
[
|
|
1815
|
+
"property-dependencies",
|
|
1816
|
+
"Defines a group of property-dependencies."
|
|
1817
|
+
]
|
|
1818
|
+
]
|
|
1819
|
+
}
|
|
1820
|
+
],
|
|
1821
|
+
"code_blocks": [
|
|
1822
|
+
{
|
|
1823
|
+
"language": "xml",
|
|
1824
|
+
"code": "<property-dependencies>\n <property-dependency input=\"Text\" output=\"Photos\" required-for=\"schema\" />\n</property-dependencies>",
|
|
1825
|
+
"heading": "Example"
|
|
1826
|
+
}
|
|
1827
|
+
],
|
|
1828
|
+
"slug": "property-dependency",
|
|
1829
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/property-dependency"
|
|
1830
|
+
},
|
|
1831
|
+
{
|
|
1832
|
+
"title": "property-set element",
|
|
1833
|
+
"summary": "",
|
|
1834
|
+
"available_for": [
|
|
1835
|
+
"Model-driven and canvas apps"
|
|
1836
|
+
],
|
|
1837
|
+
"sections": {
|
|
1838
|
+
"Share via": [
|
|
1839
|
+
"Note",
|
|
1840
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
1841
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
1842
|
+
],
|
|
1843
|
+
"In this article": [
|
|
1844
|
+
"Available for",
|
|
1845
|
+
"Properties",
|
|
1846
|
+
"Parent Elements",
|
|
1847
|
+
"Child Elements",
|
|
1848
|
+
"Defines an inner configuration within a dataset manifest node to allow you to explicitly configure a column of your dataset against a column of a given type from the table against which the dataset is configured."
|
|
1849
|
+
],
|
|
1850
|
+
"Available for": [
|
|
1851
|
+
"Model-driven and canvas apps"
|
|
1852
|
+
],
|
|
1853
|
+
"Properties": [],
|
|
1854
|
+
"Parent Elements": [],
|
|
1855
|
+
"Child Elements": [],
|
|
1856
|
+
"Remarks": [
|
|
1857
|
+
"The of-type attribute value must be one of the following:",
|
|
1858
|
+
"Warning",
|
|
1859
|
+
"If the manifest.xml file contains at least one dataset, then properties of type Lookup.Simple should be also wrapped into the data-set element."
|
|
1860
|
+
],
|
|
1861
|
+
"Value elements that aren't supported": [
|
|
1862
|
+
"Following of-type property values aren't supported currently:",
|
|
1863
|
+
"Note",
|
|
1864
|
+
"At this time File columns are not supported. More information: File columns"
|
|
1865
|
+
],
|
|
1866
|
+
"Related articles": [
|
|
1867
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
1868
|
+
],
|
|
1869
|
+
"Feedback": [
|
|
1870
|
+
"Was this page helpful?",
|
|
1871
|
+
"Need help with this topic?",
|
|
1872
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
1873
|
+
],
|
|
1874
|
+
"Additional resources": [
|
|
1875
|
+
"Events",
|
|
1876
|
+
"FabCon Atlanta",
|
|
1877
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
1878
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
1879
|
+
"Last updated on 09/28/2023"
|
|
1880
|
+
]
|
|
1881
|
+
},
|
|
1882
|
+
"tables": [
|
|
1883
|
+
{
|
|
1884
|
+
"label": "Properties",
|
|
1885
|
+
"heading": "Properties",
|
|
1886
|
+
"headers": [
|
|
1887
|
+
"Name",
|
|
1888
|
+
"Description",
|
|
1889
|
+
"Type",
|
|
1890
|
+
"Required",
|
|
1891
|
+
"Available for"
|
|
1892
|
+
],
|
|
1893
|
+
"rows": [
|
|
1894
|
+
[
|
|
1895
|
+
"name",
|
|
1896
|
+
"Name of the column.",
|
|
1897
|
+
"string",
|
|
1898
|
+
"Yes",
|
|
1899
|
+
"Model-driven and canvas apps"
|
|
1900
|
+
],
|
|
1901
|
+
[
|
|
1902
|
+
"display-name-key",
|
|
1903
|
+
"Used in customization screens as localized strings that describe the name of the property.",
|
|
1904
|
+
"string",
|
|
1905
|
+
"Yes",
|
|
1906
|
+
"Model-driven and canvas apps"
|
|
1907
|
+
],
|
|
1908
|
+
[
|
|
1909
|
+
"description-key",
|
|
1910
|
+
"Used in customization screens as localized strings that describe the description of the property.",
|
|
1911
|
+
"string",
|
|
1912
|
+
"Optional",
|
|
1913
|
+
"Model-driven apps"
|
|
1914
|
+
],
|
|
1915
|
+
[
|
|
1916
|
+
"of-type",
|
|
1917
|
+
"Defines the data type of the property",
|
|
1918
|
+
"See Remarks",
|
|
1919
|
+
"Optional",
|
|
1920
|
+
"Model-driven apps"
|
|
1921
|
+
],
|
|
1922
|
+
[
|
|
1923
|
+
"required",
|
|
1924
|
+
"Indicates whether the property is required or not.",
|
|
1925
|
+
"boolean",
|
|
1926
|
+
"Optional",
|
|
1927
|
+
"Model-driven apps"
|
|
1928
|
+
],
|
|
1929
|
+
[
|
|
1930
|
+
"of-type-group",
|
|
1931
|
+
"Name of the type-group as defined in manifest.",
|
|
1932
|
+
"string",
|
|
1933
|
+
"Optional",
|
|
1934
|
+
"Model-driven apps"
|
|
1935
|
+
],
|
|
1936
|
+
[
|
|
1937
|
+
"usage",
|
|
1938
|
+
"The usage property identifies if the property is meant to represent a table column that the component can change (bound) or read-only values (input).",
|
|
1939
|
+
"bound or input",
|
|
1940
|
+
"Yes",
|
|
1941
|
+
"Model-driven apps"
|
|
1942
|
+
]
|
|
1943
|
+
]
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"label": "Parent Elements",
|
|
1947
|
+
"heading": "Parent Elements",
|
|
1948
|
+
"headers": [
|
|
1949
|
+
"Element",
|
|
1950
|
+
"Description"
|
|
1951
|
+
],
|
|
1952
|
+
"rows": [
|
|
1953
|
+
[
|
|
1954
|
+
"dataset",
|
|
1955
|
+
"The dataset node in the component manifest represents a specific, configurable representation of a set of table records."
|
|
1956
|
+
]
|
|
1957
|
+
]
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
"label": "Child Elements",
|
|
1961
|
+
"heading": "Child Elements",
|
|
1962
|
+
"headers": [
|
|
1963
|
+
"Element",
|
|
1964
|
+
"Description",
|
|
1965
|
+
"Occurrences"
|
|
1966
|
+
],
|
|
1967
|
+
"rows": [
|
|
1968
|
+
[
|
|
1969
|
+
"types",
|
|
1970
|
+
"",
|
|
1971
|
+
"0 or more"
|
|
1972
|
+
]
|
|
1973
|
+
]
|
|
1974
|
+
},
|
|
1975
|
+
{
|
|
1976
|
+
"label": "Remarks",
|
|
1977
|
+
"heading": "Remarks",
|
|
1978
|
+
"headers": [
|
|
1979
|
+
"Value",
|
|
1980
|
+
"Description",
|
|
1981
|
+
"Available for"
|
|
1982
|
+
],
|
|
1983
|
+
"rows": [
|
|
1984
|
+
[
|
|
1985
|
+
"Currency",
|
|
1986
|
+
"Monetary values between -922,337,203,685,477 and 922,337,203,685,477 can be in this column.",
|
|
1987
|
+
"Model-driven and canvas apps"
|
|
1988
|
+
],
|
|
1989
|
+
[
|
|
1990
|
+
"DateAndTime.DateAndTime",
|
|
1991
|
+
"Displays date and time.",
|
|
1992
|
+
"Model-driven and canvas apps"
|
|
1993
|
+
],
|
|
1994
|
+
[
|
|
1995
|
+
"DateAndTime.DateOnly",
|
|
1996
|
+
"Displays date only.",
|
|
1997
|
+
"Model-driven and canvas apps"
|
|
1998
|
+
],
|
|
1999
|
+
[
|
|
2000
|
+
"Decimal",
|
|
2001
|
+
"Up to 10 decimal points of precision can be used for values between -100,000,000,000 and -100,000,000,000 can be in this column.",
|
|
2002
|
+
"Model-driven and canvas apps"
|
|
2003
|
+
],
|
|
2004
|
+
[
|
|
2005
|
+
"Enum",
|
|
2006
|
+
"Enumerated data type.",
|
|
2007
|
+
"Model-driven and canvas apps"
|
|
2008
|
+
],
|
|
2009
|
+
[
|
|
2010
|
+
"FP",
|
|
2011
|
+
"Up to five decimal points of precision can be used for values between -100,000,000,000 and -100,000,000,000 can be in this column.",
|
|
2012
|
+
"Model-driven and canvas apps"
|
|
2013
|
+
],
|
|
2014
|
+
[
|
|
2015
|
+
"Lookup.Simple",
|
|
2016
|
+
"Allows for a single reference to a specific table. All custom lookups are this type.",
|
|
2017
|
+
"Model-driven apps"
|
|
2018
|
+
],
|
|
2019
|
+
[
|
|
2020
|
+
"Multiple",
|
|
2021
|
+
"This column can contain up to 1,048,576 text characters.",
|
|
2022
|
+
"Model-driven and canvas apps"
|
|
2023
|
+
],
|
|
2024
|
+
[
|
|
2025
|
+
"MultiSelectOptionSet",
|
|
2026
|
+
"You can customize forms (main, quick create, and quick view) and email templates by adding choices columns. When you add choices column, you can specify multiple values that are available for users to select. When users fill out the form they can select one, multiple, or all the values displayed in a drop-down list.",
|
|
2027
|
+
"Model-driven and canvas apps"
|
|
2028
|
+
],
|
|
2029
|
+
[
|
|
2030
|
+
"Object",
|
|
2031
|
+
"Object data type. Can only be used with output properties.",
|
|
2032
|
+
"Model-driven and canvas apps"
|
|
2033
|
+
],
|
|
2034
|
+
[
|
|
2035
|
+
"OptionSet",
|
|
2036
|
+
"This column provides a set of options. Each option has a number value and label. When added to a form, this column displays a control for users to select only one option.",
|
|
2037
|
+
"Model-driven and canvas apps"
|
|
2038
|
+
],
|
|
2039
|
+
[
|
|
2040
|
+
"SingleLine.Email",
|
|
2041
|
+
"This stores the string time in the format valid for Emails. Out-of-the-box Unified Interface controls automatically make them clickable links.",
|
|
2042
|
+
"Model-driven and canvas apps"
|
|
2043
|
+
],
|
|
2044
|
+
[
|
|
2045
|
+
"SingleLine.Phone",
|
|
2046
|
+
"This stores the string time in the format valid for Phone. Out-of-the-box Unified Interface controls automatically make them clickable links.",
|
|
2047
|
+
"Model-driven and canvas apps"
|
|
2048
|
+
],
|
|
2049
|
+
[
|
|
2050
|
+
"SingleLine.Text",
|
|
2051
|
+
"This option simply displays text.",
|
|
2052
|
+
"Model-driven and canvas apps"
|
|
2053
|
+
],
|
|
2054
|
+
[
|
|
2055
|
+
"SingleLine.TextArea",
|
|
2056
|
+
"This format option can be used to display multiple lines of text. But with a limit of 4000 characters, the Multiple Lines of Text column is a better choice if large amounts of text are expected.",
|
|
2057
|
+
"Model-driven and canvas apps"
|
|
2058
|
+
],
|
|
2059
|
+
[
|
|
2060
|
+
"SingleLine.Ticker",
|
|
2061
|
+
"This stores the string time in the format valid for Ticker. Out-of-the-box Unified Interface controls automatically make them clickable links.",
|
|
2062
|
+
"Model-driven and canvas apps"
|
|
2063
|
+
],
|
|
2064
|
+
[
|
|
2065
|
+
"SingleLine.URL",
|
|
2066
|
+
"The text expected to provide a hyperlink to open the page specified. Out-of-the-box Unified Interface controls automatically prepend \"https://\" to input values that doesn't begin with a valid protocol. Only HTTP, HTTPS, FTP, FTPS, OneNote and TEL protocols are expected in this column.",
|
|
2067
|
+
"Model-driven and canvas apps"
|
|
2068
|
+
],
|
|
2069
|
+
[
|
|
2070
|
+
"TwoOptions",
|
|
2071
|
+
"This column provides two options. Each option has a number value of 0 or 1 corresponding to a false or true value. Each option also has a label so that true or false values can be represented as \"Yes\" and \"No\", \"Hot\" and \"Cold\", \"On\" and \"Off\" or any pair of labels you want to display.",
|
|
2072
|
+
"Model-driven and canvas apps"
|
|
2073
|
+
],
|
|
2074
|
+
[
|
|
2075
|
+
"Whole.None",
|
|
2076
|
+
"This option simply displays a number.",
|
|
2077
|
+
"Model-driven and canvas apps"
|
|
2078
|
+
]
|
|
2079
|
+
]
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"label": "Value elements that aren't supported",
|
|
2083
|
+
"heading": "Value elements that aren't supported",
|
|
2084
|
+
"headers": [
|
|
2085
|
+
"Value",
|
|
2086
|
+
"Description"
|
|
2087
|
+
],
|
|
2088
|
+
"rows": [
|
|
2089
|
+
[
|
|
2090
|
+
"Lookup.Customer",
|
|
2091
|
+
"Allows for a single reference to either an account or a contact record. These lookups are available for the Opportunity, Case, Quote, Order, and Invoice tables. These tables also have separate Account and Contact lookups that you can use if your customers are always one type. Or you can include both instead of using the Customer lookup."
|
|
2092
|
+
],
|
|
2093
|
+
[
|
|
2094
|
+
"Lookup.Owner",
|
|
2095
|
+
"Allows for a single reference to either a team or a user record. All team or user-owned tables have one of these."
|
|
2096
|
+
],
|
|
2097
|
+
[
|
|
2098
|
+
"Lookup.PartyList",
|
|
2099
|
+
"Allows for multiple references to multiple tables. These lookups are found on the Email table To and Cc columns. They're also used in the Phone and Appointment tables."
|
|
2100
|
+
],
|
|
2101
|
+
[
|
|
2102
|
+
"Lookup.Regarding",
|
|
2103
|
+
"Allows for a single reference to multiple tables. These lookups are found in the regarding column used in activities."
|
|
2104
|
+
],
|
|
2105
|
+
[
|
|
2106
|
+
"Status Reason",
|
|
2107
|
+
"A system column that has options that provide more detail about the Status column. Each option is associated with one of the available Status options. You can add and edit the options."
|
|
2108
|
+
],
|
|
2109
|
+
[
|
|
2110
|
+
"Status",
|
|
2111
|
+
"A system column that has options that generally correspond to active and inactive status. Some system columns have more options, but all custom columns have only Active and Inactive status options."
|
|
2112
|
+
],
|
|
2113
|
+
[
|
|
2114
|
+
"Whole.Duration",
|
|
2115
|
+
"This format option can be used to display a list of duration options. But the data stored in the database is always a number of minutes. The column looks like a drop-down list and provides suggested options like 1 minute, 15 minutes, 30 minutes all the way up to three days. People can choose these options. However, people can also just type in a number of minutes and it resolves to that period of time."
|
|
2116
|
+
],
|
|
2117
|
+
[
|
|
2118
|
+
"Whole.Language",
|
|
2119
|
+
"This option displays a list of the languages provisioned for your organization. The values are displayed as a drop-down list of language names, but the data is stored as a number using LCID codes. Language codes are four-digit or five-digit locale IDs. Valid locale ID values can be found at Locale ID (LCID) Chart)."
|
|
2120
|
+
],
|
|
2121
|
+
[
|
|
2122
|
+
"Whole.TimeZone",
|
|
2123
|
+
"This option displays a select list of time zones such as (GMT-12:00) International Date Line West and (GMT-08:00) Pacific Time (US & Canada). Each of these zones is stored as a number. For example, for the time zone (GMT-08:00) Pacific Time (US & Canada), the TimeZoneCode is 4."
|
|
2124
|
+
]
|
|
2125
|
+
]
|
|
2126
|
+
}
|
|
2127
|
+
],
|
|
2128
|
+
"code_blocks": [],
|
|
2129
|
+
"slug": "property-set",
|
|
2130
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/property-set"
|
|
2131
|
+
},
|
|
2132
|
+
{
|
|
2133
|
+
"title": "resources element",
|
|
2134
|
+
"summary": "",
|
|
2135
|
+
"available_for": [
|
|
2136
|
+
"Model-driven and canvas apps"
|
|
2137
|
+
],
|
|
2138
|
+
"sections": {
|
|
2139
|
+
"Share via": [
|
|
2140
|
+
"Note",
|
|
2141
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
2142
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
2143
|
+
],
|
|
2144
|
+
"In this article": [
|
|
2145
|
+
"Available for",
|
|
2146
|
+
"Parent Elements",
|
|
2147
|
+
"Child Elements",
|
|
2148
|
+
"Example",
|
|
2149
|
+
"The resources node in the component manifest refers to the resource files that component requires to implement it's visualization."
|
|
2150
|
+
],
|
|
2151
|
+
"Available for": [
|
|
2152
|
+
"Model-driven and canvas apps"
|
|
2153
|
+
],
|
|
2154
|
+
"Parent Elements": [],
|
|
2155
|
+
"Child Elements": [],
|
|
2156
|
+
"Example": [],
|
|
2157
|
+
"Related articles": [
|
|
2158
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
2159
|
+
],
|
|
2160
|
+
"Feedback": [
|
|
2161
|
+
"Was this page helpful?",
|
|
2162
|
+
"Need help with this topic?",
|
|
2163
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
2164
|
+
],
|
|
2165
|
+
"Additional resources": [
|
|
2166
|
+
"Events",
|
|
2167
|
+
"FabCon Atlanta",
|
|
2168
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
2169
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
2170
|
+
"Last updated on 03/25/2025"
|
|
2171
|
+
]
|
|
2172
|
+
},
|
|
2173
|
+
"tables": [
|
|
2174
|
+
{
|
|
2175
|
+
"label": "Parent Elements",
|
|
2176
|
+
"heading": "Parent Elements",
|
|
2177
|
+
"headers": [
|
|
2178
|
+
"Element",
|
|
2179
|
+
"Description"
|
|
2180
|
+
],
|
|
2181
|
+
"rows": [
|
|
2182
|
+
[
|
|
2183
|
+
"control",
|
|
2184
|
+
"Defines the component's namespace, version, and display information."
|
|
2185
|
+
]
|
|
2186
|
+
]
|
|
2187
|
+
},
|
|
2188
|
+
{
|
|
2189
|
+
"label": "Child Elements",
|
|
2190
|
+
"heading": "Child Elements",
|
|
2191
|
+
"headers": [
|
|
2192
|
+
"Element",
|
|
2193
|
+
"Description",
|
|
2194
|
+
"Occurrences"
|
|
2195
|
+
],
|
|
2196
|
+
"rows": [
|
|
2197
|
+
[
|
|
2198
|
+
"code",
|
|
2199
|
+
"Refers to the path where the resource files are located.",
|
|
2200
|
+
"1"
|
|
2201
|
+
],
|
|
2202
|
+
[
|
|
2203
|
+
"css",
|
|
2204
|
+
"CSS describes how code components are to be displayed on UI.",
|
|
2205
|
+
"0 or more"
|
|
2206
|
+
],
|
|
2207
|
+
[
|
|
2208
|
+
"img",
|
|
2209
|
+
"The img web resource allows you to add images for the code components.",
|
|
2210
|
+
"0 or more"
|
|
2211
|
+
],
|
|
2212
|
+
[
|
|
2213
|
+
"resx",
|
|
2214
|
+
"The resx webresource is used to manage the localized strings you define.",
|
|
2215
|
+
"0 or more"
|
|
2216
|
+
],
|
|
2217
|
+
[
|
|
2218
|
+
"platform-library",
|
|
2219
|
+
"The platform library to use as a resource.\nThis element is used in the React controls & platform libraries (Preview) .",
|
|
2220
|
+
"0 or more"
|
|
2221
|
+
],
|
|
2222
|
+
[
|
|
2223
|
+
"dependency",
|
|
2224
|
+
"Refers to a library in another component that this component depends on.",
|
|
2225
|
+
"0 or more"
|
|
2226
|
+
]
|
|
2227
|
+
]
|
|
2228
|
+
}
|
|
2229
|
+
],
|
|
2230
|
+
"code_blocks": [
|
|
2231
|
+
{
|
|
2232
|
+
"language": "xml",
|
|
2233
|
+
"code": "<resources>\n <code path=\"JS_HelloWorldControl.js\" order=\"1\" />\n <css path=\"css/JS_HelloWorldControl.css\" order=\"1\" />\n</resources>",
|
|
2234
|
+
"heading": "Example"
|
|
2235
|
+
}
|
|
2236
|
+
],
|
|
2237
|
+
"slug": "resources",
|
|
2238
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/resources"
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
"title": "resx element",
|
|
2242
|
+
"summary": "",
|
|
2243
|
+
"available_for": [
|
|
2244
|
+
"Model-driven and canvas apps"
|
|
2245
|
+
],
|
|
2246
|
+
"sections": {
|
|
2247
|
+
"Share via": [
|
|
2248
|
+
"Note",
|
|
2249
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
2250
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
2251
|
+
],
|
|
2252
|
+
"In this article": [
|
|
2253
|
+
"Available for",
|
|
2254
|
+
"Parameters",
|
|
2255
|
+
"Parent Elements",
|
|
2256
|
+
"Example",
|
|
2257
|
+
"The resx webresource is used to manage the localized strings you define."
|
|
2258
|
+
],
|
|
2259
|
+
"Available for": [
|
|
2260
|
+
"Model-driven and canvas apps"
|
|
2261
|
+
],
|
|
2262
|
+
"Parameters": [],
|
|
2263
|
+
"Parent Elements": [],
|
|
2264
|
+
"Example": [],
|
|
2265
|
+
"Related articles": [
|
|
2266
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
2267
|
+
],
|
|
2268
|
+
"Feedback": [
|
|
2269
|
+
"Was this page helpful?",
|
|
2270
|
+
"Need help with this topic?",
|
|
2271
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
2272
|
+
],
|
|
2273
|
+
"Additional resources": [
|
|
2274
|
+
"Events",
|
|
2275
|
+
"FabCon Atlanta",
|
|
2276
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
2277
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
2278
|
+
"Last updated on 03/25/2025"
|
|
2279
|
+
]
|
|
2280
|
+
},
|
|
2281
|
+
"tables": [
|
|
2282
|
+
{
|
|
2283
|
+
"label": "Parameters",
|
|
2284
|
+
"heading": "Parameters",
|
|
2285
|
+
"headers": [
|
|
2286
|
+
"Name",
|
|
2287
|
+
"Description",
|
|
2288
|
+
"Type",
|
|
2289
|
+
"Required"
|
|
2290
|
+
],
|
|
2291
|
+
"rows": [
|
|
2292
|
+
[
|
|
2293
|
+
"path",
|
|
2294
|
+
"Relative path w.r.t manifest where resx files are located",
|
|
2295
|
+
"string",
|
|
2296
|
+
"Yes"
|
|
2297
|
+
],
|
|
2298
|
+
[
|
|
2299
|
+
"version",
|
|
2300
|
+
"The current version of the resx file",
|
|
2301
|
+
"string",
|
|
2302
|
+
"Yes"
|
|
2303
|
+
]
|
|
2304
|
+
]
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"label": "Parent Elements",
|
|
2308
|
+
"heading": "Parent Elements",
|
|
2309
|
+
"headers": [
|
|
2310
|
+
"Element",
|
|
2311
|
+
"Description"
|
|
2312
|
+
],
|
|
2313
|
+
"rows": [
|
|
2314
|
+
[
|
|
2315
|
+
"resources",
|
|
2316
|
+
"The resources node in the component manifest refers to the resource files that component requires to implement it's visualization."
|
|
2317
|
+
]
|
|
2318
|
+
]
|
|
2319
|
+
}
|
|
2320
|
+
],
|
|
2321
|
+
"code_blocks": [
|
|
2322
|
+
{
|
|
2323
|
+
"language": "xml",
|
|
2324
|
+
"code": "<resources>\n <code path=\"TS_LocalizationAPI.js\" order=\"1\" />\n <css path=\"css/TS_LocalizationAPI.css\" order=\"1\" />\n <resx path=\"strings/TSLocalizationAPI.1033.resx\" version=\"1.0.0\" />\n <resx path=\"strings/TSLocalizationAPI.1035.resx\" version=\"1.0.0\" />\n <resx path=\"strings/TSLocalizationAPI.3082.resx\" version=\"1.0.0\" />\n </resources>",
|
|
2325
|
+
"heading": "Example"
|
|
2326
|
+
}
|
|
2327
|
+
],
|
|
2328
|
+
"slug": "resx",
|
|
2329
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/resx"
|
|
2330
|
+
},
|
|
2331
|
+
{
|
|
2332
|
+
"title": "type",
|
|
2333
|
+
"summary": "",
|
|
2334
|
+
"available_for": [
|
|
2335
|
+
"Model-driven apps"
|
|
2336
|
+
],
|
|
2337
|
+
"sections": {
|
|
2338
|
+
"Share via": [
|
|
2339
|
+
"Note",
|
|
2340
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
2341
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
2342
|
+
],
|
|
2343
|
+
"In this article": [
|
|
2344
|
+
"Available for",
|
|
2345
|
+
"Parent Elements",
|
|
2346
|
+
"Value element",
|
|
2347
|
+
"The type in the type-group node defines the data type."
|
|
2348
|
+
],
|
|
2349
|
+
"Available for": [
|
|
2350
|
+
"Model-driven apps"
|
|
2351
|
+
],
|
|
2352
|
+
"Parent Elements": [],
|
|
2353
|
+
"Value element": [
|
|
2354
|
+
"This element contains a string with one of the following values:",
|
|
2355
|
+
"Warning",
|
|
2356
|
+
"If the manifest.xml file contains at least one dataset, then properties of type Lookup.Simple should be also wrapped into the data-set element."
|
|
2357
|
+
],
|
|
2358
|
+
"Value elements that aren't supported": [
|
|
2359
|
+
"Following of-type property values aren't supported currently:",
|
|
2360
|
+
"Note",
|
|
2361
|
+
"At this time File columns are not supported. More information: File columns"
|
|
2362
|
+
],
|
|
2363
|
+
"Example for Enum type": [],
|
|
2364
|
+
"Related articles": [
|
|
2365
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
2366
|
+
],
|
|
2367
|
+
"Feedback": [
|
|
2368
|
+
"Was this page helpful?",
|
|
2369
|
+
"Need help with this topic?",
|
|
2370
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
2371
|
+
],
|
|
2372
|
+
"Additional resources": [
|
|
2373
|
+
"Events",
|
|
2374
|
+
"FabCon Atlanta",
|
|
2375
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
2376
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
2377
|
+
"Last updated on 09/28/2023"
|
|
2378
|
+
]
|
|
2379
|
+
},
|
|
2380
|
+
"tables": [
|
|
2381
|
+
{
|
|
2382
|
+
"label": "Parent Elements",
|
|
2383
|
+
"heading": "Parent Elements",
|
|
2384
|
+
"headers": [
|
|
2385
|
+
"Element",
|
|
2386
|
+
"Description"
|
|
2387
|
+
],
|
|
2388
|
+
"rows": [
|
|
2389
|
+
[
|
|
2390
|
+
"type-group",
|
|
2391
|
+
"The type-group node defines a set of types identified by a single name. This information can be used to identify the data types supported by a specific property."
|
|
2392
|
+
]
|
|
2393
|
+
]
|
|
2394
|
+
},
|
|
2395
|
+
{
|
|
2396
|
+
"label": "Value element",
|
|
2397
|
+
"heading": "Value element",
|
|
2398
|
+
"headers": [
|
|
2399
|
+
"Value",
|
|
2400
|
+
"Description",
|
|
2401
|
+
"Available for"
|
|
2402
|
+
],
|
|
2403
|
+
"rows": [
|
|
2404
|
+
[
|
|
2405
|
+
"Currency",
|
|
2406
|
+
"Monetary values between -922,337,203,685,477 and 922,337,203,685,477 can be in this column.",
|
|
2407
|
+
"Model-driven and canvas apps"
|
|
2408
|
+
],
|
|
2409
|
+
[
|
|
2410
|
+
"DateAndTime.DateAndTime",
|
|
2411
|
+
"Displays date and time.",
|
|
2412
|
+
"Model-driven and canvas apps"
|
|
2413
|
+
],
|
|
2414
|
+
[
|
|
2415
|
+
"DateAndTime.DateOnly",
|
|
2416
|
+
"Displays date only.",
|
|
2417
|
+
"Model-driven and canvas apps"
|
|
2418
|
+
],
|
|
2419
|
+
[
|
|
2420
|
+
"Decimal",
|
|
2421
|
+
"Up to 10 decimal points of precision can be used for values between -100,000,000,000 and -100,000,000,000 can be in this column.",
|
|
2422
|
+
"Model-driven and canvas apps"
|
|
2423
|
+
],
|
|
2424
|
+
[
|
|
2425
|
+
"Enum",
|
|
2426
|
+
"Enumerated data type.",
|
|
2427
|
+
"Model-driven and canvas apps"
|
|
2428
|
+
],
|
|
2429
|
+
[
|
|
2430
|
+
"FP",
|
|
2431
|
+
"Up to five decimal points of precision can be used for values between -100,000,000,000 and -100,000,000,000 can be in this column.",
|
|
2432
|
+
"Model-driven and canvas apps"
|
|
2433
|
+
],
|
|
2434
|
+
[
|
|
2435
|
+
"Lookup.Simple",
|
|
2436
|
+
"Allows for a single reference to a specific table. All custom lookups are this type.",
|
|
2437
|
+
"Model-driven apps"
|
|
2438
|
+
],
|
|
2439
|
+
[
|
|
2440
|
+
"Multiple",
|
|
2441
|
+
"This column can contain up to 1,048,576 text characters.",
|
|
2442
|
+
"Model-driven and canvas apps"
|
|
2443
|
+
],
|
|
2444
|
+
[
|
|
2445
|
+
"MultiSelectOptionSet",
|
|
2446
|
+
"You can customize forms (main, quick create, and quick view) and email templates by adding choices columns. When you add choices column, you can specify multiple values that are available for users to select. When users fill out the form they can select one, multiple, or all the values displayed in a drop-down list.",
|
|
2447
|
+
"Model-driven and canvas apps"
|
|
2448
|
+
],
|
|
2449
|
+
[
|
|
2450
|
+
"Object",
|
|
2451
|
+
"Object data type. Can only be used with output properties.",
|
|
2452
|
+
"Model-driven and canvas apps"
|
|
2453
|
+
],
|
|
2454
|
+
[
|
|
2455
|
+
"OptionSet",
|
|
2456
|
+
"This column provides a set of options. Each option has a number value and label. When added to a form, this column displays a control for users to select only one option.",
|
|
2457
|
+
"Model-driven and canvas apps"
|
|
2458
|
+
],
|
|
2459
|
+
[
|
|
2460
|
+
"SingleLine.Email",
|
|
2461
|
+
"This stores the string time in the format valid for Emails. Out-of-the-box Unified Interface controls automatically make them clickable links.",
|
|
2462
|
+
"Model-driven and canvas apps"
|
|
2463
|
+
],
|
|
2464
|
+
[
|
|
2465
|
+
"SingleLine.Phone",
|
|
2466
|
+
"This stores the string time in the format valid for Phone. Out-of-the-box Unified Interface controls automatically make them clickable links.",
|
|
2467
|
+
"Model-driven and canvas apps"
|
|
2468
|
+
],
|
|
2469
|
+
[
|
|
2470
|
+
"SingleLine.Text",
|
|
2471
|
+
"This option simply displays text.",
|
|
2472
|
+
"Model-driven and canvas apps"
|
|
2473
|
+
],
|
|
2474
|
+
[
|
|
2475
|
+
"SingleLine.TextArea",
|
|
2476
|
+
"This format option can be used to display multiple lines of text. But with a limit of 4000 characters, the Multiple Lines of Text column is a better choice if large amounts of text are expected.",
|
|
2477
|
+
"Model-driven and canvas apps"
|
|
2478
|
+
],
|
|
2479
|
+
[
|
|
2480
|
+
"SingleLine.Ticker",
|
|
2481
|
+
"This stores the string time in the format valid for Ticker. Out-of-the-box Unified Interface controls automatically make them clickable links.",
|
|
2482
|
+
"Model-driven and canvas apps"
|
|
2483
|
+
],
|
|
2484
|
+
[
|
|
2485
|
+
"SingleLine.URL",
|
|
2486
|
+
"The text expected to provide a hyperlink to open the page specified. Out-of-the-box Unified Interface controls automatically prepend \"https://\" to input values that doesn't begin with a valid protocol. Only HTTP, HTTPS, FTP, FTPS, OneNote and TEL protocols are expected in this column.",
|
|
2487
|
+
"Model-driven and canvas apps"
|
|
2488
|
+
],
|
|
2489
|
+
[
|
|
2490
|
+
"TwoOptions",
|
|
2491
|
+
"This column provides two options. Each option has a number value of 0 or 1 corresponding to a false or true value. Each option also has a label so that true or false values can be represented as \"Yes\" and \"No\", \"Hot\" and \"Cold\", \"On\" and \"Off\" or any pair of labels you want to display.",
|
|
2492
|
+
"Model-driven and canvas apps"
|
|
2493
|
+
],
|
|
2494
|
+
[
|
|
2495
|
+
"Whole.None",
|
|
2496
|
+
"This option simply displays a number.",
|
|
2497
|
+
"Model-driven and canvas apps"
|
|
2498
|
+
]
|
|
2499
|
+
]
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"label": "Value elements that aren't supported",
|
|
2503
|
+
"heading": "Value elements that aren't supported",
|
|
2504
|
+
"headers": [
|
|
2505
|
+
"Value",
|
|
2506
|
+
"Description"
|
|
2507
|
+
],
|
|
2508
|
+
"rows": [
|
|
2509
|
+
[
|
|
2510
|
+
"Lookup.Customer",
|
|
2511
|
+
"Allows for a single reference to either an account or a contact record. These lookups are available for the Opportunity, Case, Quote, Order, and Invoice tables. These tables also have separate Account and Contact lookups that you can use if your customers are always one type. Or you can include both instead of using the Customer lookup."
|
|
2512
|
+
],
|
|
2513
|
+
[
|
|
2514
|
+
"Lookup.Owner",
|
|
2515
|
+
"Allows for a single reference to either a team or a user record. All team or user-owned tables have one of these."
|
|
2516
|
+
],
|
|
2517
|
+
[
|
|
2518
|
+
"Lookup.PartyList",
|
|
2519
|
+
"Allows for multiple references to multiple tables. These lookups are found on the Email table To and Cc columns. They're also used in the Phone and Appointment tables."
|
|
2520
|
+
],
|
|
2521
|
+
[
|
|
2522
|
+
"Lookup.Regarding",
|
|
2523
|
+
"Allows for a single reference to multiple tables. These lookups are found in the regarding column used in activities."
|
|
2524
|
+
],
|
|
2525
|
+
[
|
|
2526
|
+
"Status Reason",
|
|
2527
|
+
"A system column that has options that provide more detail about the Status column. Each option is associated with one of the available Status options. You can add and edit the options."
|
|
2528
|
+
],
|
|
2529
|
+
[
|
|
2530
|
+
"Status",
|
|
2531
|
+
"A system column that has options that generally correspond to active and inactive status. Some system columns have more options, but all custom columns have only Active and Inactive status options."
|
|
2532
|
+
],
|
|
2533
|
+
[
|
|
2534
|
+
"Whole.Duration",
|
|
2535
|
+
"This format option can be used to display a list of duration options. But the data stored in the database is always a number of minutes. The column looks like a drop-down list and provides suggested options like 1 minute, 15 minutes, 30 minutes all the way up to three days. People can choose these options. However, people can also just type in a number of minutes and it resolves to that period of time."
|
|
2536
|
+
],
|
|
2537
|
+
[
|
|
2538
|
+
"Whole.Language",
|
|
2539
|
+
"This option displays a list of the languages provisioned for your organization. The values are displayed as a drop-down list of language names, but the data is stored as a number using LCID codes. Language codes are four-digit or five-digit locale IDs. Valid locale ID values can be found at Locale ID (LCID) Chart)."
|
|
2540
|
+
],
|
|
2541
|
+
[
|
|
2542
|
+
"Whole.TimeZone",
|
|
2543
|
+
"This option displays a select list of time zones such as (GMT-12:00) International Date Line West and (GMT-08:00) Pacific Time (US & Canada). Each of these zones is stored as a number. For example, for the time zone (GMT-08:00) Pacific Time (US & Canada), the TimeZoneCode is 4."
|
|
2544
|
+
]
|
|
2545
|
+
]
|
|
2546
|
+
}
|
|
2547
|
+
],
|
|
2548
|
+
"code_blocks": [
|
|
2549
|
+
{
|
|
2550
|
+
"language": "xml",
|
|
2551
|
+
"code": "<property name=\"YesNo\" display-name-key=\"YesNo_Display_Key\" description-key=\"YesNo_Desc_Key\" of-type=\"Enum\" usage=\"input\" required=\"false\">\n <value name=\"Yes\" display-name-key=\"Yes\">0</value>\n <value name=\"No\" display-name-key=\"No\">1</value>\n</property>",
|
|
2552
|
+
"heading": "Example for Enum type"
|
|
2553
|
+
}
|
|
2554
|
+
],
|
|
2555
|
+
"slug": "type",
|
|
2556
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/type"
|
|
2557
|
+
},
|
|
2558
|
+
{
|
|
2559
|
+
"title": "type-group element",
|
|
2560
|
+
"summary": "",
|
|
2561
|
+
"available_for": [
|
|
2562
|
+
"Model-driven and canvas apps"
|
|
2563
|
+
],
|
|
2564
|
+
"sections": {
|
|
2565
|
+
"Share via": [
|
|
2566
|
+
"Note",
|
|
2567
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
2568
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
2569
|
+
],
|
|
2570
|
+
"In this article": [
|
|
2571
|
+
"Available for",
|
|
2572
|
+
"Parameters",
|
|
2573
|
+
"Parent Elements",
|
|
2574
|
+
"Child Elements",
|
|
2575
|
+
"The type-group node defines a set of types identified by a single name. This information can be used to identify the data types supported by a specific property."
|
|
2576
|
+
],
|
|
2577
|
+
"Available for": [
|
|
2578
|
+
"Model-driven and canvas apps"
|
|
2579
|
+
],
|
|
2580
|
+
"Parameters": [],
|
|
2581
|
+
"Parent Elements": [],
|
|
2582
|
+
"Child Elements": [
|
|
2583
|
+
"The type-group has a limited support for canvas apps. When the type groups can easily resolve to a common type, the \"most compatible\" type (generally the least specific type) is chosen for the type of the given column. The resolvable type groupings are as follows:",
|
|
2584
|
+
"Strings: SingleLine.Text, Multiple, SingleLine.TextArea, SingleLine.Email, SingleLine.Phone, SingleLine.URL, SingleLine.Ticker.",
|
|
2585
|
+
"Numbers: Decimal, FP, Whole.None, Currency.",
|
|
2586
|
+
"Dates: DateAndTime.DateAndTime, DateAndTime.DateOnly.",
|
|
2587
|
+
"For example, the following type group results in the component receiving the value Decimal as the type for the given parameter's type:",
|
|
2588
|
+
"When a type-group includes a value that is not included in any of the above groups, or includes values from more than one group, the first value listed in the type-group is chosen as the type for that parameter.",
|
|
2589
|
+
"For example, the following type group results in the component receiving the value TwoOptions for the given parameter's type:",
|
|
2590
|
+
"While the following would again receive \"Decimal\":"
|
|
2591
|
+
],
|
|
2592
|
+
"Example": [],
|
|
2593
|
+
"Related articles": [
|
|
2594
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
2595
|
+
],
|
|
2596
|
+
"Feedback": [
|
|
2597
|
+
"Was this page helpful?",
|
|
2598
|
+
"Need help with this topic?",
|
|
2599
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
2600
|
+
],
|
|
2601
|
+
"Additional resources": [
|
|
2602
|
+
"Events",
|
|
2603
|
+
"FabCon Atlanta",
|
|
2604
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
2605
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
2606
|
+
"Last updated on 05/28/2022"
|
|
2607
|
+
]
|
|
2608
|
+
},
|
|
2609
|
+
"tables": [
|
|
2610
|
+
{
|
|
2611
|
+
"label": "Parameters",
|
|
2612
|
+
"heading": "Parameters",
|
|
2613
|
+
"headers": [
|
|
2614
|
+
"Name",
|
|
2615
|
+
"Description",
|
|
2616
|
+
"Type",
|
|
2617
|
+
"Required"
|
|
2618
|
+
],
|
|
2619
|
+
"rows": [
|
|
2620
|
+
[
|
|
2621
|
+
"name",
|
|
2622
|
+
"Name of the data type",
|
|
2623
|
+
"string",
|
|
2624
|
+
"Yes"
|
|
2625
|
+
]
|
|
2626
|
+
]
|
|
2627
|
+
},
|
|
2628
|
+
{
|
|
2629
|
+
"label": "Parent Elements",
|
|
2630
|
+
"heading": "Parent Elements",
|
|
2631
|
+
"headers": [
|
|
2632
|
+
"Element",
|
|
2633
|
+
"Description"
|
|
2634
|
+
],
|
|
2635
|
+
"rows": [
|
|
2636
|
+
[
|
|
2637
|
+
"control",
|
|
2638
|
+
"Defines the component's namespace, version, and display information."
|
|
2639
|
+
]
|
|
2640
|
+
]
|
|
2641
|
+
},
|
|
2642
|
+
{
|
|
2643
|
+
"label": "Child Elements",
|
|
2644
|
+
"heading": "Child Elements",
|
|
2645
|
+
"headers": [
|
|
2646
|
+
"Element",
|
|
2647
|
+
"Description",
|
|
2648
|
+
"Occurrences"
|
|
2649
|
+
],
|
|
2650
|
+
"rows": [
|
|
2651
|
+
[
|
|
2652
|
+
"type",
|
|
2653
|
+
"The type in the type-group node defines the data type.",
|
|
2654
|
+
"1 or more"
|
|
2655
|
+
]
|
|
2656
|
+
]
|
|
2657
|
+
}
|
|
2658
|
+
],
|
|
2659
|
+
"code_blocks": [
|
|
2660
|
+
{
|
|
2661
|
+
"language": "xml",
|
|
2662
|
+
"code": "<type-group name=\"numeric\">\n <type>FP</type>\n <type>Decimal</type>\n <type>Whole.None</type>\n</type-group>",
|
|
2663
|
+
"heading": "Child Elements"
|
|
2664
|
+
},
|
|
2665
|
+
{
|
|
2666
|
+
"language": "xml",
|
|
2667
|
+
"code": "<type-group name=\"example1\">\n <type>TwoOptions</type>\n <type>Decimal</type>\n <type>FP</type>\n</type-group>",
|
|
2668
|
+
"heading": "Child Elements"
|
|
2669
|
+
},
|
|
2670
|
+
{
|
|
2671
|
+
"language": "xml",
|
|
2672
|
+
"code": "<type-group name=\"example2\">\n <type>Decimal</type>\n <type>TwoOptions</type>\n <type>FP</type>\n</type-group>",
|
|
2673
|
+
"heading": "Child Elements"
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"language": "xml",
|
|
2677
|
+
"code": "<type-group name=\"numbers\">\n <type>Whole.None</type>\n <type>Currency</type>\n <type>FP</type>\n <type>Decimal</type>\n </type-group>",
|
|
2678
|
+
"heading": "Example"
|
|
2679
|
+
}
|
|
2680
|
+
],
|
|
2681
|
+
"slug": "type-group",
|
|
2682
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/type-group"
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
"title": "types element",
|
|
2686
|
+
"summary": "",
|
|
2687
|
+
"available_for": [
|
|
2688
|
+
"Model-driven and canvas apps"
|
|
2689
|
+
],
|
|
2690
|
+
"sections": {
|
|
2691
|
+
"Share via": [
|
|
2692
|
+
"Note",
|
|
2693
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
2694
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
2695
|
+
],
|
|
2696
|
+
"In this article": [
|
|
2697
|
+
"Available for",
|
|
2698
|
+
"Parent Elements",
|
|
2699
|
+
"Child Elements"
|
|
2700
|
+
],
|
|
2701
|
+
"Available for": [
|
|
2702
|
+
"Model-driven and canvas apps"
|
|
2703
|
+
],
|
|
2704
|
+
"Parent Elements": [],
|
|
2705
|
+
"Child Elements": [],
|
|
2706
|
+
"Related articles": [
|
|
2707
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
2708
|
+
],
|
|
2709
|
+
"Feedback": [
|
|
2710
|
+
"Was this page helpful?",
|
|
2711
|
+
"Need help with this topic?",
|
|
2712
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
2713
|
+
],
|
|
2714
|
+
"Additional resources": [
|
|
2715
|
+
"Events",
|
|
2716
|
+
"FabCon Atlanta",
|
|
2717
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
2718
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
2719
|
+
"Last updated on 03/25/2025"
|
|
2720
|
+
]
|
|
2721
|
+
},
|
|
2722
|
+
"tables": [
|
|
2723
|
+
{
|
|
2724
|
+
"label": "Parent Elements",
|
|
2725
|
+
"heading": "Parent Elements",
|
|
2726
|
+
"headers": [
|
|
2727
|
+
"Element",
|
|
2728
|
+
"Description"
|
|
2729
|
+
],
|
|
2730
|
+
"rows": [
|
|
2731
|
+
[
|
|
2732
|
+
"property",
|
|
2733
|
+
"The property node defines a specific, configurable piece of data that the component expects from the Microsoft Dataverse."
|
|
2734
|
+
]
|
|
2735
|
+
]
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
"label": "Child Elements",
|
|
2739
|
+
"heading": "Child Elements",
|
|
2740
|
+
"headers": [
|
|
2741
|
+
"Element",
|
|
2742
|
+
"Description",
|
|
2743
|
+
"Occurrences"
|
|
2744
|
+
],
|
|
2745
|
+
"rows": [
|
|
2746
|
+
[
|
|
2747
|
+
"type",
|
|
2748
|
+
"The type in the type-group node defines the data type.",
|
|
2749
|
+
"0 or more"
|
|
2750
|
+
]
|
|
2751
|
+
]
|
|
2752
|
+
}
|
|
2753
|
+
],
|
|
2754
|
+
"code_blocks": [],
|
|
2755
|
+
"slug": "types",
|
|
2756
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/types"
|
|
2757
|
+
},
|
|
2758
|
+
{
|
|
2759
|
+
"title": "uses-feature element",
|
|
2760
|
+
"summary": "",
|
|
2761
|
+
"available_for": [
|
|
2762
|
+
"Model-driven apps"
|
|
2763
|
+
],
|
|
2764
|
+
"sections": {
|
|
2765
|
+
"Share via": [
|
|
2766
|
+
"Note",
|
|
2767
|
+
"Access to this page requires authorization. You can try signing in or changing directories.",
|
|
2768
|
+
"Access to this page requires authorization. You can try changing directories."
|
|
2769
|
+
],
|
|
2770
|
+
"In this article": [
|
|
2771
|
+
"Available for",
|
|
2772
|
+
"Parameters",
|
|
2773
|
+
"Parent Element",
|
|
2774
|
+
"Indicates which feature the code components want to use."
|
|
2775
|
+
],
|
|
2776
|
+
"Available for": [
|
|
2777
|
+
"Model-driven apps"
|
|
2778
|
+
],
|
|
2779
|
+
"Parameters": [],
|
|
2780
|
+
"Parent Element": [],
|
|
2781
|
+
"Example": [
|
|
2782
|
+
"The following table shows the relationship of these settings to what happens in the code at runtime whether the feature function is available to call based upon the uses-feature settings defined in the manifest."
|
|
2783
|
+
],
|
|
2784
|
+
"Related articles": [
|
|
2785
|
+
"Power Apps component framework manifest schema reference\nPower Apps component framework API reference\nPower Apps component framework overview"
|
|
2786
|
+
],
|
|
2787
|
+
"Feedback": [
|
|
2788
|
+
"Was this page helpful?",
|
|
2789
|
+
"Need help with this topic?",
|
|
2790
|
+
"Want to try using Ask Learn to clarify or guide you through this topic?"
|
|
2791
|
+
],
|
|
2792
|
+
"Additional resources": [
|
|
2793
|
+
"Events",
|
|
2794
|
+
"FabCon Atlanta",
|
|
2795
|
+
"Mar 16, 11 AM - Mar 20, 11 AM",
|
|
2796
|
+
"Join us for the top Fabric, Power BI, AI & SQL event. Save $200 with code FABLEARN.",
|
|
2797
|
+
"Last updated on 03/25/2025"
|
|
2798
|
+
]
|
|
2799
|
+
},
|
|
2800
|
+
"tables": [
|
|
2801
|
+
{
|
|
2802
|
+
"label": "Parameters",
|
|
2803
|
+
"heading": "Parameters",
|
|
2804
|
+
"headers": [
|
|
2805
|
+
"Element",
|
|
2806
|
+
"Description",
|
|
2807
|
+
"Type",
|
|
2808
|
+
"Required"
|
|
2809
|
+
],
|
|
2810
|
+
"rows": [
|
|
2811
|
+
[
|
|
2812
|
+
"name",
|
|
2813
|
+
"Name of the feature that is declared in the component",
|
|
2814
|
+
"string",
|
|
2815
|
+
"Yes"
|
|
2816
|
+
],
|
|
2817
|
+
[
|
|
2818
|
+
"required",
|
|
2819
|
+
"Indicates if the component requires that feature or not",
|
|
2820
|
+
"boolean",
|
|
2821
|
+
"Yes"
|
|
2822
|
+
]
|
|
2823
|
+
]
|
|
2824
|
+
},
|
|
2825
|
+
{
|
|
2826
|
+
"label": "Parent Element",
|
|
2827
|
+
"heading": "Parent Element",
|
|
2828
|
+
"headers": [
|
|
2829
|
+
"Element",
|
|
2830
|
+
"Description"
|
|
2831
|
+
],
|
|
2832
|
+
"rows": [
|
|
2833
|
+
[
|
|
2834
|
+
"feature-usage",
|
|
2835
|
+
"The feature-usage element acts as a wrapper around the uses-feature elements, which themselves allow developers to declare which features their component wants to use. If there are no uses-feature elements defined, the feature-usage element is not required."
|
|
2836
|
+
]
|
|
2837
|
+
]
|
|
2838
|
+
},
|
|
2839
|
+
{
|
|
2840
|
+
"label": "Example",
|
|
2841
|
+
"heading": "Example",
|
|
2842
|
+
"headers": [
|
|
2843
|
+
"Manifest",
|
|
2844
|
+
"If Host supports",
|
|
2845
|
+
"If Host doesn't support"
|
|
2846
|
+
],
|
|
2847
|
+
"rows": [
|
|
2848
|
+
[
|
|
2849
|
+
"uses-feature name=\"device.captureImage\" required=\"true\"",
|
|
2850
|
+
"Context.device.captureImage != null, no check needed.",
|
|
2851
|
+
"Warning at design time. Component load fails at runtime."
|
|
2852
|
+
],
|
|
2853
|
+
[
|
|
2854
|
+
"uses-feature name=\"device.captureImage\" required=\"false\"",
|
|
2855
|
+
"Context.device.captureImage != null",
|
|
2856
|
+
"Context.device.captureImage == null, component can adaptively check this at runtime."
|
|
2857
|
+
],
|
|
2858
|
+
[
|
|
2859
|
+
"(none)",
|
|
2860
|
+
"Context.device.captureImage == null",
|
|
2861
|
+
"Context.device.captureImage == null"
|
|
2862
|
+
]
|
|
2863
|
+
]
|
|
2864
|
+
}
|
|
2865
|
+
],
|
|
2866
|
+
"code_blocks": [
|
|
2867
|
+
{
|
|
2868
|
+
"language": "xml",
|
|
2869
|
+
"code": "<feature-usage>\n <uses-feature name=\"WebAPI\" required=\"true\" />\n</feature-usage>",
|
|
2870
|
+
"heading": "Example"
|
|
2871
|
+
}
|
|
2872
|
+
],
|
|
2873
|
+
"slug": "uses-feature",
|
|
2874
|
+
"url": "https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/uses-feature"
|
|
2875
|
+
}
|
|
2876
|
+
]
|
|
2877
|
+
}
|