Forum Academy Marketplace Showcase Pricing Features

Getting the ID of the newly created thing

Hello again :slight_smile:

I need to retrieve the id of the thing that’s just been created, because I will have to pass this id to my different screens, to perform actions on this element later.

How can i get this id ?
I saw that there’s a "Result of step2 (create a new field) : As I understand, I can do stuff on this element but for now, the only thing I want is retrieve it’s id to store it in a custom state.

Could you please help me ?

Sorry for bothering, I found a way to do it.
For those who might be interested, I don’t know if it’s the best way but here’s how i did it :

I have an action when the button is clicked :
It saves the data
then it stored the unique id inside a custom state
This unique id is retrieved by simply doing : "Result of step 2 (create a new Event)'s unique ID

(in my case the thing that is created is an event)

It’s working exactly as I need.

This is exactly the solution I would also have proposed.



Thank you Sarah !

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