User specific content

I have the following problem.

I created a member login page. New members are added to the automatically created contacts database.

I would want to use a field of that contacts database as a reference field in a collection of documents. So when adding a document to that collection, I would want a dropdown with all members from the automatically created contacts database.

Then I would create a dynamic member page where each members only sees his own documents.

How can I achieve this.

Many thanks for helping me out.

1 Like

Hi,
Currently adding a reference field from the contacts db isn’t supported (though it’s something that will be available in the future…).
What you can do is using the feature of Filter by logged in user to achieve the same result.

Thanks Ohad. The problem however is that I want to filter in a collection of items that is not created by the member, but by ourselves. So in the collection I need to add the logged in user ID, but I do not know how to find it (be aware I am not a programmer).

Please check out the User object.
You can get the user’s id or email. This mean some additional work to be done by you to manually populate those in your collection but it’s still doable.

Hey, is there a way to show a member specific content from dataset not created by that member.
for example: a list of exercises is the data set, and each member should only see his personal training program based on the exercise dataset.

Please help.

Hi,
Who is updating the personal training?
If the user does it you can use Owner Filter - logged in user .
Roi.

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

What about a situation in which it’s NOT the user who updates the personal training but the site/service admins? How do you go about it then?

I have similiar kind of problem than described above. Have there accured solution now? Just in case I describe my problem: Let´s say I have created member page “content from web page creator”. I have users “member1”, “member2” and so on. I have specifically created content for “member1” and would like to put that content on “content from web page creator”. Is there way to make that no one excpect me and “member1” can see it? I have manage to restrict the content only for member1, but still rest of the members can see that content is out there, even if they don´t have acces to open it.

Thank you for your answers!

  1. Please do not bump up old posts → not neccessary. You can open a new post with your own well & in detail described issue (if needed you can link to this post).

  2. Do you use code? Where is your code? This forum is a code dedicated one.

  3. To your problem → it can be solved by code.

Some comments on your description:
-In most cases it doesn’t matter where your data comes from
-The important questions are:
a) where is located your data (DATABASE-NAME/ID)
b) how is located your data? (DATABASE-STRUCTURE → FIELD-TYPES)
c) which DB-Fields are involved? → perhaps a good screenshot of your DB → very useful

Your helping hand will need the following informations:

  1. What’s exactly the problem → problem-description (what you have done)
  2. What are you trying to do / to achieve? (not clearly but mentioned by you)
  3. Describing your PROJECT-SETUP (absolutely not clear which elements are used)
    What is a → web page creator ??? External APP. In most cases APPs can’t be modified by CODE!
  4. Showin an example of process-flow, which would work for you, or linking to an already working example as reference.

Now try to open your own good described post with all needed informations and screenshots and perhaps someone will find some time to inspect your issued situation, to help you.

Good luck!

@russian-dima Understood.

I´m new to this forum (should´ve read rules obviously, my bad). But if you look posts and links above they are not so code oriented either and weren´t following the structure you described. Also case wasn´t marked as [SOLVED], so I thought it´s better to comment this post. But that wasn´t the case. Sorry and thank you for informing me.