Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to open the URL the first time



At runtime, on clicking the menu item the first time, the URL does not open. The URL opens in a new window on clicking the menu item the second time.

Error Messages

Not  Applicable

Steps to Reproduce

  1. Create a menu to open a URL in a new window.
  2. Configure the below actions for the menu item: 

    a. Run the DataTransform that calls an activity which sets the pyURL property
    b. Open URL in Window where the Domain URL points to the pyURLproperty

Root Cause

An issue in the custom application code or rules.

All the actions are loaded on the client. When the 'Open URL in Window' is launched, the value is not present on the client. Hence, the 'Open URL in Window' does not have any URL to launch. The value which is set in the last interaction is used in the next interaction. Therefore, the URL opens on clicking the link the second time.

On the first click:

On the second click:


Perform the following local-change:

Configure the value such that it is already available on the client when the menu is loaded. For this, call the data transform before launching the menu.

Published August 19, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us