|
1 | 1 | ---
|
2 |
| -title: "FAQ | MicrosoftDocs" |
| 2 | +title: "FAQs | MicrosoftDocs" |
3 | 3 | description: "Frequently asked questions about component framework"
|
4 | 4 | manager: kvivek
|
5 | 5 | ms.date: 10/01/2019
|
6 | 6 | ms.service: "powerapps"
|
7 | 7 | ms.topic: "index-page"
|
8 | 8 | ms.assetid: 9f940264-d7d5-4930-8052-1bd582445d37
|
9 |
| -ms.author: "nabuthuk" |
10 |
| -author: Nkrb |
| 9 | +ms.author: "grhurl" |
| 10 | +author: ghurlman |
| 11 | +ms.reviewer: nkrb |
11 | 12 | ---
|
12 | 13 |
|
13 |
| -# FAQ |
| 14 | +# FAQs |
14 | 15 |
|
15 | 16 | [!INCLUDE[cc-beta-prerelease-disclaimer](../../includes/cc-beta-prerelease-disclaimer.md)]
|
16 | 17 |
|
17 |
| -## Multiple components in single manifest file |
| 18 | +### Component changes are not reflected after the updated solution import? |
18 | 19 |
|
19 |
| -It is not possible to define multiple components in a single manifest file. |
| 20 | +Update the component version (minor or patch) in the component manifest file (for example, 1.0.0 to 1.0.1). |
| 21 | +Every update in the component needs a component version bump to be reflected on the Common Data Service server. |
20 | 22 |
|
21 |
| -## Calling Processes/Actions |
| 23 | +> [!NOTE] |
| 24 | +> - A new solutio must be created everytime if you wish to have a major version bump. Incrementing the major version number (eg 1.0 to 2.0) is not supported as an upgrade. |
| 25 | +> - Only three version sections are supported (i.e. MAJOR.MINOR.PATCH). These version number sections should be between 0 and 65536. |
22 | 26 |
|
23 |
| -This is not supported. As of today, you can only call dialog boxes using the [Navigation](reference/navigation.md) method. |
| 27 | +### What are the things to be considered from a performance perspective? |
24 | 28 |
|
25 |
| -## Calling components within another component |
| 29 | +1. If you wish to access large chunk of data items, implement [filtering](reference/filtering.md) and [paging](reference/paging.md) methods to limit how much data should be loaded. |
| 30 | +2. Batch your network calls, and make any network calls asynchronous. Design the component in such a way that all the required information is provided with a single call. |
| 31 | +3. Design the component such that the user has to perform an action (such as clicking on a button) to initiate the loading of specific item's data rather than making the call for each data item. |
| 32 | +4. Ensure that you clean up the resources using the [destroy](reference/control/destroy.md) function. Open network calls, connections, and event handlers need to be cleaned up to increase the performance. |
26 | 33 |
|
27 |
| -This is not supported. |
| 34 | +### Where can I find some good examples of code components? |
28 | 35 |
|
29 |
| -## Font Resource |
| 36 | +Lots of great examples from the community are available on the [Power Apps Community Forums](https://powerusers.microsoft.com/t5/Power-Apps-Component-Framework/Community-content-sample-components-blogs-etc-Link-to-this-page/td-p/280710). |
30 | 37 |
|
31 |
| -Currently font resource (.tff) is not supported in Power Apps component framework. |
| 38 | +### How to use rich data types in code components such as Collections? |
| 39 | + |
| 40 | +Currently, this feature is not supported. However, there is a [JSON function](https://docs.microsoft.com/powerapps/maker/canvas-apps/functions/function-json) in canvas-apps that allows app makers to stringify their data. |
| 41 | + |
| 42 | +1. Pass the collection into the JSON function. |
| 43 | +2. Pass the string representation of the collection data that is returned from the JSON function into one of the component's string properties. |
| 44 | +3. Use [JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse) in the component code to convert it back into a JavaScript Object. |
| 45 | + |
| 46 | +### How can I define multiple components in a single manifest file? |
| 47 | + |
| 48 | +Defining multiple components in a single manifest file is not supported. |
| 49 | + |
| 50 | +### How can I define behavior properties? |
| 51 | + |
| 52 | +This is not supported at this time. Currently, you can only call dialog boxes using the [Navigation](reference/navigation.md) method in model-driven apps. |
| 53 | + |
| 54 | +### How can I call other components from within another component? |
| 55 | + |
| 56 | +This is not supported natively by the framework. You can use one of many third-party libraries to enable this functionality in your components. |
| 57 | + |
| 58 | +### Can I bundle font resources? |
| 59 | + |
| 60 | +Currently, font resources (files with a .ttf file extension) are not supported by the framework. |
32 | 61 |
|
33 | 62 | ## Related topics
|
34 | 63 |
|
|
0 commit comments