Posts

Showing posts from June, 2023

Exploring the Power of Variables in Liquid and Power Pages

Covering the basics - Variables As a templating language, Liquid offers a rich collection of possibilities for web developers and designers, bringing Dynamics business data to the web. Variables in Liquid enable us to display dynamic content and enable us to implement a certain level of custom logic as well. We'll have a look at some examples on how to work with variables. Variable Assignment In Liquid, variables can be assigned values using the {% assign %} tag. For example, let's assign the value "Hello, Nerd!" to the variable greeting: {% assign greeting = 'Hello, Nerd!' %} Variable Output Once a variable is assigned a value, it can be outputted using the {{ }} syntax. To display the value of greeting, we can use: {{ greeting }} Assigning Site Settings Liquid is powerfull enough to allow you to assign values from site settings to variables. For example, if you need the site setting for inactivity for

Enabled Dataverse search in the Microsoft Dataverse environment

Image
Search is a very powerfull feature when properly configured. Here is a quick step through on how to implement search in Power Pages. Enable Search in the environment Go to the Power Platform Admin Center.  Open the administration settings for the Microsoft Dataverse environment and navigate to the search or options settings.  Enable "Dataverse Search." This needs to be done once for each environment. Enabled Dataverse search in Power Pages  Go to Portal Management for the Power Pages site and click on Site Settings.  Filter the settings for search.  Make sure that EnableAdditionalEntities, Enabled, and EnableDataverseSearch are set to "true."  Ensure that the table to be included in the search is included in the filters.  Note that tables are listed with the category first, followed by the column and table name. If multiple tables fall under the same category, they should be separated by a comma. Categories with tables are separated by a semicolon. This setting need

Revitalizing My Developer Blog: Power Pages for Modern Web Development

Welcome back! It has been quite a while since my last blog post on MyCodeStories, but I'm thrilled to announce that I'm finally reviving this blog. As the technology landscape has evolved over the years, so have my interests and areas of expertise. In the next posts, I want to share with you my renewed focus on Power Pages, as well as the exciting opportunities they present for modern web development. Embracing Power Pages Power Pages, powered by the robust capabilities of Power Platform and Microsoft 365, have gained significant traction in recent years. These pages allow developers to create dynamic, data-driven web experiences without diving into complex code. With a rich set of features and easy integration with various data sources, Power Pages enable developers to rapidly build and deploy websites that cater to specific business needs. Power Pages allow external users to access data, perform actions, and collaborate seamlessly. Whether it's customer portals, partner p