Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Customize & Extend
Answered

Liquid tag in editor works, but then breaks

(0) ShareShare
ReportReport
Posted on by 5

I've got a Power Pages site setup where I created a snippet in the portals section. Back in PP, in a text block, I entered the Liquid code:

 

{% include 'snippet' snippet_name:'AccountData' %}

 

And this works when I preview, but back in the editor, I get: 

 

"Liquid object not found: snippet_name" 

 

So while it works - the editor seems to choke on it a bit. Should it work?

 

 

  • cfjedimaster Profile Picture
    5 on at
    Re: Liquid tag in editor works, but then breaks

    Perfect - thank you!

  • Verified answer
    oliver.rodrigues Profile Picture
    9,319 Most Valuable Professional on at
    Re: Liquid tag in editor works, but then breaks

    Hi, you can call snippets using the following syntax:

    {{ snippets["your snippet name"] }}

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43

Featured topics