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

OpenURLInSpace opens in a Pop Up instead of work Area

SA-18623

Summary



User upgraded from 6.2 to 7.1.7. They are converting their traditional portals to composite portals. In their application they are using OpenURLInSpace which opens as popup instead of work area unlike old version.

Error Messages



No error message

Steps to Reproduce



1. Create a composite portal , with screen layout "top left"
2. Create a section for left plane use html where you can use OpenURLInSpace on button click, OR create a list view on right pane where onclick is configured to call OpenURLInSpace which calls an activity to do Show-Harness

Expected Result:
It should open the url in workspace

Actual Result:
It opens the url in a popup

Root Cause



An issue in the custom application code or rules. OpenURLInSpace is mainly for fixed portals to open URL in a specific space.

In composite portals, to open in a popup, use the "rulebyurl", "spacehomewithurl", "listbybasket", "listbyurl", "listbyuser" actions.


Resolution



Perform the following local-change:

Suggested user to either
-
    configure autogenerated actions like openWorkItem, openWorkByHandle, Create New Work, launch harness.  (OR)
-
    launch using the below API as it is not possible for the customer to convert it to auto generated sections.

openSpace("Work", url, "formbyurl")

Published January 31, 2016 - Updated October 8, 2020

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