I created an interface with read only grid which pulls data from process analytics. I would like to bring dialog box when user clicks on a link from the interface.
Any suggestion how I can implement this? Thank you.
Discussion posts and replies are publicly visible
A dialog box is different than a pop-up. Dialog boxes are achieved using a!submitLink and providing the confirmation message. And Pop-ups are achieved using record actions and related actions. But both of them have a purpose. I don't know which one fits here because I am unaware of the link you want the user to click, but if that is simply a task link, none of these would work there.
I want to open a task link in the dialog, from where user can take action.
if you are using Tasklink() , You can't open it in dailouge , Just like Chaitanya told Task link Opens in "NEW_TAB","SAME_TAB".
If you want it in Dailog box , have ever heard concept of "Short lived Processes?" , it's a bit work around , you can try it.
I used this but not working. Its opening a new tab.
a!gridColumn( label: "Status", value: a!linkField( links: a!processTaskLink( label: fv!row.c12, task: fv!identifier, openLinkIn: "SAME_TAB" ) ) ),
You cannot get a Pop-Up for any thing other than a Record or Related action.
Thats what I also know
amikb0002 Where is your grid placed? On a site page, in a UIT or as a record action?
If it is in a recordAction, opened as a Popup, then SAME_TAB won't work.