Members Data upate page

Hi,

I am creating a page to let to let members to upload/post their property information (listing) into the database. On the otherside, dynamic page will show what has been post before. Its like eBay. When u post something, it shows up on the main page.

Then i have built an update page to let the members to update their data which they have input into the dataset before.
I have successfully create a dynamic update page linked to which row of data, to change the information of their post. But i have no idea how can i create a dynamic page to let the member to see all post they have submitted before.

For example,
Member A posted listing 1,2,3
Member B posted listing 4,5,6
Member C posted listing 7,8,9

So i want to create a page for the member, just by one click, then can view what has been posted by themselve before (only by themselve)
When member A open this page, they will see a dynamic table listed only 1,2,3.

Who someone can help.


I just though about some idea, but still need some indication.

I think… to do what i wish to do. I may need to create a dynamic catergory page, in which each Member’s ID will be use to idenify the page, so the page URL will be generate as …/listings/{MemberID}
So assume member A’s ID is “MEMBERAID” when member A browse …/listings/MEMBERAID
Member A will see a list of post catergorise under their ID.

But at the end, how can i set up a bottom or link which each members are different?
For example:
Member A need to be navigated to …/listings/MEMBERAID
Member B need to be navigated to …/listings/MEMBERBID
Member C need to be navigated to …/listings/MEMBERCID

Hi,

hope i understood the challenge above correct, please have a look at wix code dataset which your dynamic gallery connects to.
in each of the different pages

  1. my posts - update page
  2. all posts - view page
    in each of the galleries you connect to a differently configured data set

another approach is to use wix-code repeaters do display all of the posts (possibly also with nice filters), and use the current logged in user in context to decide if you should also create an update button next to a post to allow a user to update it

hope i understood your dilemma right,
Shlomi

Thanks Shlomi,

i have learnt how to create an update page.

The challenge now is, i need to create a Dynamic link, in which when Member A click this button of “MY LISTINGS”, Member A could only see the listing (row of data) he inputted before or posted before.

Its like the eBay, when i click “My All Selling” button, it shows on the users post only.
Hope u can help.

@shlomsh having issue here as well. Have a page set up via ID (correct? to get person to see only their page. However, it is limited to only the last entry/listing made. IF I place a next/previous button for this single item page, it takes a member through all other listings. So how do you configure so they can see all BUT just their own listings? https://www.ourozarks.com/OurOzarksData/ID

Hi Jeff,

not following all the details, so first thing first:

  1. setting a dynamic page by member ID does not prevent other members to see this page if they access it. if you want to spend the time to set it up, please have a look at wix code dynamic routers. will require some learning curve and coding though. another way is to prevent users from updating the data by setting permissions on the db collection level and the submit form
  2. why won’t you set up a search page for listings, so users can see all listings, filter it by various filters, click on a result item will redirect to the item page? seperate between the member’s page and the search? search can also be available for non logged-in users maybe?

shlomi

@shlomsh So explain the setting a dynamic page fields…ID, or Title, etc. What is the purpose of those field sets when you create a new dynamic page. I see no explanation as to what this does…

I did find that you can set a dataset filter by owner, so only owner can access the item page for their item

@jeff-haskins , Dynamic pages are designed so they can be found be a search engine like google of facebook and appear in the search results, you therefore need to provide a unique page url for each item. the default is ID but you can change it to any other unique field which will represent your page.
think of your store item, property listing in your real estate agency, or a book in your library.
in your case it is linked to the concept of users (which is a unique scenario), and therefore the confusion. in ordinary cases you want those pages to be found by anyone including bots, in your case you also want to have your page in the context of the person viewing the page and its permissions related to the data

Jeff,

the dataset filter does not affect viewing the page, just the content the page have. it is just a convenience filter but under the hood filters the results of the data set like any other filter, just in this case by the owner column of the db collection

Shlomi

@shlomi-shemesh That hit me last night as I hit the bed. I kept looking at a function need to create the dynamic use and not just url creation.