Need to show confirm box along with the record link before submitting the record
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 01:23 AM
Hi,
I have a requirement to show a confirm box if they create a duplicate record. The confirm box should have the link of existing record. How can this be achieved.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 02:30 AM
Hi @Vaishnavi38
In JavaScript, alert, prompt, and confirm boxes can only contain plain text.
If you're looking to show more complex messages, you can use addInfoMessage() to display a message with hyperlink, or you could create a custom UI page with your own OK and Cancel dialog for confirmation.
Could you provide more details on the operation where duplicate records are being created? What is the table involved, and how are users able to create these duplicates?
Cheers,
Tai Vu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2024 02:35 AM
Hi, There is OOB UI Pages exist for your requirement. You should duplicate from original and modify the script based on your requirement. Please find below.
Suresh.