SA5 Logged In state with Finsweet CMSLoad

Hi everyone,

i have a finsweet integration on my website + a custom node app consuming webflow APIs.

i’m now working on the membership logic, i have some buttons (wishlist button) that we need to show only to logged in users.

the integration works fine on the first 100element of my collection (i have one of these button on each of the element) it stops working when the cmsload capabilities of finsweet resolves.

all the subsequents cms items doesnt show the button even if the user is logged in. i think i need to “reload” the sa5 or something, i already have a custom event “finsweetLoadComplete” that triggers other behaviors so i could easily put the “sa5 refresh logic” there

i hope you can help me with this one, thank you a lot for your time

That’s an interesting scenario, and there isn’t a manual refresh feature in SA5 User Info. I’ll add a note for future work on that.

In your scenario though if you element is conditional on log-in/log-out state you’d be better off using the native Webflow feature for that which works great. It’s handled server-side also, which ensures Finsweet has the content it needs for display.