Posts

Showing posts with the label QueryDef

Authentication for Inbound Interaction in Adobe Campaign Classic

Image
I am working to enable some security for the inbound interaction for Adobe Campaign Classic Offer. We are working to get the inbound call via SOAP for call center channel. I have setup the offer space will name "callCtr" under Recipient Environment. The goal is to ensure the caller passes an username and password while making the SOAP call. Also I want to enable the authentication for specific offer spaces only. The SOAP request for Propose method has the <urn:sessiontoken> node. But for offer service that is not used. So I planned to use the node in the same way as Message Center enables the authentication. So the caller needs to pass the  value as username/password inside the sessionToken element. Here are the changes I did and note I made changes to the nms:interaction.js file. Be sure to backup the original file before you try and Adobe may not support if you make changes. So be ready to fly on your own!!! Step 1: Create an option variable to store the name o...

Adobe Campaign: Call Java Script from Input Form

I came across a scenario where I need to do some custom auditing when some fields are  changed via an input form. So for that I had to call javascript functions from an input form. I have custom schema as cus:Preference with 1:1 join with nms:Recipient. And audit was required to capture who is making change to the preference page if any. Step 1: Create an entry in the input form for the soapCall.  <form>   <container > <!--Enter the form fields here-->   </container>   <leave> <!--servi = "name of the schema where the method is declared"-->     <soapCall name=" auditPreference " service=" cus:Preference ">       <param exprIn="[@id]" type="int"/>       <param exprIn="[@recipientId]" type="int"/>       <param exprIn="[@prefAllCommunications]" type="boolean"/>       <param exprIn="[@prefAllCommunicationsModifiedDat...