ugreg / pcf-authentication

πŸ’ͺ🏽 Power Apps Component Framework Authentication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

License: MIT

Power Apps Component Framework Authentication

App package size workaround

Run with msbuild /t:restore on Visual Studio cmd line. Import the into the CDS SQL Database from the UI or using a script. Located in bin\debug.

Uses Office UI Fabric styles and controls. Uses OpenId Client Settings.

Authenticate using pac auth. In the component folder at the package.json level.

pac solution init --publisher-name Greg --publisher-prefix grdegr
pac solution add-reference --path .\AuthenticationComponent
msbuild /t:restore
msbuild

Push Component to CDS.

pac pcf push -pp grdegr -v minimal

Creates a prefix_Namespace.ComponentName control if changes are made to any of it's resource. The WebResource containing all of these PCF resources are located in prefix_Namespace.ComponentName/bundle.js.

If you face this Error: WebResource content size is too big. can use temporarily use this hack that involves increasing the size limit of email attachments from the 5120 KB to something larger.

Connect pac to CDS

  1. Make sure global action step is activated
  2. Make sure global action step is registered in Plug-in registration tool
  3. deploy.bat

About

πŸ’ͺ🏽 Power Apps Component Framework Authentication

License:MIT License


Languages

Language:C# 99.9%Language:TypeScript 0.1%Language:Batchfile 0.0%