Hi,
Sorry i am new to power apps and need some guidance.
I have a Add Button to create a new row of data from List Of Software Gallery
Add Button Code: Collect(List Of Software, Count Rows (List Of Software))
The Gallery consists of text fields and checkbox. Whenever i clicked on the Add Button, a new row in Gallery will be added.
Now the question is, how do i pass the text field data and checkbox (true,false) data to different screen?
Thanks! Appreciate for the assistance
Hi @Newbie2020
Do you want to pass the text field date and checkbox value of the newest row that gets added when you click on the Add Button or that of another row to a different screen? Also, how are you navigating to another screen? Does the user have to click on a row within the gallery or are you expecting the user to be taken to another screen when they click on the Add Button?
Let me know and we can solve for it.
---
If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions.
Thanks!
Hardit Bhatia
Microsoft Business Applications MVP
Microsoft Certified Trainer MCT
Hi @Newbie2020 ,
Use a collection to achieve your goal. Insert into OnSelect property of the button:
ClearCollect(myData,Gallery.AllItems)
and in myData collection you will have all infos stored in gallery including the options selected in checkboxes control.
Give it a try !
Hope it helps !
Hi @gabibalaban ,
Thank you for your reply.
The "+" sign is my button to add new row in collection. Is there a way to set " Only 3 rows can be added"?
Coding: Collect(ListOfSoftware,CountRows(ListOfSoftware))
Once i have the data, how do i add them to one drive excel file? i am only able to add the first row. Software Record is the table in my onedrive file.
Patch(
SoftwareRecord,
{
MachineInfo: TextInput3.Text,
SerialNoInfo: TextInput3_1.Text,
SoftwareName: TextInput4.Text,
Installation: Checkbox1.Value,
Uninstallation: Checkbox2.Value,
Freeware: Checkbox3.Value,
Lisence: Checkbox4.Value,
ReasonOfRequest: TextInput5.Text,
Status: "Pending",
RequestorName: TextInput7.Text,
RequestorDesignation: TextInput7_2.Text,
RequestorEmail: TextInput7_3.Text,
RequestDate: TextInput7_1.Text,
Approver: _selectedApprover.UserPrincipalName,
EmailTitle: TextInput1.Text,
Detail: TextInput1_1.Text
}
)
Thanksss
User | Count |
---|---|
260 | |
110 | |
90 | |
52 | |
44 |