Posts

Showing posts with the label canvas

Bypass Power Apps Consent Prompts Using PowerShell

Image
When a user opens a Power App for the first time, they are often presented with a consent form asking for permission to access data sources or APIs used by the app. This Canvas API consent form can be disruptive, especially in scenarios where the app is intended for a broad user base or part of an automated deployment. The consent form can create unnecessary friction, requiring every user to individually approve permissions. Fortunately, there’s a way to bypass this pop-up consent form using PowerShell. In this blog post, I will guide you through automating the process of bypassing the Power Apps consent form using PowerShell. The goal is to either allow users to select an app from a specific environment or use a configuration file to perform actions on multiple environments. This automation can be particularly useful for initial deployments of a new app or to ensure all apps currently have this applied. Background: Bypassing Power Apps Consent Before diving into the PowerShell s...

PCF Component: Docx Templates in Canvas Apps

Image
PCF Component: Docx Templates in Canvas Apps Have you ever wanted to fill in a Docx template within a Canvas App? Look no further! I’m excited to introduce a new PCF component that allows you to do just that. This component leverages the easy-template-x open-source library, making it a breeze to create and structure templates. How to Get Started: Installation: Begin by downloading and importing the managed solution into your environment. Ensure you’ve enabled PCF components for Canvas apps. If you’re unsure how, you can find instructions here . Usage Instructions: Once you’re in the Power Apps Editor, navigate to Insert -> Custom -> Import Components . From there, select the Code tab and import the RAW! Docx Templates (Canvas) . Add the component to the form, and you’re good to go! The component offers various input properties, such as docxTemplate , fillTemplate , and templateData , allowing for a customizable experience. Explore the Sample Application: To get ...

Horizontally Scroll A Large Power Apps Gallery

Image
So you have a lot of data to display but the screen in Power Apps isn’t large enough. My friend Ronald Sease recently showed me how to create a gallery in Power Apps that you can scroll horizontally. It’s a simple but powerful solution utilizing a horizontal container and a vertical gallery. Demo Instructions First add a Horizontal container to your screen. Set the LayoutOverflowX property on the Horizontal container. LayoutOverflowX = LayoutOverflow.Scroll Add a Vertical gallery within the horizonal container you created. Set the following properties on the Vertical gallery. ShowNavigation = true (this isn’t required but the navigation buttons make it much easier to move up and down the list when the up/down scrollbar is off the screen.) Height = Parent.Height (if you are using the Show Navigation option then set this to Parent.Heigh - 20 so that the navigation buttons are not covered up by the scroll bar.) LayoutMinWidth = 1000 (This value needs to be larger th...

Rotational Image PCF Component for Canvas Apps

Image
This image component allows you to rotate an image to any degree unlike the Canvas image component which only allows 90, 180, or 270 degrees. Having full rotation of the image can allow you to build things such a compass or custom gauges/indicators for your application. Installation/Usage Instructions Download

Multilingual Support For PCF Calendar Control

Image
Multilingual support has been added to the Calendar component I recently shared . This works in both Canvas and Model apps. The following languages are now supported. English (default) German French Spanish Italian Dutch Russian Click Here to download the latest release of the component. Click Here to get the source code for this component. Check out these videos on how to get the control working in a multilingual setup. Canvas Apps Multilingual Setup Model Apps Multilingual Setup