Join the Webstudio community

Updated 2 months ago

Having trouble binding data to a dynamic page template

At a glance
Hi, I tried binding data to a dynamic page template, and every time I access the dynamic page, no matter which post slug I am on I keep getting data meant for the very first slug on every page. What I am I doing wrong? I have followed all that is done in the Airtable for Webstudio tutorials.
B
J
J
20 comments
Please share project link
Which page should I look at?
the figma and webstudio dynamic page
Which slug can I try?
Hi, were you able to detect any error?
Data seem to work. I see display: none from some embed which hides content
Yes, does are meant to do just what they do.... The issue is that only data for Navbar-01 is displaying even on other slugs like hero-01, navbar-02 etc.
@John Siciliano do you have an idea?
It looks like youre getting back an array of navbars so its just probs always grabbing the first one
Attachment
image.png
if you use slug asdf it'll still return these so the slug filter isn't wokring correctly
Having two equals signs is a bit sus
Attachment
image.png
Thanks... I will check that out.
I tried removing the equal sign before after filterByFormular, and still I am still getting the same error.
Attachment
image.png
can you send me the api docs for this and I can take a look?
Ok thanks, I will get the API doc link for Xano project.
I am not sure if they have the API docs for the API like Airtable and other databases, but this is the general API documentation link: https://docs.xano.com/working-with-data
filterbyformula is airtable specific. You nee to find what Xano uses to get a certain record. I just asked perpelexity and got this, but idk if its right
Attachment
image.png
Thanks so much, I will try that out and get back to you. ✌
Add a reply
Sign up and join the conversation on Discord