Skip to content

Get the Library

Dreller edited this page Sep 10, 2023 · 1 revision

Important references

Code components for canvas apps
Use Git version control to edit canvas apps (experimental)

How to install the Library

You can install this Library in your own Power Platform environment with these simple steps.

  1. In Power Apps, click on "Component libraries" tab and, in the top bar, "New component library".
  2. Give a temporary name to the library (it doesn't matter, it will be overriden). Click on Create.
  3. 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.
  4. In the Git version control blade, click on Connect.
  5. 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"
  6. 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.

How to use the Library

  1. In a Power Apps Application, in the most left panel, click on the "+" (Insert icon), right under the Tree view icon.
  2. At the bottom of the panel, click on "Get more components".
  3. 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.
  4. Click Import.

Voilà, you can drag the Component on your screen and use it as explained in the component's section.

Clone this wiki locally