Power platform has some specific font-family to customize your website... but as developers, we always try to figure out how far we can get to apply customizations. In this post, I will show you how to use an external font family in Power Pages to match the site with your client's brand. First, you will need a font-family file; I'll use one from Google Fonts ( Sedgwick Ave Display - Google Fonts ). Create a Web file record to attach the “*.ttf” file on the notes. I suggest leaving the Home Page as Parent if you use this font across all the pages. To apply this font for H1 labels, download the existing CSS called "portalbasictheme.css" and edit this, replacing it with the new font-family properties. Update the portalbasictheme.css by attaching this to web file record. Finally, sync the portal configuration to apply these changes; note that this action synchronizes the changes done on the portal management app. Then cli...
Portals WebAPI is another way to execute CRUD actions on Dataverse from Power Pages and is mainly used for customizations. However, t his is not configured by default. How do you set it? Go to Portal Management > Website > Site Settings Create the following new site-setting records per table "Webapi/[table name]/enabled" where the value is true "Webapi/[table name]/fields" where the values are the fields used, separate these by a comma or asterisk * to select all fields. "Webapi/[table name]/disableodatafilter" where the value is true or false depending on the requirement Webapi/error/innererror" where value is true Security The good news is that all restrictions on your transactions depend on what user is signed and which web roles have been assigned because they rely on your Table Permissions configuration. Actions Allowed: GET PATCH PUT DELETE POST For example: function Update ( _id ) { var record = {}; record .[ fie...
Hi folks, In this post, I will guide you step by step on how you can version your Portal with Azure DevOps. Before starting... To do this practice, we will use the following: Azure DevOps A Power Portal 👀 Visual Studio Code Git installed on your computer Let's get Started! Step 1 Create your Project in Azure DevOps Step 2 Initialize your repository. Step 3 Clone your repository with VS Code. Step 4 Select the directory where the project will be saved and Sign In. Step 5 Install Power Platform tools on Visual Studio Code. Step 6 Open a new terminal in Visual Studio Code Step 7 To download the Portal data on your VS Project, you must first authenticate on the environment. Execute the following command line to establish on your VS terminal. pac auth create -u [CRM URL] Step 8 A pop-up window will display; sign in with your environment credentials. Step 9 Execute the following command to see all websites available in ...
Comments
Post a Comment