web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How to create/read key/value pairs in solution?

(0) ShareShare
ReportReport
Posted on by 60

Now I using Environment variable to save the key/value pair data. this is very useful.

but this method has a disadvantage that just the admin can access the key/value pair using the API. the normal user can not access the key/value pairs.

Some good ideas?

I have the same question (0)
  • Verified answer
    mobeenmohsin Profile Picture
    on at

    Hi Songkun,

    Hope you are doing well.

    It seems that environment variable is only option we have with both advantages and disadvantages. Please find following documentation to understanding how is it is working:

    https://docs.microsoft.com/en-us/power-platform-release-plan/2019wave2/microsoft-powerapps/new-solution-components-get-full-support#:~:text=Business%20value,-Apps%20and%20flows&text=Environment%20variables%20allow%20you%20to,Lifecycle%20Management%20(ALM)%20pipeline.&text=You%20can%20update%20a%20value,directly%20when%20using%20environment%20variables.

    https://powerapps.microsoft.com/en-us/blog/environment-variables-available-in-preview/

    https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/environmentvariables

    We have two security privileges related to environment variable as showing following:

    pastedimage1600670906078v1.png

    Please assign these above security privileges to user and verify. Please mark my answer as verified. Thank you.     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 96 Super User 2025 Season 2

#2
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 49 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans