Glossary
Liquid
By Emil Björk · Microsoft business apps consultant, Gothenburg
The templating language used by Power Pages for rendering content — variables, tags, filters with safe sandboxed evaluation.
Liquid is the templating language originally created by Shopify, now used by Power Pages for rendering portal content. Liquid mixes HTML with outputs ({{ variable }} for printing values), tags ({% if %}, {% for %}, {% capture %} for control flow), and filters (| upcase, | date, | escape for transformations). Power Pages exposes specific objects — user, page, entities, weblinks, request — for accessing live data. Templates query Dataverse through {% fetchxml %} and {% entityview %} tags. Logic is intentionally limited — sandboxed, no arbitrary code execution — for safe content rendering of customer-facing pages. Auto-escapes user-supplied content to prevent XSS; bypassing escaping is rarely the right choice.
Related terms
Mentioned in these guides
- Accessibility in Dynamics 365 apps
- Cash flow forecasting in Business Central
- Custom connectors in the Power Platform
- Personalization tokens in Customer Insights — Journeys
- Dataverse Organization Service vs Web API
- Power Apps Portals history and rebranding to Power Pages
- Power Pages for Dynamics 365 customer portals
- Power Pages Liquid and portal errors
- Power Pages Liquid templating
- Power Pages with Dataverse search