cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ungarala1
Helper V
Helper V

How to combine results of multiple update context varibles

I have created 3 buttons using update context.. results are showing  status of inprogress, not started, waiting feedback.. I want to combine all 3 and show the result in gallery.

How to combine 3 buttons data as one?

3 REPLIES 3
WarrenBelz
Super User
Super User

Hi @Ungarala1 ,

Assuming your Variables are Text, it would be (with spaces in between) 

variable1 & " " & variable2 & " " & variable3

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

it showing only last variable data only

 UpdateContext({varStatus:"NotStarted"});UpdateContext({SelectedButton:12}) & " "& UpdateContext({varStatus:"InProgress"});UpdateContext({SelectedButton:7})

@Ungarala1 ,

I don't know exactly what you are doing here, but the syntax to join two items is below.

UpdateContext(
   {
      varStatus:
      "Not Started" & " " & "InProgress"
   }
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,071)