Hi,
I added an icon column in my record type and I would like to whenever the user clicks on the icon, it calls a process model. Can someone give me some direction on how I can accomplish that?
This is what I have so far where it opens the record, but I want to call a process so a user input form is presented to the user.
a!documentImage( document: a!iconNewsEvent( icon: "COMPOSE" ), link: a!recordLink( label: rf!ssId, recordType: rp!type, identifier: rp!id ))
Thank you in advance.
Roberta
Discussion posts and replies are publicly visible
How it would be if you could use a!dynamicLink() instead of a!recordLink().
a!dynamicLink() has saveInto parameter, u can call a processmodel using it.
a!localVariables( local!exportId, { a!linkField( labelPosition: "COLLAPSED", links: a!dynamicLink( label: "Render Excel File", saveInto: { a!exportProcessReportToExcel( report: cons!REPORT, documentName: "Report " & now(), saveInFolder: cons!TARGET_FOLDER, onSuccess: a!save( local!exportId, fv!newDocument ) ) } ) ) } )
Hi papreed0001,
Thank you for your response. The icon is in a record type, part of a List definition.
But I will check the dynamicLink function to see if I can use it in there.
Thanks,
You will want to look into a!startProcessLink(). This can be used, in conjunction with a process model (reference stored in a constant) to start pretty much whatever process you want - when a user clicks on it they will be taken to whatever interface(s) you have defined in that process model, then return to where they started (similar to a related action on a record).
Thank you, Mike.
It worked!