Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Power Pages in Action

You're reading from   Microsoft Power Pages in Action Accelerate your low-code journey with functional-rich web apps using Power Pages

Arrow left icon
Product type Paperback
Published in Jun 2024
Publisher Packt
ISBN-13 9781837630455
Length 350 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Danilo Capuano Danilo Capuano
Author Profile Icon Danilo Capuano
Danilo Capuano
Faisal Hussona Faisal Hussona
Author Profile Icon Faisal Hussona
Faisal Hussona
Arrow right icon
View More author details
Toc

Table of Contents (18) Chapters Close

Preface 1. Chapter 1: Modernizing Rob the Builder’s Business with Power Pages 2. Chapter 2: Power Pages Design Studio FREE CHAPTER 3. Chapter 3: Power Pages Studio – Styling and Themes 4. Chapter 4: Dataverse Tables and Forms 5. Chapter 5: Table Permissions and Security 6. Chapter 6: Basic Forms, Lists, and Web Pages 7. Chapter 7: JavaScript and jQuery 8. Chapter 8: Web Templates and Liquid 9. Chapter 9: Workflow Automation 10. Chapter 10: Power Pages and Cloud Flows 11. Chapter 11: Charts, Dashboards, and Power BI 12. Chapter 12: REST Integration 13. Chapter 13: Creating a PDF File from Dataverse 14. Chapter 14: Modal Windows 15. Chapter 15: Enhancing Development with ChatGPT 16. Index 17. Other Books You May Enjoy

Getting started with Liquid in web templates

To begin using Liquid in web templates, Sarah needs to understand the syntax and structure of the language. Liquid code is enclosed within {% ... %} tags, and you can use various elements to achieve different outcomes. One of the fundamental aspects of Liquid is accessing objects. Use dot notation, such as {{ object.property }}, to retrieve specific properties or fields from objects. This allows Sarah to display data dynamically within a web template.

Control flow is another important aspect of Liquid. Use if statements, for loops, and other control flow tags to conditionally render content or iterate over collections of data. This enables dynamic sections within web templates to be based on certain conditions or to display data in a structured manner.

Liquid also provides a range of filters that can be applied to variables, objects, or literals. Filters modify the output of these elements, allowing for date formatting, string capitalizing...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime