Hi all. I’m curious on the workflow I need so I can set up a page where all logged in users profiles will be viewable to the public user all together.
So the idea here is an account holder logs into their account. they can edit all info which I have working fine and can save any changes made that’s all good. but… after saving all there info, I would like a way to be able to have their profile go live… for example…and show up on another page with all other uses choosing to go live, so the public user is able to scroll through everyone online.
You’ll want to add a data field called “goLive?” on the User data type. Set it to yes/no with no being the default.
Then, when a user is ready to have their profile go live, make them click a button and then change that data field for the specific user: goLive? = yes
Now on the page that shows all users… have a repeating group that searches for all users, and add a constraint to only show users where goLive = yes.
that helps heaps I’ve done everything you said but can’t find the data field input on button?? can you screenshot please. do I use a button or input?? to do this, everything else has been set up as you have instructed.
sorry yeah all that’s been done but when I preview the app I click the go live button and then when I head to the page it should be showing live nothing’s showing up still. ?? sorry if i’m getting annoying it’s one of the last things I need to do
here’s some screenshots. it would be great if you could tell me where I have gone wrong, I have also created a go live in the database and set it to yes/no with no being my default.
cheers
I think Tal is right in that you might need to make your app read-only so someone can take a look at it. From the screenshots you have shared, it looks like you are on the right track (i.e., setting a user’s Go live field to yes and using that field as a constraint for the repeating group’s search), but anything could be stopping the system from returning the desired results, and it’s all about what we can’t see in the screenshots.
One quick note… the editor is showing that you have 3 issues to address… could one of those issues be causing a conflict?
yea thank you I put search for uses cover photo into the repeating group and it has worked but its showed up with the properties of the photo //s3.amazonaws.com/appforest etc… instead of the actual picture…hmm i’ll keep trying a few different things because I must be close to cracking it lol if you have any more ideas Talbotnar that would be appreciated. your advice so far has been on the ball cheers