So i have a page I just want one group to see, in the visibility expression of the "add page" i have:
a!isUserMemberOfGroup( username: loggedInUser(), groups: a!groupsByName("AS Buyers"))
but i can't see the page anyways
Discussion posts and replies are publicly visible
Is the site itself is not visible or only one specific page of the site? Did you check if that group ("AS Buyers") has at least "Viewer" permissions on that site?
it's the first page i had so i don't know, that group has viewer permission to the site in the security tab
I've just tested with no visibility condition and I still can't see the page as administrator, what might be wrong?
Nvm forgot to save changes, 1st time i had a page in appian after tutorial
On a side note, as Appian's best practice never hard code group names in the expression. Instead create constants of Group type and use them.
© 2021 Appian. All rights reserved.