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
Screen with no icon when user clicks on the link :
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! |
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! |
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! |
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! |