Skip to main content

 –

Configuring the custom control by encrypting the URL in JavaScript

Suggest edit Updated on June 30, 2021

When you see the message "Unregistered request encountered" in the security alert log, you need to fix the behavior of the non-autogenerated control that invokes the specified rule. There are various ways to register the rule or encrypt the URL to prevent this alert from being logged. Use JavaScript when you cannot use the rule form and your control calls custom JavaScript.

Call pzEncryptURLActionString to encrypt the URL, as shown in the following example:

Example: Encrypting the URL in JavaScript
An example of URL encryption in JavasScript

Did you find this content helpful? YesNo

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us