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 / Move HTML content betw...
Power Pages
Answered

Move HTML content between | above/beneath form fields on portal

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey!

 

I am customizing the Portal Profile Page and I would like to put a html table between | above/beneath a form field.

 

The HTML Table appears on the top of the form and I dont know how to move/position it properly.

 

Here the image to illustrate my issue:

newmay_3-1632126349390.png

 

 

 

Categories:
  • hershal1999 Profile Picture
    111 on at

    @Anonymous I would add blank section on top an bottom. Once added we can use Basic Form Metadata to add HTML in label. If the table is static you can have complete HTML or if it is dynamic then you can just have empty Div tag and then you can use JavaScript to load that Div with a table. Does this make sense?   Let me know if you need further information.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @hershal1999 !

     

    Thanks for answering! Yes I get the approach, yet I am not sure where do insert the javascript function with liquid to fill the table dynamically. Do you mean in here? 

    newmay_0-1632207943259.png

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Would it be an approach to append the HTML Table within an DIV (with ID) as a previous sibling to the field I marked? with DOM?

  • hershal1999 Profile Picture
    111 on at

    You can either inject the javascript in two different places

    1. In the basic form under the Additional Settings tab, there is a section for Custom JavaScript. 
    2. In web template used by the page to render the basic form using <script></script> tag.

    Just make sure you use

    $(function(){

        //logic to inject HTML table

    });

  • Verified answer
    hershal1999 Profile Picture
    111 on at

    You can either append or update inner HTML with the id of the HTML tag that you have in the section label. 

  • Fubar Profile Picture
    17 Super User 2026 Season 1 on at

    If this is just to display the Account/Organization address that is linked to the Contact you could use a Quick View form and add it to form that is used for the Profile.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes @hershal1999 I did that and it worked! Thanks.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 47

#2
M Bilal Khan Profile Picture

M Bilal Khan 44

#3
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

Last 30 days Overall leaderboard