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 :
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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Hamza H Profile Picture

Hamza H 140 Super User 2026 Season 1

#2
Nagaraju_Matta Profile Picture

Nagaraju_Matta 128

#3
11manish Profile Picture

11manish 87

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans