Question
Infosys Limited
IN
Last activity: 26 Sep 2024 11:38 EDT
Open Case Tab Worked in Previous Version (8.8.4); Does Not Work in Current Version (Pega Infinity '23)
@MarijeSchillern https://support.pega.com/question/open-case-new-browser-tab? This is exactly what we are following to open the case in a new tab and it used to work fine in previous version (Pega Platform 8.4.4), but does not in Pega Infinity '23. The href value is not correctly populating and so its not opening correctly. Pls suggest.
Branched Information: Originally posted as reply here.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Updated: 5 Sep 2024 16:31 EDT
Pegasystems Inc.
GB
@ApoorvaK2635 many thanks for clarifying.
I'm wondering if it has anything to do with the changes in the product relating to java injection mitigation which I mention in this post.
The updated functionality is documented here:
Issues resolved with update impact
Configuring the Java injection check
@RichardMarsot could you provide a response here?
Updated: 5 Sep 2024 16:31 EDT
Pegasystems Inc.
US
@ApoorvaK2635 the runscript function is not impacted by the java injection check
some things to check:
- is the function correctly loaded? e.g. can you call it from the console of the browser?
- do you pass correctly the event as parameter of the function
- if the href is not set, do you see the preview button when you hover on the link - this is when the href should be set
Look at other questions / responses in this article https://support.pega.com/question/open-case-new-browser-tab that might identify the issue
Updated: 5 Sep 2024 16:31 EDT
Infosys Limited
IN
@RichardMarsotThank you for your response! Attached screenshots of console from edge browser and also the configuration at our end. Please take a look. Also, when we hover on the configured link, the href is set, but its not correct. When we right click and use the "open link in New tab" chrome feature, also the correct href is not set.
Updated: 5 Sep 2024 16:31 EDT
Infosys Limited
IN
Hello @RichardMarsot! Including UserHeaderInc Section to our section helped us open the cases in new tab. But, In a similar implementation, where we are opening a report in a new window and trying to open cases links from the table, the solution does not work. Attaching screenshots of the way this is designed in the application
Updated: 5 Sep 2024 16:31 EDT
Pegasystems Inc.
IN
@ApoorvaK2635 It seems the URL wasn't generated using the standard OOTB function. The thread name and action appear to be fully customized. Could you please investigate where this customization might have been applied? A sample URL is attached below for reference. Typically, OOTB URL generation follows a consistent thread name format. If you're unable to locate where the override occurred, please raise an INC request, and we'll be happy to assist you further through the INC.
Sharing the ootb function pega.desktop.infinity.generateNewTabURL() which will help you to get the url in proper structure.
Updated: 5 Sep 2024 16:31 EDT
Schwab
IN
@SakthiVickraman Thank you for your response!
We are unable to open cases even on right click using "open link in a new tab" link. This is a default PEGA behavior.As no customization is made here, we were expecting this to work. Can u pls help? Also, the cases are opening when opened from the portal. But, not when opened from a pop up window. Pls suggest.
Please note we are only right clicking on the links with no customization and using "Open link in new tab" which PEGA supports but still the issue."Open link in new tab" works from user portal, but its not working from Popup using Launch > Harness action
Attached screenshots
Updated: 5 Sep 2024 16:31 EDT
Pegasystems Inc.
US
@NikhilJ4 if you have pop up action with launch harness section, you are loading a custom harness and are no longer in the context of the User Portal functionality provided OOB by the theme-cosmos ruleset
You need to make sure that your harness is including some of the portal JS for this use case to work. If you look at the Work-~Perform harness, it includes pz-cosmos-ui-scripts in scripts and styles and it is using a Screen layout - it is also using the Work-~pxMain section.
If you are still struggling, please open a support request and mention this POST as reference.
Updated: 6 Sep 2024 7:28 EDT
Schwab
IN
@RichardMarsot "pz-cosmos-ui-scripts" are already added in our harnesses. We have included UserHeaderInc Section in our sections and it works when the user opens the case from portal but not when we "openURLinWindow" from Navigation rule. Also, unable to find pxMain but pxCaseMain is there which we cannot use in our reports as it include all case features and we just want to display a table. Pls suggest.
Updated: 5 Sep 2024 16:31 EDT
Pegasystems Inc.
IN
@NikhilJ4The table is opening in a separate window, and I'm unsure if all the necessary JS files have loaded correctly in that window. Could you please open an INC for this? We can debug and collaborate further there.
Updated: 5 Sep 2024 16:31 EDT
Schwab
IN
@SakthiVickraman We already have INC for this INC-B35610
Updated: 5 Sep 2024 16:37 EDT
Pegasystems Inc.
GB
@ApoorvaK2635 please can you clarify which documentation you are following? Are you referring to this DKS discussion?
How to open an assignment in a new browser tab using Theme-Cosmos
Questions:
- What symptoms and browser log errors are you seeing? Please clarify the issue.
- Did you already go through all the previous PSC posts that have come up regarding this requirement?
- Did you check out the Constellation hands-on series?
Please carry out a PSC key word search for 'new tab' browser issues.
Changes in the design process in Theme Cosmos
Work Object not Opening in new Tab
Open section in a new tab from case type
Constellation for traditional UI developers
@ApoorvaK2635 please can you clarify which documentation you are following? Are you referring to this DKS discussion?
How to open an assignment in a new browser tab using Theme-Cosmos
Questions:
- What symptoms and browser log errors are you seeing? Please clarify the issue.
- Did you already go through all the previous PSC posts that have come up regarding this requirement?
- Did you check out the Constellation hands-on series?
Please carry out a PSC key word search for 'new tab' browser issues.
Changes in the design process in Theme Cosmos
Work Object not Opening in new Tab
Open section in a new tab from case type
Constellation for traditional UI developers
Disable preview on a case link blocking the case opening from a new tab
We have a script in non auto generated H
Open section in a new tab from case typTML for creating a work object that needs to open in new tab
Open a New Case in a New Browser Tab
You may want to log a support incident via the MSP if you get no further help here.
Branched Information: Originally posted as reply here.