Hi!
I created two different pages, the first one is a home page that shows all the users registered and the second one is a setting page where users can set their preferences.
The main preference is to decide if show or hide the profile on the home page.
This is the setting profile with a switch button to set the user’s preference.
When the user clicks the button it changes a field data value “yes/no” on the database.
I don’t know how to hide/show users’ profiles on the home page related to this user preference.
I tried a lot of things, but the closer result I gained is to hide all the profiles in the home.
I only want to hide/show the single profile associated with the user.
Hi there, @ivan.rss92… if I understand your post correctly, a privacy rule is likely the way to go here. I’m guessing you have a Profile data type, and that data type has the yes/no field for visibility. If that is the case, add a privacy rule to the Profile data type that says when the profile’s creator is the current user or the profile’s visibility is set to yes, the profile can be found in searches and its field can be viewed. Then, leave all of the boxes unchecked for the Everyone else section of the rule, and you should get the desired result.