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

Work Object opens in home tab instead of new tab

SA-12493

Summary



A work object from CPMInteractionPortal opens in Home tab whereas, it should open in a new tab.
 

Error Messages



Not Applicable

Steps to Reproduce



1. Open CPM 7 Interaction Portal.
2. Navigate to Manager Tools.
3.Select a link which is configured to open a work order using OpenWorkByURL method.


Root Cause



The WorkArea Gadget configured in the Portal is a Tabless Dynamic Container. The Tabs which are visible in the top are not actual Tab Headers, instead it is Recent Gadget configured to be displayed horizontally. So on clicking a link, a new document is opened but a new entry in recents is not added.
This is because OpenWorkByURL Action does not support Recents.

 

Resolution



This issue is resolved through the following local-change: 

Use pega.desktop.createNewWork function instead of openWorkByURL.
syntax: pega.desktop.createNewWork("AAAA","","BBBB")'  where AAAA is class name and BBBB is flow name.

Published July 30, 2015 - Updated December 2, 2021

Was this useful?

33.333333333333% 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