Customize an alert dialog

Hello everyone,

I want to create an alert when an user delate an item in a repeating group.
In the documentation, you have :
One doc. deprecated for following the procedure : (Deprecated) Alert Deprecated

And this other one, is still up to date with the element Alert Dialog : Dialog (Modal, Alert, Sheet) | Documentation

So I followed the second one.
SO I integrated the element Alert Dialog in the Design like this :

And below is my workflow. :

Evrything is fine.
But now I want to customise the element.
I did a Bining like below. But it does not work for sure.

So do you knoz how could I make it ?
Thank you

Hi there,

I’m not sure, but I assume you want your “alert description” to be dynamic (so it automatically pick the specific object from the array).

If I understood that correctly, then you need to change your formula. Right now you’re always picking the first object in the array (the object with the index = 0) by hardcoding its index (Blog.data[0].titre).

Instead of that there should be something like “…nomme”+(getByIndex(Blog.data,item.index).titre+“a bien…”

Hello,

It does not work because I don’t have the function “item.data.id”. And the Alert Dialog cannot get it because it does not in the repeating group and I cannot send the information in the workflow.

I Think I have to do with this process : Alerts system | Documentation

But why do WeWeb say it is deprecated ?

Thank you