Hello,
I currently have a cascading gallery menu that leads to a edit form to update the item selected.
I can get to the item just fine, but when I update the item using a patch function it will randomly "lose" the gallery item I am editing. It doesn't happen all the time, seems to be random. Code I am using is below:
Gallery4
Filter('Learning Tracker',PU.Value = Dropdown1.Selected.Value, TEAM.Value = Dropdown2.Selected.Result)
Gallery1
Filter('Learning Tracker',ALIASID = Gallery4.Selected.ALIASID)
trainee details form_2
Item = Gallery1.Selected
IconSave
Patch('Learning Tracker',Gallery1.Selected,{'Comments Meeting 1':DataCardValue93_3.Text,'Meeting Date 2':TextInput8.Text,'1 REVISED SIGNOFF DATE ':TextInput2_3.Text,'SIGNOFF COMPLETE':DataCardValue21_3.Value});
Its is after the patch function that the edit form "loses" what Gallery1 Item is, and displays "No Item to Display". I then have to navigate back to gallery1 and reselect the item. The item does get updated after the patch function.
Any help would be greatly welcomed.
Cheers!
*Edit: Issue occurs with SubmitForm as well*
Solved! Go to Solution.
Hi @Aethim
As i understood from the below issue.
you can try the below approach.
On Click of a button
set(ParentSelectedReocrd,ThisItem)
and In Gallery4 you Can use Like below
Filter('Learning Tracker',ALIASID = ParentSelectRecord.FiledName)
and do the Same variable approach for gallery1 also.
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Please Vote for my idea if you feel, that will help you in the future or good to have in power app.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-s-to-Select-Icon-from-UIFabric/idi-p/69...
Hi @Aethim
As i understood from the below issue.
you can try the below approach.
On Click of a button
set(ParentSelectedReocrd,ThisItem)
and In Gallery4 you Can use Like below
Filter('Learning Tracker',ALIASID = ParentSelectRecord.FiledName)
and do the Same variable approach for gallery1 also.
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
Please Vote for my idea if you feel, that will help you in the future or good to have in power app.
https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-s-to-Select-Icon-from-UIFabric/idi-p/69...
Thank you! Works perfectly.
Cheers!
User | Count |
---|---|
183 | |
106 | |
89 | |
44 | |
43 |
User | Count |
---|---|
226 | |
108 | |
106 | |
68 | |
67 |