Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
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

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on at
    Re: sequene of method on page load

    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.

  • jeffgreenrc Profile Picture
    66 on at
    Re: sequene of method on page load

    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

     

  • oliver.rodrigues Profile Picture
    9,342 Most Valuable Professional on at
    Re: sequene of method on page load

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

     

    $(document).ready(function(){
     //// your JS here
    });

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35