Last activity: 5 Sep 2021 21:24 EDT
Using HTML Open Work Object in New tab
Requirement :- in Report on click of work object/case ID case should open in new browser tab.
What's happening now : It is opening same report Definition in different tab and Work object is opening in same portal/screen.
I tried target="_blank" but its going into loop.
I am calling Control in Report Definition , In that control I am using HTML as below,
<% String strPublicLinkURL = pega_procom_pegaprocomutilities.getPublicLinkURL(); String workURL = strPublicLinkURL + "?pyActivity=Work-.Open&Action=Perform&InsHandle="; String workHandle = tools.getActiveValue(); String AppendWorkId = "TFNSW-SPEEDREV-WORK "; workHandle=AppendWorkId+workHandle; String workId = pega_rules_string.whatComesAfterLast(workHandle,' ');
<a href='#' target="Diff" onclick = "OpenRuleByHandle('<%=workHandle%>')"><%= workId %></a>