Streaming live at 10am (PST)

Access the auto-generated ID of a CMS item

Happy new year everyone!

The title says it all: I can definitely access it using an outside server, such as the following image:

image

However, I need a way to access it from the designer in order to use it in the front-end. Example:

image

Anyone from the Webflow team knows if there’s any API that allows me to access the auto-generated ID for a given collection item?

Thanks!

Ps: @cyberdave @webdev … I’m @ing you guys in case you know of something! Thanks

@Jeandcc - You could copy the value shown in the designer when editing a cms item (BOTTOM) and place it into a new field in that collection, then it would be accessible. Happy New Year.

1 Like

Hey Jeff! Thanks for that! I actually considered doing that and I might do it as my last option. I just felt that it was a bit too “manual”. I didn’t really want the client doing that kind of manual work.

Nevertheless, thank you so much!

Hey all whats the progress in this!? I cant actually understand how this is not naturally included. I need item Id’s in literally every external call.

So are we saying the only way to do this atm is to duplicate the webflow CMS Id for each item in a collection? Or am i missing something?

Thanks

1 Like

I also need the ability to access item ID and have it auto add to the CMS item. Otherwise zapier will never auto update.

2 Likes

I also need this, any workaround?

Hello Everyone.

I don’t recall what I did for that specific project, but one way I would take care of that need nowadays would be adding a webhook listener to the “collection_item_created” event, and update a custom field of that item with its id for every new item that would trigger that webhook call.

I would do it through cloud functions, but zapier and parabola seem like a good fit for something like this in case you are not comfortable with code.