Loading...

Environment Variables in Smart Buttons

Environment Variables in Smart Buttons

A very common request I've had for the Ribbon WorkbenchSmart Button solution is to be able to configure the WebHook/FlowUrl using an Environment Variable. Environment Variables are small pieces of information that can vary between environments without there needing to be customizations update. This way you can have different endpoints for each environment without making customization changes.

As of Version 1.2.435.1 you can now put an environment variable (or combination of) into the FlowUrl smart button parameter:

This screenshot assumes you have added an environment variable to your solution with the schema name dev1_FlowUrl

The Url is in the format {%schemaname%}. Adding the environment variable to the solution would look like:

The really awesome part of environment variables is that you are promoted to update them when you import to a new environment inside the new Solution Import experience that came with Wave 1 2020.

If you have any feedback or suggestions for Smart Buttons, please head over to the Github project page.

@ScottDurow

Published on:

Learn more
Develop 1 - Dynamics 365 Architecture Services
Develop 1 - Dynamics 365 Architecture Services

Share post:

Related posts

React 18 is not compatible with Fluent UI and how to work around it in PCF projects

React version 18 has recently been pushed into npm which is great if all of your components support it, however, if you are working with Flu...

4 years ago

Newsletter

Get the latest Dynamics 365 and Power Platform content in your inbox

A curated digest of community blogs, product news, videos, and podcasts — delivered without the noise.

Weekly updates Unsubscribe anytime Fresh community picks
We use your email only for the newsletter and you can unsubscribe at any time.
By subscribing, you agree to the privacy policy.