Content management for users

Question:
How do I create a page (members page) on which I only dipslay certain information for that logged in user?

Product:
[Which editor or feature is your question most relevant to? e.g. Wix Editor, Wix Studio Editor, Editor X.]

What are you trying to achieve:
I have a labour law consulting firm. My clients log in as members and on their respective member pages their information will be displayed. This should be in the form of tabs in a side menu bar. Like - employees (with each employee’s details), membership docs, court cases, case management docs, etc… I would like individual tabs for each category of information to be displayed. It will basically work like a HR consulting website. Once the client click on the tab it will show the information for that tab relating to that logged in user only. For the employees I would like to open a new pop-up window to view selectd employee information or edit and add.

What have you already tried:
I have watached many videos and discussions on content management but it seems that all the information must be linked to the user’s specific ID to display the information. I can’t seem to get this right. I know nothing about coding.

Additional information:
Once this is achieved I would like to create a full screen chatbot as another tab integrated with chatgpt with which the clients can communicate.

If the pieces of info are from a data collection also you can probably just add a (multi)reference field for “Members” there and you’ll have to manually add each member to the info items you want them to see. This is handy that you can add multiple members or single for each info item.
I can’t remember how difficult the member page is to connect, maybe you can just filter the info by the logged in user? It’s been a while since I did this sort of thing.

Alternatively if you know an individual piece of data about the member (email for example) you could create a text field or tag field in your info collection and use their email in this case for that field.

Then on the personal member page filter the info dataset by the tag field to match the users email or whatever you chose to use, you could use their name or the member id info, anything like that… I’m pretty sure I’ve done similar stuff to this before and it works!

Hope that helps!

Hi there, thanks for the help. I figured it out. However, the reference/multi reference has created two new problems. I create custom forms with input fields connected to datasets to update data collections. The first problem is that I cannot update a reference field. The second problem is that when I do a dropdown menu and connect the input field to a dataset to show the items from that datacollection, I can no longer connect that input field to the dataset to submit and add fields.

Do you know a way around these problems? I am now stuck with this.

I actually have another problem with reference fields. If I link different datasets by means of reference sets, and I want to display specific information about that specific item I cannot do that if any of the items appear similar on that dataset. For example: I hace a data collection for a list of employees with their respective information in each colum. On one dynamic page,using a repeater, the list of employees will appear only showing their names, surnames and job title. Each item on the repeater has a button to view more info. More info button will navigate to a new dynamic page which contains all the information of that employee. However, if there are employees with the same name it only shows the first employee’s, with that name, info for all the employees with the same name. Quite frustrating.

1 Like

It sounds like perhaps you need both a read and write dataset (connected to the same collection) for that page if you want to be able to filter a dropdown (connected to the Read dataset) and also have users input data on the same page (with the Write only dataset?).

I’m not sure what’s going on with the dynamic More Information Page merging users together… it sounds like you might need to check the SEO settings of that page and check it’s not using the “Name” or “Nickname” fields as the url, if it’s using one of those and several users have the same (combined First and Last names) I can see it merging the info and showing only the first one available. If it’s using the “Slug” or “ID” fields, something exclusive to that member, you shouldn’t have a problem in theory.

Sorry if I’m misunderstanding the issues, perhaps you can show some screenshots of the pages setup and collections if none of that was relevant and I’m sure we can figure it out!

Ok great, it was the url which caused the problem. It was set on the “Name” and not the system generated ID. Now it shows all the names. Thank you!!

So now I sit with the remaining problem of updating fields with forms.

For example: I have a data collection for employees which contains the list of employees with their respective information. Then I also have a data collection for first written warnings. So each new item in this collection will be a new first written warning. This collection is connected with the list of employees through multiple reference fields. So the name and surname column is a multi reference field which is connected to the employee list collection reference field for first written warnings. Therefore, if the first written warning collection is updated by ading a new item you can select the specific employee from a dropdown when the cellection is open. Then it will automatically appear on the other collection because its linked.

Problem: I want to update the first written warning collection using custom fields. The problem is that custom fields cannot be connected to multi reference fields to update it. So I can ad a new item on the first written warning collection but I will not be able to connect it to an employee on the other data collection.

How do I resolve this?

I want all the collections to be automatically updated once the custom form is submitted possibly without using multiple reference fields.

1 Like

It’s sounding quite complex but if I can simplify what I think the issue is:
You want to be able to submit forms with warnings info to the specific employee site member without having to go into the collection manually adding their user reference since you can’t connect the form to them via the reference field option in the editor? Something like that?

This is definitely the sort of issue that has led me to not using references if I can help it, I’m sure there is a way to do what you want that way, especially with a bit of coding, but I’ve never been able to figure out anything beyond manually adding them into the collection which is no good for you here, perhaps someone else can jump in and tell us it’s really easy to get something like that working!

But if not perhaps the method I’ve been using instead might be applicable for you:
I have taken to using “tags” where possible, doesn’t have to be an actual tag field you can just use a text field in your Written Warning collection or any other. Set this to be an identifiable thing from the members collection, so their sign up email address or the unique ID.
Now in your form you can connect to this “tag” field and type in that piece of info for the person and enter the Warning data into your collection.

Now wherever on the site you want to show them their Warnings you can filter a Warnings dataset to match their member info (email or ID etc) from a members dataset with this new “tag” field and it’ll only show the Warning item(s) that has their info in the entry.

Of course you need the members dataset to show the logged in user but I think you’ve got this functionality sorted already, if not there was a post with a video about this recently:

Some example pictures:

For your database collection:

For your form submission page:
002

For your employee private member pages:

1 Like