How to create private CMS items for logged-in users in Webflow with member ID filtering?
Hi everyone! I am creating a website where users submit a form, which then creates an item in a CMS. These items that are put in the CMS are only supposed to be seen by the creator.
Hence the question: Is it possible to somehow put the member ID in the CMS as the author? Also how can i then add the custom filter of a members id on a collection list?
second question: do i need webflow members? can i combine it with memberstack?
Comments
9 comments
Marc Wayne It is possible to be seen by the user who created it, you will need some javascripts for that
Hi Mark, See the thread in the #webflow channel where Ola mentioned how they do it and I responded with how I filter it 🙂 Both require a little bit of custom coding but that's provided through memberscripts in the memberstack dashboard under components and custom code
Would love to see a tutorial about how Users can create and update Collection items. Every question I see in here is about that 🙂
Milan Houter I think memberstack json feature can assist you with that with some custom codes with make triggers
Thanks, will look into it. But would be nice if there is a component or video tutorial 😉
Milan Houter That will exist when a developer has worked on such feature certainly!
Hi both, Julian (from Memberstack) has a number of memberscripts tutorials (that are videos) in the Memberstack dashboard under Components then in the section custom code. There is a lot that already exists - and gets tweaked according to use case.
Also, look into getting webflow logic if you want to do this a no-code way. You can update cms through forms that are connected to logic. If you want to assign it to the user that created it, just hide the input in a form with a custom field attribute that houses their memberstack ID. That's the simplest way. (You can then use Make or Zapier for the more complex stuff.)
And, if you haven't read the #webflow thread I mentioned to read above: I use that member Id custom field attribute on a hidden jetboost search field to filter so they can only see their posts. (Combine this with a delay visibility interaction in webflow or script so they don't see the flash of all the data before it filters and you're good to go.)
This free template has a good overall tutorial on this https://www.memberstack.com/webflow-templates/social-media-template 🙌
thanks! i will check it out 😁
Please sign in to leave a comment.