Page not getting Thing from Slug

I have a page that works fine if I click my internal link to it using the Go to action but I also needed to create a slug as I want this to be accessible from a QR code to the general public. I noticed when it’s not me logged in then they don’t get the proper object.

Here’s the thing, I’ve set the slug, I’ve even now have workflows to find the slugs, I even stored the slug-id as a separate field so I can grab it. I still can’t seem to get to even find it using my actions even when I can in the database! And all privacy rules are public at this point.

Above is the slug URL.

Here’s the page set up:

The back up field is even the slug-id, I have no idea why it won’t fetch it automatically.
So I went and made a workflow before to find it but it also can’t find the Thing.

Below you can see me physically searching for it:

Here you can see it shows up empty
CleanShot 2024-07-01 at 11.27.41@2x

But heres the database able to find it!


I must be doing something wrong with the setup unless you can’t expect bubble to fetch Things by the slug automattically?

And for reassurance here’s where I set the slug:

Hmm :thinking: That is a good question.

I think it might have something to do with the database being one field has capital letters and the other field only has lowercase values. Try to make them all lowercase and see if that fixes it maybe. That is what I would try to do first. :blush:

See if this works: https://listinglink.ai/version-test/listing/gxyw6v8jb

1 Like

Hi there,

Can you make sure the page datatype is set to the same as the Slug datatype is?

that did work!
Weird cause I did no processing on the output, safe to assume slugs are lowercase then which makes sense. I’ll have to start setting them with lowercases then!

2 Likes

Glad that helped! :blush:

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.