Skip to content

Commit 36766b8

Browse files
committed
Adding image
1 parent 84b001e commit 36766b8

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

powerapps-docs/developer/component-framework/component-framework-for-canvas-apps.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ To add code components to an app, you need to be enable the PowerApps component
5050

5151
5. From the list of available features, turn on the switch under the **PowerApps component framework for canvas apps**.
5252

53+
6. Now, open the app where you want to add the code component and navigate to **File** > **App settings** and select **Advanced settings**.
54+
55+
![Enable components for pcf](media/enable-components-for-pcf.png "Enable components for pcf")
56+
57+
7. Turn on the **Components** switch under the **Experimental feature** section.
58+
59+
60+
5361
## Implementing code components
5462

5563
After you enable the PowerApps component framework feature in your environment, you can start implementing the logic for code components. The [implement sample component](implementing-controls-using-typescript.md) topic demonstrates the step by step process to create code components right from implementing the custom logic, manifest file, debug process, and creating a solution zip file.

powerapps-docs/developer/component-framework/manifest-schema-reference/type-group.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ms.assetid: ec7c1ad4-b834-4755-8a04-2c8940f75674
2121

2222
## Available for
2323

24-
Model-driven apps
24+
Model-driven apps and canvas apps (experimental preview)
2525

2626
## Attributes
2727

@@ -42,6 +42,16 @@ Model-driven apps
4242
|--|--|--|
4343
|[type](type.md)|[!INCLUDE [type-description](includes/type-description.md)]|1 or more|
4444

45+
46+
Type-group has a limited support for canvas apps in this experimental preview . The following issues occur when you try to import components:
47+
48+
1. If all types listed in the type group are of compatible javascript types, the developer attempt to choose the most generic option listed. The types that are considered compatible are :
49+
- Strings: SingleLine.Text, Multiple, SingleLine.TextArea, SingleLine.Email, SingleLine.Phone, SingleLine.___URL, SingleLine.Ticker.
50+
- Numbers: Decimal, Floating Point, Whole.None, Currency.
51+
- Dates: DateAndTime.DateAndTime, DateAndTime.DateOnly.
52+
53+
2. If the types listed in the group are not considered compatible, then the parameter will be treated as the first type listed in the type-group.
54+
4555
### Example
4656

4757
```XML
Loading

0 commit comments

Comments
 (0)