Best practices of using environment variable

| Muhammad Uzair

Good practices of using of environment variable

Environment variable must be used when ones know that value of the field would not change or specifically when there is one key (value) is provided for development phase and different key will be assigned in testing phase and for production phase respectively. In this case, if we don’t use environment variable; there would be need to change the value of the places wherever the value is used or if we do use the environment variable then there would be need to change the value from all the places instead just one where the environment variable is assigned.

Let’s take an example of this flow where SharePoint action is used and assigned hard coded value. So we have to change this value and all the place where SharePoint action is used.



But if I have used the environment variable in all the sharepoint actions then I don’t need to worry about the flows instead I just change the value of the environment variable.

Join us next time, as we continue our journey of learning canvas apps.Click here to learn more about Imperium's Power Apps Services. We hope this information was useful, and we look forward to sharing more insights into the Power Platform world.


M
Chief Architect, Founder, and CEO - a Microsoft recognized Power Platform solution architect.

About The Blog

Stay updated with what is happening in the Microsoft Business Applications world and initiatives Imperium is taking to ease digital transformation for customers.


More About Us

We provide guidance and strategic oversight to C-Suite and IT Directors for on-going implementations. Feel free to give us a call.

1 331 250 27 17
Send A Message

Ready to Start?

Get a personalized consultation for your project.

Book a Meeting