-
Notifications
You must be signed in to change notification settings - Fork 0
Get the Library
Dreller edited this page Sep 10, 2023
·
1 revision
Code components for canvas apps
Use Git version control to edit canvas apps (experimental)
You can install this Library in your own Power Platform environment with these simple steps.
- In Power Apps, click on "Component libraries" tab and, in the top bar, "New component library".
- Give a temporary name to the library (it doesn't matter, it will be overriden). Click on Create.
- In the App Settings, enable Show the Git version control setting, under Experimental in the Upcoming features blade. A new Git version control blade will be added.
- In the Git version control blade, click on Connect.
- Fill the prompts anc click Apply.
- Git repository URL: HTTPS Link to your own Git Repository,
- Branch: Name of the branch you have set in your own Git Repository,
- Directory name: "app"
- Enter your credentials (Git User Name and Personal Access Token[^1]). The code should be loaded as a Component Library within your Power Platform Environment.
[^1]: Personal Access Token (PAT) can be generated in your Git Settings, under the Developer blade.
- In a Power Apps Application, in the most left panel, click on the "+" (Insert icon), right under the Tree view icon.
- At the bottom of the panel, click on "Get more components".
- A panel open on the right side. Click on "Select all" for "PowerDreller", or, expand the section and select Components you wish to add to your app.
- Click Import.
Voilà, you can drag the Component on your screen and use it as explained in the component's section.