Filter Page Data by Logged-in User

You can now filter the data on your pages to show only the data that belongs to the currently logged-in user or all users other than the currently logged in user.
Use a dataset’s filtering functionality to filter for items whose Owner is or is not the currently logged-in user.

Read more here .

8 Likes

I tried to use " Filter by Current Logged-In User" feature while trying to connect a button (in another page) with the dynamic page but as soon as I add the Filter by Current Logged-In User option the link from the button disappears and it stops working.

Any idea how to fix this?

I have ben trying to use this feature with my dynamic page. I try to connect a button (on another page) with the dynamic page and it works fine but as soon as I try to create this Filter by Current Logged-In User the connection snaps and the button stops working. Also, I am not able to make a connection even if I try.

Any clues how to take it forward?

Thanks.

Hi,
I’m not sure that I fully understand what you were referring. In order for us to successfully review this matter further and properly assist you, please send us a video of the issue using screencast . Simply recreate the issue while recording the steps. Add the screencast.com URL to your response.

Thank you in advance,
Tal.

I am using the Owner Filter, but no other member is able to see anything, only me. All the other members see is “Loading…” where the data should be showing. I even tried logging in with their username and psswd myself and it didn’t work

Lol I’m dumb. The database was restricted to “Admin-only” view. I fixed it

Yes, the same thing is happening with me. None of the users are able to see any of the content they themselves submitted.

Pragyesh - See my comment above. Make sure your database you are using is set to allow site members to “read content from this collection”

I need this but in code, to filter just a especific dropdown field connected to a reference field

Hi, this doesnt seem to be working for me.

I’ve built a custom member profile page to allow users to input and display their vehicle information using the tutorial here . This works fine however it is not integrated into the Members Area apps such as forum which I am now wanting to add.

After going through the tutorial posted in the original thread on this page ( here ) I cant seem to get it to display anything on the published site - the connected element (a text box) is blank. See screenshots below.

The page was created by adding a new page to the members area. The new page appears in the members menu, and using code I can get the current logged in user to display in the console (so I know its retrieving the correct user info).

Screenshot of dataset permissions:

Screenshot of dataset settings on editor:

Screenshot of the connected text element settings

Screenshot of output on published site (location is blank, should be “VIC”) so looks to be returning NULL value?

Any help is appreciated

Thanks
James

Hi - update on this - looks like its working for users other than admin. Not sure why.