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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Move HTML content betw...
Power Pages
Unanswered

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

(0) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)
  • 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
    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
    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
    8,338 Super User 2025 Season 2 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard