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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Html webresource

(0) ShareShare
ReportReport
Posted on by 160

Hi

I am working on power app. i have a button that opens html web resource. now i want execution context in html resource.

This is a code that i uploaded on ONLOAD event of form.

var Process = Process || {};
Process.Appointment = {
    formContext: null,
    Loader: function (e) {
        Process.Appointment.formContext = e.getFormContext();
        console.log("Execution Context:")
        console.log(Process.Appointment.formContext);


    }
};
parent.getContext = function () {
    return Process.Appointment.formContext;
};
 
and i am using { parent.getContext().getAttribute().getValue()} syntax to get attributtes in HTML form. but it is generation an error.
Please guide me to do this task.
I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    This post contains information that you need - www.inogic.com/.../

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans