Hi,
I have created a few buttons and i want to hide them, based on the 365 groups the user are in. I have tested both these Fx on the visible setting of the button. It looks like its working because it hiding them from me. but when i add myself to the group it still does not show up for me.
I don't get any errors. I have added the Office365group connecter as well.
If(CountRows(Filter(Office365Groups.ListGroupMembers("ID_is here").value, mail = User().Email))
<> 0,
true,
false)
or this one
!IsEmpty(Filter(Office365Groups.ListGroupMembers("idishere").value,mail=User().FullName))
but if i user this it works and show the button.
If(
User().FullName = "" ||
User().FullName = "" ||
User().FullName = "",
true,
false
)
so i thinking it might be something to do with the groups.
Kind Regards
fixed it
I think i know the problem, is there a way to user this Fx below.
i did a test and my E-mail is coming out as TEst@company.com but i need to convert it down to test@compay.com
i tried this
!IsEmpty(Filter(Office365Groups.ListGroupMembers("ID").value,mail= Lower(User().Email)))
but it did not work, not sure if I'm doing it right.
Kind Regards
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional