I am using a custom action to trigger a plugin that passes two values, an ID and a JSON string of environment variables. This is triggered in a Power App Component using PCF for Dynamics 365 Sales. Currently, I can get the ID from the environment to the component, however I am not sure how I would pass the value of the environment variable (called "config") to the Power App Component.
I am getting the ID with the following code:
this._id = (<any>this._context.mode).contextInfo.entityId;
Is there a way that I can do something similar to get the environment variables from my solution into the custom control?

Report
All responses (
Answers (