web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / How to add a snippet i...
Power Pages
Unanswered

How to add a snippet in a section with the new page editor ?

(0) ShareShare
ReportReport
Posted on by 302

Hi, in the new power pages editor, how can I add a snippet to a section ? Which of the widgets should I use ?

 

bouillons_0-1659006602320.png

As a workaround I can just add a text and then later in the portal management replace that with a {% snippet ... %} but for one it is not very practical, and secondly, whenever I reopen the page with the editor, the snippet instruction is truncated and no longer functional.

 

Stephane

Categories:
I have the same question (0)
  • Hugo Bernier Profile Picture
    Microsoft Employee on at

    Bonjour @bouillons ,

     

    You can use the code editor icon in the command bar to display the source code for the page in the code editor pane at the bottom of the screen. To insert code snippets, type your  {% snippet ... %} directly into the code editor and then select Save. The changes will be reflected on the canvas.

     

    I hope this helps?!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
omkarsupreme Profile Picture

omkarsupreme 47

#2
11manish Profile Picture

11manish 43

#3
Valantis Profile Picture

Valantis 37

Last 30 days Overall leaderboard