@venugopalakrishna please open an SR - the collaboration center is not the place to troubleshoot issues - the code below just performs a window.open using the link generated - this is similar to doing a right click on a link where the preview button is shown and open in a new tab - if this is not working, likely the thread name is incorrect or some customization have been added that are breaking the functionality
try first with a clean Theme-cosmos app - using the myworklist and right click → open in new tab on any case - it should open a case in a new new browser tab - preview or open assignment should be working - now replace the link by the action set provided above and it should do the same thing using a direct click.
I tried the secondary AJAX container but nothing happened on click. Please correct me if I wrong, while using the secondary as target, don’t I need to have a secondary embedded in my portal.
I just need to get the cases open in review mode in a different browser tab from the main case that the user is working on.
@RichardMarsot we are able to open the case in the new tab using the script provided by you. but the Preview is not working as expected. when we click on the preview , it replacing the screen with the case instead of opening in the secondary ajax container as a side bar.we are on Theme-Cosmos:03-0.
@mudavath if this code is not working - likely it is because the if condition is failing
the if condition checked that the link (A tag) has a valid href attribute - setting a breakpoint at the beginning of the function should help to debug the issue - the href should be set automatically when hovering on the link