Power Platform: Current Value of an Environment Variable in the Modern Maker Portal

Why?

I like the updated Modern Maker Portal experience of Power Apps a lot. However updating the Current Value of an Environment Variable in the Modern Maker Portal is no longer possible using the method explained in Power Platform: verify Current Value of an Environment Variable in a Managed Solution. In a lot of the previous mentioned methods, we are now getting notified: “Data in this table is read only, as this table represents a collection of objects in Dataverse.“.

What?

This post is a small update on how to update the Current Value of an Environment Variable in the Modern Maker Portal.

How?

The first option I want to share is to use the Default Solution of the Environment:

1) Environment specific changes are often stored in the Unmanaged layer of that Environment (See Solution concepts – Power Platform | Microsoft Docs). This is also the case for the Current Values of an Environment Variable. Therefor we can simply open the Default Solution of the Environment:

2) In the Default Solution we can Search for Environment Variables. I definitely recommend to use the totally awesome Search in Objects experience:

3) Instead of selecting the Environment Variable Definition table, we select the Environment variable section on the top. This special section shows the Current Values in this Environment where you can select any of them:

and edit the Current Value in the overlay positioned on the right 🤓.

The second option is a lot more simpler from my point of view:

1) Open up a Model Driven App which usually has a link like:

https://[ENVIRONMENT].crm4.dynamics.com/main.aspx?appid=[APPID]&pagetype=entitylist&etn=account&viewid=89857c48-dee5-ea11-a817-000d3a22ccb5&viewType=1039

2) Change the end of the URL to be like:

https://[ENVIRONMENT].crm4.dynamics.com/main.aspx?appid=[APPID]&pagetype=entitylist&etn=environmentvariablevalue

3) Select a Current Value record and edit it. Just like we would edit any other record through a Model Driven App.

This “hack” can also be used on other Dataverse Tables. (if you have access to the table and if the Model Driven App configuration allows it) 💪👍.

Below the Youtube instructions 📺:

One thought on “Power Platform: Current Value of an Environment Variable in the Modern Maker Portal

  1. This post was very informative and helpful in understanding how to view the current value of an environment variable in the Modern Maker Portal of Power Platform.

Leave a comment