Join the Webstudio community

Updated 4 weeks ago

Unpublished/Draft Tabular CMS Items?

Seems like a common feature we had in Webflow. What is the recommended solution?

Context: I'm struggling to get a working CMS together with Baserow. I added a single select column to set the status as Published, Draft, or Unpublished. Now I'm trying to make that actually work in Webstudio.

My first thought was to incorporate published domain items to this tip from @John Siciliano
Add to the resource: system.origin === "<staging domain>" ? <filter for any content> : <filter only published content>
But that only removed the content.

I then realized there's no 404 page. I didn't find much info on it except for this thread: https://discord.com/channels/955905230107738152/1282801181051060329

I can keep trying to figure it all out but figured y'all most likely have a go-to solution and I don't need to "reinvent the wheel"
J
O
2 comments
But that only removed the content.
Hm maybe something is up with the expression. If you DM me a view only share link, I can take a look

I then realized there's no 404 page.
On the status field, you can bind an expression. Something like myData.data ? 200 : 404

Translation: does my data exist? If so return 200, otherwise 404.

I'm making note to add info about this to docs as you are right, I think it's just in videos right now
We should really make it a rule to make a document along with every EDU video, also for SEO and help portal
Add a reply
Sign up and join the conversation on Discord