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.