103
Views
6
Comments
Solved
Pop-up message on the delete record button
Service Studio Version
11.54.34 (Build 62959)

How do I put a yes/no pop-up message on the delete record button? 

With the "yes" option going to the module to delete the record and the "no" option going back to the previous screen.



botao.png
modulo eliminar.png
2021-09-06 15-09-53
Dorine Boudry
 
MVP
Solution

@Rui Magalhães ,

if you want a simple confirmation box without any custom logic, you can just fill in the Confirmation Message property of a button or link.  It will either go ahead or not dependent on answer of end user.

It is the default browser confirmation, so you have no control over how it looks, but it is very little work.

Dorine

2023-06-06 10-13-52
Rishabh Chawda
Solution

Hi @Rui Magalhães 

If you want to create a simple confirmation popup box, you can just fill in the Confirmation Message Property of a button or link.

Thank you. 

2025-02-10 17-24-13
Arun Rajput

Hi Rui,

As I can see you have delete button inside list so what you need to do that when user click on delete icon just hold that Id of that perticular item in local variable and open the pop up.

When user click on yes button inside popup use that id for deleting that records,

When user clicks on No button simply make Show popup property false.

Regards,

Arun

2024-05-08 06-29-37
Prince Aadil Khan Panwar

hi Rui Magalhães,

1. create link with the icon like this and pass the user identifier

then 

2. create a variable isopen and pass the value bydefualt false and assign into the pop like that 

create a local variable for the delete for the delete action and pass the value which has been passed in step one 

pass isopen as true 

on yes button do this pass the localvariable id for deletion and isopen as false so pop up will close.

attaching an oml for help

hope this helps

Thanks 

Prince

AssignmentPopup.oml
2021-09-06 15-09-53
Dorine Boudry
 
MVP

@Prince Aadil Khan Panwar ,

or @ anyone else downloading this oml,

be aware that you shared an oml, with a anonymous screen, deleting users.  If anyone would know the link to your personal environment (maybe you shared a link in some other post) they could now possibly have access to delete your users.

Also, be mindfull of promoting best practices in your forum replies, directly executing a Delete<Entity> inside a screen action is not the best of ideas, and beginners might think it is ok from seeing it in your reply.

2024-05-08 06-29-37
Prince Aadil Khan Panwar

thanks a lot @Dorine Boudry for reminding me these silly mistake,s yes it may delete my systems users if any one got to know about my link. second yes i will follow the best practices in helping OMLs as well. as i wanted to help i used this else i promote only best practices on the outsystems platform. Thanks again. have a good day. 

2021-09-06 15-09-53
Dorine Boudry
 
MVP
Solution

@Rui Magalhães ,

if you want a simple confirmation box without any custom logic, you can just fill in the Confirmation Message property of a button or link.  It will either go ahead or not dependent on answer of end user.

It is the default browser confirmation, so you have no control over how it looks, but it is very little work.

Dorine

2023-06-06 10-13-52
Rishabh Chawda
Solution

Hi @Rui Magalhães 

If you want to create a simple confirmation popup box, you can just fill in the Confirmation Message Property of a button or link.

Thank you. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.