I am building a PCF control targeting to portal, canvas app and model driven app.
One challenge I am facing with API call.
For portal app, I need to call custom api which will not work in canvas app I think.
So my question is how my PCF control will identity in which environment the control is running like in portal app or canvas app or model driven app so that I can call different API according to the platform identification?

Report
All responses (
Answers (