Snippet rendering in Power Pages (again) – there is more to it


The author discusses the subtle differences in how snippets are rendered in Power Pages. They provide an example of two snippets, TestValueSnippet and TestValueWebTemplate, both with the same liquid code. However, when included with different syntax, the output differs. The snippet included with {{snippets[""]}} syntax does not have access to the liquid variable defined in the parent component, while the one included with "include" works correctly. The author highlights the importance of understanding these differences to ensure the desired output is achieved.


Article 8m

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