Home › Unified Service Desk › USD – User Settings, ReadSetting, SaveSetting
Unified Service Desk · Mar 8, 2018 · 1 MIN READ

USD – User Settings, ReadSetting, SaveSetting

In Unified Service Desk, there are user settings which can be referenced at run time. To set up user settings, go to Unified Service Desk->User Settings:

Click New to add a setting:

From here, enter the user that this setting should apply to, and a name and value:

For example:

Now, when you start USD, you will see the settings for this user under $Settings (this will not exist if the user does not have any settings applied):

Now we can call SaveSettings to update our setting. If we created an action we can see that name and value are required:

If we run this from the debugger to update the value to Bing, we can see the parameter has been updated:

There is also a ReadSettings action:

For example, let’s add this to the DesktopReady event. Now, as a subaction of the ReadSettings action, we will go to the website of the $Settings parameter:

When you open USD, as the $Settings exists, the website open will come from the user setting:

If the user is not assigned a setting, ReadSettings will return false and not execute the subaction.

Carl de Souza
Keep learning. Keep building.

Explore AI, agents & Microsoft technology.

I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.

Subscribe on YouTube →
Carl de Souza Enterprise Architect at Microsoft · AI Technology Expert

Leave a Reply

Your email address will not be published. Required fields are marked *

Carl de Souza
KEEP LEARNING. KEEP BUILDING.

Explore AI, agents & Microsoft technology.

I share practical ideas, tutorials, and videos about AI, AI agents, Microsoft technologies, and the Power Platform.