Support Article

Link control removes duplicate query parameters



When a link control is configured with an alternate URL that has multiple parameters with same name but different values, the URL is opened in a window. However, all the parameters are removed except the last one.

When the URL is designed through Actions tab for link control with value as, only the last name value parameter is retained and the URL opened is

This issue did not occur when PRPC 6.x was used.

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure a link control, and add Open URL in Window action.
  2. Provide the value similar to the Example in Summary.
  3. Click the link during runtime.
  4. Inspect the URL address when it opens in a new window.

Root Cause

openUrlInWindow() uses SafeURL_createFromURL() to encode the given URL. This removes duplicate parameters. In order to maintain backwards compatibility, duplicate parameters must not be removed. If the character # is not present in the specified URL, use JavaScript encodeURI API instead of SafeURL_createFromURL().


Apply HFix-29162.

Published September 1, 2016 - Updated September 14, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.