The variable plexXML contains the XML data that is sent to Plex. The syntax needed is as follows:
“<PlexFunction xmlns=\"http://adcaustin.com/ws-plex/1.0\"><InputVariables Name=\"YOUR_INPUT_VARIABLE_NAME\"><Field Name=\" YOUR_FIELD_NAME \">"+ encodeToXML(YOUR_VARIABLE) +"</Field></InputVariables></PlexFunction>”
For a unique parameter
For multiple parameters
NOTE: To send multiple parameters, use “&” to separate the values in the URL. This is defined in the “deeplink.java” file. You can see this code in the “deeplink_multipleParameters.java” file, which contains a function created to separate the values from a URL, you can copy and use the code in that file to your projects. Remember to change the length from the array “myValues” and the “plexXML” variable according to the number of parameters that you will send.