cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Icon visibility issue on a screen

Hi,

 

We have an approval icon on the home screen which the approver should see on the home screen when clicks on the app link he receives in a email triggered from Power apps. 

 

When we hardcoded the email address of the user in the Power apps code then we can see the icon but when user uses the link of the app then the icon is not visible.

 

 

Backend Screen with the icon when app ran as an impersonation of the user

Prathameshpatka_0-1656420536391.png

 

Screen with no icon when user clicks on the link :

 

Prathameshpatka_1-1656420644750.png

 

 

 

 

18 REPLIES 18

@WarrenBelz 

 

Unfortunately it is still not working 😞

@Prathameshpatka ,

I only added that as it seemed the last remaining explanation - it makes no sense to me if that is not working and the two values are the same

You said here that hardcoding the email address didn't work.

 

What is the visible condition for that Approval icon?

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


@iAm_ManCat 

 

The visible property is as below :

 

Prathameshpatka_0-1656932167464.png

 

Create two galleries on a screen, items are your two approver collections - check if either of them have any items when an approver uses the app. if ApproverNominationsAll has items, then there is something wrong with the ApproverNominationsFiltered code, if neither do then its an issue with the ApproverNominationsAll collection code

 

Have you ensured that your ApprovalsButtonDelay is getting set correctly? Might be worth displaying the value on a label to debug and ensure its being set.

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


@iAm_ManCat 

 

I had tried that previously by hardcoding the email address and adding collection in the items property of the gallery. The gallery works as expected and shows the correct items for both the collections but not sure why it just doesn't work correctly for the end users.

So when a user uses the App (not you), they can see the contents of both collections?

 

I'm thinking maybe the users don't have read rights to the datasource being used?

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


@iAm_ManCat 

 

We did give one of the approver full control permission to the SP list but icon is still not visible unfortunately.

Ok, but you didn't answer my question - can the users see any items in the two collections if you put those two collections in two galleries?

And have you confirmed that for the user, the ApproverButtonDelay variable is correctly getting set to true? It's worth also debugging that with a user by putting a label on screen that shows the value of ApproverButtonDelay

@iAm_ManCat


Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!


Thanks!
You and everyone else in the community make it the awesome and welcoming place it is, keep your questions coming and make sure to 'like' anything that makes you 'Appy
Sancho Harker, MVP


Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,432)