I am working on a website for an artist organization.
We have been maintaining our member database using Constant Contact. I imported our Current Member list to a member-gallery CMS collection from a Constant Contact export, and added fields for a Profile Image and a Gallery. Each item represents a member's record. I then created two dynamic pages based on this collection: one showing a list of members with galleries, and the other a detail page for each member.
I would like to create a Member input form to allow members to load/update their data. I (think I) need to link the member collection to the registered Member Area table so I can limit their edits to their record in the member-gallery table. Can you provide some guideance in the process to make this linkage, or suggest a better way to do this?
Thanks
Bill
Hi Bill,
Thanks for your question. In general your setup sounds good.
There are several approaches you can take to linking the WiX members system to the custom collections you created:
If items in the custom collections are created by logged in users via a form, the "_owner" field will be populated with their WiX member ID. You can then simply set the update permissions to member owner.
If you are adding the items yourself you can either have a text field where you store the memebrID or use reference fields to link between the collections. In this case you will need to handle the updates to this collection in the backend to verify that the upading user has the correct permissions.
Hope this helps
Eitan