Import YAML file πŸ†“

Written By mycondy_94400

Last updated 3 months ago

The Feature is available in the FREE version

DesignKit 3.5 version can import particular YAML file located in your local storage.

How to import YAML file?

You have 2 options. The first one is easier, but you need to know more about PAC CLI library in VS code. More about PAC CLI you can find here. The second one is longer, but more developmentally correct. You should have GIT project in DevOps space with PAC CLI setup in Pipeline. Let’s share both options.

Get and download MSAPP file

Go to your Power Apps environment, open an app in builder, and click on download a copy action. A MSAPP file will be downloaded to your local storage.

Then you need to open your VS Code desktop app and install PAC CLI extension.

Here is the link https://github.com/microsoft/powerplatform-vscode, where you can find all info.

If you have installed the extension, you need to put this command:

pac canvas unpack --sources <path/folder_name> --msapp <path/app_name.msapp>

Finally, go to your folder with unpacked MSAPP file, go to SRC folder, and select YAML file(s) through the DesignKit 3.5 plugin.

Create a GIT project for Canvas app

Go to your DevOps space under your Microsoft tenant (https://dev.azure.com/<projecname>) and choose your GIT repository, like this:

For unpacking your Canvas app, you can use Power Platform Tool in pipeline under WIN agent( not working under mac OS).

This is the second way of how to get YAML files. Finally, you can go to DesignKit 3.5 plugin and import them.