I want to have the ability to make profiles visible, or not, as an admin. Profiles are set up in details view and I added the boolean to my database and added a button to the front end to turn on or off but how do I make it so that it affects the entire profile and not just certain aspects of it?
Hi Katelyn,
You can add a visibility condition to the Profile Tab like boolean>is>false. Then when the Admin press the button the entire profile tab is hidden for that user.
Thank you
A Boolean has three statesâŚ
Empty, False, and True
In some cases itâs better to use âis not Trueâ for Boolean logic. âIs not trueâ will cover you when the state of the Boolean is empty or false.
If I am on someoneâs profile like this. Where exactly is the profile tab? I am only seeing screen tabs on the left and then âgeneralâ and âedit formâ on the right. There is no visibility tab for the whole page that i can find?
What Dilon mentioned is the User Profiles table. You can have boolean columns in your profiles table and reference that in the tab visibility settings.
OK, i do have the boolean in my profiles table. I just still donât know where to add the visibility condition? I included a picture above for reference. Do i need to include the condition on the list of profiles instead of the profile itself? So that it doesnât show in a list so no one can click on it?
The screen shot you showed is a details view.
You can hide individual components on that screen with visibility settings, but to hide the whole screen youâd have to go back one level and apply the settings there. If the previous screen is a list layout, then you could prevent users with âhiddenâ profiles from appearing in the list by filtering on that boolean value.
Perfect thatâs what i needed thank you
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.