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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Using global variables...
Copilot Studio
Answered

Using global variables in adaptive cards in power virtual agent

(0) ShareShare
ReportReport
Posted on by 6

Hi 

I want to ask the user a question, the question is a multiple choice question which has dynamic options so I have to use adaptive cards for that. How do I acccess my global variables inside the adaptive card ?
The choices for my question would be the global variables which are strings. 

 

How do I assign the title of a choice to my global variable string ? I tried using ${…} , but it doesn’t seem to work 

Categories:
I have the same question (0)
  • Verified answer
    Robulane Profile Picture
    Microsoft Employee on at

    Hi,


    You can use OptionSetInfo PowerFX function, e.g. OptionSetInfo(Topic.ClosedListVariable). This function will return the id of the option.

    You can also use Text() function to return the title of the option. By default Title == Id but it may not be the case in the future when PVA will support multi-lang bots.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2026 Season 1

#2
Valantis Profile Picture

Valantis 226

#3
Arild Aarnes Profile Picture

Arild Aarnes 73 Super User 2026 Season 1

Last 30 days Overall leaderboard