Join the Webstudio community

Updated 4 weeks ago

Airtable fieldname versus field ID

Right now I have a field in Airtable called Name. But if I rename that later, it's going to break the connection with Webstudio. I tried placing the field ID in there instead fldi9VKxKWO7AOy6n, but didn't work.

Makes sense to prefer field IDs over names, right?
Attachment
image.png
B
R
J
17 comments
Must be a nightmare tbh
What we code-devs do to rename column is duplicate it, maintain changes on both and rewrite client. Once all is fixed we drop old column.
Same with variables in webstudio. If you copy the expression and paste into text field you see the name is actuall an id. And sometimes users see it as gibberish
Though it's easy to rename
In case of css variables we decided to rely on original name
So renaming would be harder to implement from our point of view
I see that duplicating the column and transitioning makes sense to do it securely.

If I understand correctly, it's not possible to bind the expression by field ID, right?
Should be possible. I think John did it in his videos.
Maybe need to enable this somewhere in airtable?
Okay! Let's ask @John Siciliano
He will be here a week later πŸ™‚
Ohh haha! Hope he's having some nice time off then haha.
Not too urgent, mainly curiousity
I'll see if I can find it in any of the videos
I remember seeing it in baserow video for sure
Yes this is possible in Airtable @Ronald from 360Creators Use this param https://airtable.com/developers/web/api/get-record#query-returnfieldsbyfieldid

It makes setting up more annoying because you have to figure out the internal ID of each field but overall its WAY more stable so definitely worth it
Add a reply
Sign up and join the conversation on Discord