I’am actually connecting a googlesheet data source to use data in webflow.
I’am not so friendly with javascript, but i have found a piece of code that connect google sheet to webflow. That work.
Actually, with my script, i have loop that create and populate item directly on my webflow template.
I would like how can i do instead of having loop to have some unique liste of data that i can use evrywhere on my template without loop
$data1 → {{data1}}
I’am not sure i’am very clear; that is my actual dev template
My approach would be to skip the custom Javascript code and instead use Make.com
You can connect Google Sheets with the Webflow CMS via Make.com very easily.
If you need to loop over items, Make has this ability too.
I cover a lot of these topics via screencasts and tutorials on my blog. Skim through it and I’m sure you’ll find some step-by-step tutorials that’ll help you:
Hello,
Thanks for your reply. I know that we can use make or zappier easly, but it need to have paid account.
Actually i load well data from datasheet and connexion working, just need to adapt a few my code to push data outside the loop and get it in my template.
You can use those loaded data tables for other things too, to feed your scripts, populate dropdowns, etc. View source on those docs pages to see how to implement them, JS is at the bottom for the examples.
Damn your script working well !!
I have load correctly the datasheet and used a piece of code on yopur page to populate. That work
I’am not good at all in javascript
I will try to set for each page extract a row then to fetch all the data that i need in the page (i look deaper on your template id to do that