Create a JavaScript array in a SOAP template

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 2분
  • These are instructions for creating JavaScript arrays using SOAP execution parameters.

    시작하기 전에

    Role required: web_service_admin, activity_admin, activity_creator

    이 태스크 정보

    To add more name-value pairs to the parameter's array, append the values to the existing array.

    프로시저

    1. Create a JavaScript object with the following syntax, and add it to the executionParam.parameter array:
      var newParameter = {"name":"parameterName","value":"parameterValue","additional_attribute":"none"}; 
      executionParam.parameters.push(newParameter);

      By adding the new parameter JavaScript object to the array, you ensure that any elements already available in the array are not impacted.

    2. Make sure to set the value in the Additional attribute column in the SOAP message parameters input field to Do not escape text.

      In this case, the system does not escape the value specified for the value attribute. An example of this is:

      var newParameter = {"name":"parameterName","value":"parameterValue","additional_attribute":"do_not_escape_text"}; 
      executionParam.parameters.push(newParameter);
      주:
      If the value for the additional_attribute field is None, then the system escapes the value specified by the value attribute. In the first example, parameterValue is escaped.