# Open Case Tab Worked in Previous Version (8.8.4); Does Not Work in Current Version (Pega Infinity '23)

**URL:** <https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219>\
**Category:** User Experience\
**Tags:** 8-8-4, user-experience, case-management, pega-platform\
**Created:** [August 16, 2024, 1:46pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219 "2024-08-16T13:46:15Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![ApoorvaK2635](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@ApoorvaK2635](https://forums.pega.com/u/ApoorvaK2635)\
**Post date:** [August 16, 2024, 1:46pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/1 "2024-08-16T13:46:15Z")

</div>

@MarijeSchillern [https://support.pega.com/question/open-case-new-browser-tab?&nbsp](https://support.pega.com/question/open-case-new-browser-tab?&nbsp); 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.

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [August 16, 2024, 2:22pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/2 "2024-08-16T14:22:10Z")

</div>

@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](https://support.pega.com/question/how-connect-external-server-and-execute-shell-script-pega#comment-1011161).

The updated functionality is documented here:

[Issues resolved with update impact](https://docs.pega.com/bundle/platform/page/platform/release-notes/issues-resolved.html#d793839e657)

[Configuring the Java injection check](https://docs.pega.com/bundle/platform/page/platform/security/configure-java-injection-check.htm)

@RichardMarsot could you provide a response here?

---

<div class="post-metadata">

**Author:** ![RichardMarsot](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/richardmarsot/32/23530_2.png) [@RichardMarsot](https://forums.pega.com/u/RichardMarsot)\
**Post date:** [August 16, 2024, 7:40pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/3 "2024-08-16T19:40:24Z")

</div>

@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 [Open case in new browser tab | Support Center](https://support.pega.com/question/open-case-new-browser-tab) that might identify the issue

---

<div class="post-metadata">

**Author:** ![ApoorvaK9938](https://avatars.discourse-cdn.com/v4/letter/a/9e8a1a/32.png) [@ApoorvaK9938](https://forums.pega.com/u/ApoorvaK9938)\
**Post date:** [August 20, 2024, 3:23pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/4 "2024-08-20T15:23:57Z")

</div>

@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.

 ![JS_On_Console.PNG](https://pega1.discourse-cdn.com/pega/original/2X/4/4b389727b8d381a61c85ba6332a0fff5948cc5bc.png)

 ![Event_Config.PNG](https://pega1.discourse-cdn.com/pega/original/2X/4/48081ca9f5b4effa9decda378638f8d48cd8a7a1.png)

 ![hrefs.PNG](https://pega1.discourse-cdn.com/pega/original/2X/8/813a468cf7d895b7d2189a78c4024ea7efe9fe09.png)

---

<div class="post-metadata">

**Author:** ![ApoorvaK2635](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@ApoorvaK2635](https://forums.pega.com/u/ApoorvaK2635)\
**Post date:** [September 2, 2024, 12:04pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/5 "2024-09-02T12:04:46Z")

</div>

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

 ![PortalReports.png](https://pega1.discourse-cdn.com/pega/original/2X/a/a13418b99032f091cff91471bd57f1402bf69594.png)

 ![image.png](https://pega1.discourse-cdn.com/pega/original/1X/a12e8608819d5bbf2ecc5ed900be4e9950d27d22.png)

---

<div class="post-metadata">

**Author:** ![SakthiVickraman](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/sakthivickraman/32/1646_2.png) [@SakthiVickraman](https://forums.pega.com/u/SakthiVickraman)\
**Post date:** [September 4, 2024, 4:09pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/6 "2024-09-04T16:09:42Z")

</div>

@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.

 ![Url .png](https://pega1.discourse-cdn.com/pega/original/2X/c/c735ef5d259648c7b5f7b786271e0d619dd7ff32.png)

---

<div class="post-metadata">

**Author:** ![RichardMarsot](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/richardmarsot/32/23530_2.png) [@RichardMarsot](https://forums.pega.com/u/RichardMarsot)\
**Post date:** [September 5, 2024, 4:08pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/7 "2024-09-05T16:08:58Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![NikhilJ4](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@NikhilJ4](https://forums.pega.com/u/NikhilJ4)\
**Post date:** [September 5, 2024, 4:28pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/8 "2024-09-05T16:28:11Z")

</div>

@SakthiVickraman We already have INC for this INC-B35610

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [August 14, 2024, 3:47pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/9 "2024-08-14T15:47:47Z")

</div>

@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](https://support.pega.com/discussion/how-open-assignment-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](https://support.pega.com/discussion/constellation-hands)series?

Please carry out a PSC key word search for['new tab](https://support.pega.com/search?q=%22new%20tab%20%22%20)’ browser issues.

[Changes in the design process in Theme Cosmos](https://docs.pega.com/bundle/platform/page/platform/user-experience/theme-cosmos-ui-kit.html)

[Open URL in new tab](https://support.pega.com/question/open-url-new-tab)

[Work Object not Opening in new Tab](https://support.pega.com/question/work-object-not-opening-new-tab)

[Open section in a new tab from case type](https://support.pega.com/question/open-section-new-tab-case-type)

[Constellation for traditional UI developers](https://docs.pega.com/category/constellation-traditional-ui-developers)

[Disable preview on a case link blocking the case opening from a new tab](https://support.pega.com/question/disable-preview-case-link-blocking-case-opening-new-tab)

[We have a script in non auto generated H](https://support.pega.com/question/we-have-script-non-auto-generated-html-creating-work-object-needs-open-new-tab)

[Open section in a new tab from case typ](https://support.pega.com/question/open-section-new-tab-case-type)[TML for creating a work object that needs to open in new tab](https://support.pega.com/question/we-have-script-non-auto-generated-html-creating-work-object-needs-open-new-tab)

[Open a New Case in a New Browser Tab](https://support.pega.com/question/open-new-case-new-browser-tab)

[Open case in new browser tab](https://support.pega.com/question/open-case-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.

---

<div class="post-metadata">

**Author:** ![NikhilJ4](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@NikhilJ4](https://forums.pega.com/u/NikhilJ4)\
**Post date:** [September 5, 2024, 3:45pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/10 "2024-09-05T15:45:49Z")

</div>

@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

 ![Opencase_M-14439989.png](https://pega1.discourse-cdn.com/pega/original/1X/51970d19a5eafc36cc1f0408a406caf948fddd65.png)

 ![Opencase-issue_M-14439989.jpg](https://pega1.discourse-cdn.com/pega/original/2X/2/2b841e6ac7351a7e46e8429486f6574d429d101d.jpeg)

---

<div class="post-metadata">

**Author:** ![SakthiVickraman](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/sakthivickraman/32/1646_2.png) [@SakthiVickraman](https://forums.pega.com/u/SakthiVickraman)\
**Post date:** [September 5, 2024, 4:10pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/11 "2024-09-05T16:10:39Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![NikhilJ4](https://avatars.discourse-cdn.com/v4/letter/n/ee7513/32.png) [@NikhilJ4](https://forums.pega.com/u/NikhilJ4)\
**Post date:** [September 5, 2024, 5:54pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/12 "2024-09-05T17:54:55Z")

</div>

@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.

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [September 26, 2024, 3:38pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/13 "2024-09-26T15:38:44Z")

</div>

@NikhilJ4 I see that INC-B35610is still in progress. Please post an update here once issue is updated by GCS.

---

<div class="post-metadata">

**Author:** ![MarijeSchillern](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/marijeschillern/32/23321_2.png) [@MarijeSchillern](https://forums.pega.com/u/MarijeSchillern)\
**Post date:** [November 28, 2024, 4:44pm UTC](https://forums.pega.com/t/open-case-tab-worked-in-previous-version-8-8-4-does-not-work-in-current-version-pega-infinity-23/8219/14 "2024-11-28T16:44:18Z")

</div>

@NikhilJ4 I see that your support ticket INC-B35610 was resolved with analysis issue cause by unsupported use case:

* * *

**Issue Reported:**

_We have implemented a functionality where a Cases report is opened from a navigation rule which has case links. On click, these cases Should open in a new tab which is not happening._

_We are using PEGA Infinity with theme cosmos and implemented the JS function openlinkinNewTab (Run script) to open cases in a new browser tab along with openWorkItem (action)._

_However, this solution is not working for us. Is there any other way to implement this in PEGA infinity?_

**Answer provided by GCS:**

_After conducting an internal investigation, we identified that the issue arises because we do not have access to the portal information or the thread context. As a result, the workObject is not being rendered, which is an unsupported scenario._

_As you pointed out, the code that previously worked (e.g., opening in a new tab) cannot be directly compared to the current version._

_The latest Infinity 23 release introduces enhanced security and efficiency measures for page rendering, which fundamentally changes how custom code interacts with the platform._

_While the custom code worked in earlier versions, it is no longer compatible with the newer Infinity versions. Hence this is an unsupported scenario in Infinity versions and unfortunately, there is no alternative solution to achieve the behavior._

* * *
