Notifications
Announcements
Hi i have set in the visibility properties in an icon in my gallery to be visible when a button a pressed, but the formula does not seem to work below? Can anyone advise?
if(button3_1.pressed, checkbage)
Thanks
korinne
Hi @kORINNERB
In this case, the icon will visible when you press the button. Looks this is not going to work.
Since this is the gallery you may need to use other fields on this specific item to compare it. Can you explain what exactly you are trying to do?
Hi,
I am trying to make a icon visible in the gallery when i press a button.
The idea is when i have patched information through to sharepoint it shows the icon as confirmation the information has been updated or i am happy to go down the route of creating an icon based on the sharepoint list value but would need this when i leave the screen to or the button to set the column values that i have compared back to blank so that the when you back to the screen the icon is no longer there. i have tried this with updateif formula but does not seem to work either, see below;
UpdateIf('QHSE questions', true, {'Audit Complete': Blank()});Refresh('QHSE questions')
I hope this makes sense but let me know
I recommend setting the boolean field in SP so that we can reference the icon visible property. For example, on patch update, the new boolean field called "Confirmed" to true.
UpdateIf('QHSE questions', true, {Confirmed: true, 'Audit Complete': Blank()});Refresh('QHSE questions')
and Set the Icon visible property to ThisItem.Confirmed
Hi @StalinPonnusamy
I tried the above but it still seems to show the icon as the true does not seem to going to blank in sharepoint on the update if formula, i have also tried patch formula but not working either.
On the Gallery button
Note: You can add more items to the patch
I have tried the above but still not working, the button i am pressing is outside the gallery not in the gallery but the icon is inside the gallery, hope this makes sense.
I did try using a patch with a filter also to filter the ones with true to patch them to blank but could not get this to work either
Kind Regards
I assume your code set a blank value for all data.
On the icon visible property in the gallery to
!IsBlank(ThisItem.'Audit Complete')
This means we so the icon when we some value on 'Audit Complete'
The information is not updating in the complete column in sharepoint still,
I have put the icon in the gallery visible poperty to the formula above and updated the button outside the gallery
The columns are blank currently but when i submit the information with a button, it patches to show a true value in the audit complete field but on either exiting the screen or pressing a button outside the gallery i need it to reset the audit complete columns to blank
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 739 Most Valuable Professional
Michael E. Gernaey 343 Super User 2025 Season 2
Power Platform 1919 268