I wrote a small joomla 4 component and made it possible to create a new item in the frontend.
After creating a new item, Joomla core components usually redirects to a list view. But I want to redirect to the detail view of the item.
Unfortunately I do not know the
id of the new item at the time of creation. Therefore I can not create the URL while creating the item.
Is there a way to do this that I do not see?