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 / sequene of method on p...
Power Pages
Unanswered

sequene of method on page load

(0) ShareShare
ReportReport
Posted on by 66

Hi Gurus,

 

Can someone tell me what are all the sequence of methods/events executed when page load occurs.

 

I need to write java script then.


Thanks

Categories:
  • oliver.rodrigues Profile Picture
    9,482 Most Valuable Professional on at

    Hi, all you need is to add your JavaScript within a document.ready:

     

    $(document).ready(function(){
     //// your JS here
    });
  • jeffgreenrc Profile Picture
    66 on at

    That i know already but based how sequence of execution take place with respect page hierarchies and browser methods

    1. What is the sequence page loading (template, entity form and web page etc
    2. What is the sequence of  method exectuion on browser i.e window.load and document.ready etc

     

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @jeffgreenrc ,

     

     Usually, this is the order of sequence. I don't think there is documentation yet. But sharing based on what we have experienced so far. 

     

    1. If the page has an entity list. 

    Order sequence JS execution
    1. Web Template / Page Template contains JS
    2. Entity list
    3. Page 

     

    2. If the Page has Entity form (Basic / Advanced Form) 

     

    Order sequence JS execution
    1. Web Template / Page Template contains JS
    2. Entity Form
    3. Page 

     

    For your second question, I am adding the official reference where it contains sample jQuery execution 

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/add-custom-javascript 

    You can find how the jQuery sequence is utilized. Adding few more 

    1. Entity form on load 

    2. Entity List on load 

     

    The above two methods should be wrapped under $(document).ready. 

     

    Hope it helps. 
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

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