Power Pages: conditional display, site markers, and Liquid filters


Using Liquid in Power Pages allows for the conditional display of static and dynamic content based on certain conditions. This can be done by adding Liquid code to the source of a web page, web template, or content snippet. An example of this is checking if a user is logged in and displaying a greeting accordingly. Site markers are another feature of Power Pages that can be used to reference web pages and maintain hyperlinks even if the page moves. By combining site markers with conditional logic, different web page content can be displayed based on whether a user is logged in or not. However, when using Liquid code on content pages, it may not render properly. Adding the "liquid" filter to the site marker code can solve this issue. Overall, these features provide interesting ways to enhance Power Pages functionality.


Article 11m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time