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 / Pass execution context...
Power Pages
Answered

Pass execution context as first parameter

(0) ShareShare
ReportReport
Posted on by 4

Hi,

1. I have created an unmanaged crm solution (uci)

2. added existing case entity (unchecked include metadata and all assets)

3. Added main form

4. Clicked on form properties

5. selected already added library function that is added for on load event of the form

6. in handler properties window I checked “pass execution context as first parameter” to pass execution context to javascript function

7. clicked on save and publish all customization

8. The issue is next time I open the crm solution it shows the same checkbox unchecked.

 

problem: it does not save my change and does not pass execution context as first parameter to javascript function and give me error on case main form saying execution context undefined while trying to access “executionContext.getFormContext”.

any idea why I am not able to save this change?

Categories:
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @ntriv ,

    Could you please share a bit more about your issue?

    Do you mean that the  “pass execution context as first parameter” option could not be checked even though you have published all customizations in your umanaged solution?

     

    Regarding the issue that you mentioned, I have made a test on my side, and don't have the issue that you mentioned. Please make sure the Solution that you mentioned is a Unmanaged solution rather than a managed solution.

     

    Also please make sure you have sufficient permission to edit the Entity in your Solution. If the issue still exists, please consider feel free to submit an assisted support ticket through the following link:

    https://powerapps.microsoft.com/en-us/support/pro

     

    Regards,

  • ntriv Profile Picture
    4 on at

    Hi @v-xida-msft ,

     

    Thanks for the response.  It’s working fine now. Looks like I made some mistake not sure what it was. 
    Appreciate your time and efforts.

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 18

#2
11manish Profile Picture

11manish 16 Super User 2026 Season 2

#3
anirudhev Profile Picture

anirudhev 4

Last 30 days Overall leaderboard