Power pages snippet rendering – 3 options, 3 different HTML outputs


Microsoft Power Pages offers three ways to render snippets: using Liquid syntax, {% editable snippets %}, or {% include 'snippet' snippet_name:'<>' %}. While these methods may seem interchangeable, there are some differences that can affect how the content appears. Using {{ snippets["name"] }} syntax renders the snippet content as is, while the other two options add extra elements to the output. However, be cautious as these extra elements can cause the snippet content to disappear. It's important to test and be aware of these differences when customizing content with snippets in Power Pages.


Article 10m

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