How to filter CMS data for the current member using Finsweet Filter and FS Load with over 100 items? Answered
Has anyone found a solution to this so far?
(Can I Filter CMS Data for the Current Member?)
https://docs.memberstack.com/hc/en-us/articles/11027372719515-Can-I-Filter-CMS-Data-for-the-Current-Member
Julian Galluzzo I did find a comment from you:
https://discourse.webflow.com/t/filtering-by-memberstack-id/292342/2
But it seems like it only works for <100 CMS items
Another guy suggested this approach.
Do you know anyone that could help me with setting this up? I'm happy to pay for it
FS FILTER, FS LOAD
- Build a view of all user data using Finsweet Filter and FS Load
- Use the MS ID as the filter text
- Hide the filter
- Set it programmatically when the user enters the page
- Configure FS filter to show no results until a filter is set
Comments
4 comments
Patrick , you can take the above approach of filter + load, but another way to go about it could be to modify #44 memberscipt to work for the items enabled with Finsweet CMS Load.Clone the page you want to set this up in and try the following so that you have a back-up page saved.You can follow the tutorial shown in the #44 memberscript to setup the collection list, the relevant attribute etc.Paste this code in the
section of the custom code in the page you are setting the memberscript:
Paste this modified code in the Before tag section of the custom code instead of the #44 memberscript:
Save and publish the site and test it out. Hope this helps.Let me know if you face any error / issues.
A J It worked! Thanks 😄
I don't have that many bookings yet, so I'll check how it goes
Hey there I'm using #44 approach to limit the item based on member-id, but anyone know how can we display the empty state if every items've already set display = 'none'?
Hey Huy Khiếu, you could take inspiration from this memberscript to hide the section if there is no collection item to be displayed and you could also customize this further for your use-case, where you show a certain section if every item is hidden.
Please sign in to leave a comment.