One way to trigger your spel code might be the following:
The button submits an OP=UPDATE on a known record specifying a specific htmpl, doing this in the background.
The server will checkout the given object and return the htmpl in edit mode.
An onload event in this htmpl might initiate a save automatically by submitting another OP=UPDATE.
This would trigger the save of the object, and all the corresponding majic triggers.
You could also create your own webengine operation , but this is more unsupported than the first approach.
Hope this helps ,somehow....
Regards
..........Michael
------------------------------
Principal Services Consultant
HCL Enterprise Studio
Germany
------------------------------
Original Message:
Sent: 07-14-2020 02:23 PM
From: venkateswarlu v
Subject: Create event from the the button on incident page
Hi there,
how can create an event by clicking the button?
I am familiar with creating an event using spl scripting.
however, I am looking for help on how can I can call the spl function from the button click on incident page. detail_in.html page.
Thanks