


Hello,
I would like to know how to trigger a Soap call after a record has been deleted through a graphic user interface (Navigation hierarchy)
For data creation this works for me:
<leave>
<soapCall name="callMethod" service="cus:myDataSchema"></soapCall>
</leave>
I'd like to have something that works also for data deletion
Could you help me?
Thanks,
Salvatore
Hello,
Someone can help me with this problem?
Thanks,
Salvatore
Views
Replies
Sign in to like this content
Total Likes
Hi Salvatore,
I am not sure how to help with your request, perhaps should you elaborate the exact use case you have in mind.
If your purpose is linked to an auditing system, you can activate it at RDBMS level (Postgresql, MySQL, SQL Server, Oracle etc auditing capacity) or by implementing a SQL "after" trigger to record whatever you want
Usually the logic is to implement the SQL "before" trigger and allow to cancel a request.
At the Adobe Campaign side, doing something "after" deletion ("leave" form entry) is a bit late, to my mind. It should be "before" ('enter" form entry).
But perhaps it doesn't match your expectation.
Otherwise, in "before" case, you can modify the form to deny deletion, or prompt a subform. I suggest such idea but I didn't test that kind of thing yet.
Regards
J-Serge
Hi,
Are you looking to do the same as Re: How to log the delete action on a recipient?
I guess you would have to set up an Apache rule (such as RewriteCond %{HTTP:SoapAction}) or a reverse proxy (such as nginx) to intercept any HTTP call to SOAPAction: xtk:persist#WriteCollection, which is the call used when you want to delete a recipient:
"Delete a recipient" call headers:
"Delete a recipient" call http data:
Screenshots of Fiddler intercepting calls to a local ACC6 instance
Kind regards