Using Javascript versus Liquid in Power Pages

Visit Website View Our Posts


When to use Javascript versus Liquid in Power Pages


Microsoft Power Pages is a secure,  enterprise-grade platform for creating, hosting, and managing modern business websites with little to no code. It is part of the Microsoft Power Platform family, which also includes Power Apps, Power Automate, Power BI, and Power Virtual Agents.

Liquid vs. JavaScript

When you're working with power pages it doesn’t take long to find the limits of the built-in functionality. While there are many out of the box options to solve the problems you encounter there are certainly gaps that can be frustrating. A couple of ways these gaps can be overcome is by using Liquid and JavaScript to write custom code. Between these two languages users can really start to fine tune their Portals. We're going to take a look at when you should use one over the other.

When to use JavaScript

If you have experience customizing Dynamics, you likely have some experience with business rules. These allow users to perform logic and update forms dynamically. One of the bigger gaps in Power Pages is that business rules don’t work on forms when loaded there. Even if they function just fine in Dynamics. So, anything that would use business rules for Dynamics needs to be done with JavaScript in Power Pages. This includes actions such as showing/hiding column, locking/unlocking columns, setting column values, and displaying error messages. While it’s a bummer we can't use business rules, using JavaScript directly allows us to do all of that and more. The additional features we have with JavaScript include the ability to... (read the full post on



Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Show Buttons
Hide Buttons