Personal tools

Log in

Changes

From All n One's bxp software Wixi

Jump to: navigation, search

JavaScript Self-Referencing Campaigns

239 bytes added, 12:14, 27 April 2012
no edit summary
alert("Library did not load");
else {
var strValue = document.getElementById('Some_Field_In_Script').value;
 
aryAjax_Settings[0] = "client_demo"; //The system to use
aryAjax_Settings[1] = "automatic"; //The automation username
aryAjax_Settings[3] = "1"; //The Id of the campaign
aryAjax_Settings[4] = "strCDA_1_field_0_0"; //The search field
aryAjax_Settings[5] = "1"strValue; //The search value
aryAjax_Settings[13] = "-1"; //Id of the current record, used for delimiting and not repeating current case
aryAjax_Settings[14] = "true"; //Click through to campaign?
aryAjax_Settings[15] = "divWarning"; //The id of the destination to which the table will be inserted
aryAjax_Settings[16] = "Table"; //The types of processing. Table or Insert
//The fields to be returned into the array
//The column names of those fields
aryAjax_Settings[6] = "intCDA_1_Id,strCDA_1_field_0_0,strCDA_1_field_0_1";
aryAjax_Settings[12] = "Id,Field 1,Field 2";
aryAjax_Settings[17] = "intCDA_1_Id,strCDA_1_field_0_0,strCDA_1_field_0_1";
fn_Ajax_BE_Process();
And that should be it and you ready to test and use.
 
 
 
[[Category:JavaScript]]
7,528
edits