Hello,
i am trying to do an receptionist app to storage data of visitors of my enterprise.
In one screen i have 6 Area's buttons (Operations, Maintenance, eccc) to choice each area to visit.
I would like to create a collection that have Text Button selected.
What function, can i use ?
This is my actual final button function to storage data in collection:
Collect(ShoppingCart,{VisitTipology:TextInput1.Text,NameSurname:TextInput1_1.Text,Company:TextInput1_2.Text});Navigate([@OtherScreen], ScreenTransition.Fade)
I want to add in this the column "AreatoVisit", with selected Text Button.
Thank you
Solved! Go to Solution.
If I understand your use case correctly, you could set a variable onselect of the button, and then use that in your collect.
OnSelect for each button example - Set(vArea, "Operations")
Collect(ShoppingCart,{VisitTipology:TextInput1.Text,NameSurname:TextInput1_1.Text,Company:TextInput1_2.Text, AreaToVisit: vArea});Navigate([@OtherScreen], ScreenTransition.Fade)
To learn more about the Power Platform, follow me on Twitter or subscribe on YouTube.
If I understand your use case correctly, you could set a variable onselect of the button, and then use that in your collect.
OnSelect for each button example - Set(vArea, "Operations")
Collect(ShoppingCart,{VisitTipology:TextInput1.Text,NameSurname:TextInput1_1.Text,Company:TextInput1_2.Text, AreaToVisit: vArea});Navigate([@OtherScreen], ScreenTransition.Fade)
To learn more about the Power Platform, follow me on Twitter or subscribe on YouTube.
Thank you very much !!