
I have an unmanaged (dev environment) and a managed (prod) version of a solution. The solution contains a web resource which display a canvas app within a model driven app. The web resource script is different in each environment because the app has a different app ID/URL.
I can edit the web resource in my managed solution and update the script to point to the prod app ID. Is there a better way to go about this though so I'm not customizing within a managed solution?
Hi @Cooper01 ,
You could save the app id in an environment variable. The webResource can read it from there.
Here more about using env var in solution transport: https://docs.microsoft.com/en-us/powerapps/maker/data-platform/EnvironmentVariables?WT.mc_id=BA-MVP-5004107#enter-new-values-while-importing-solutions
Hope this helps!
Kind regards,
Diana