The CreatorCon Call for Content is officially open! Get started here.

Service Portal - Icon link that opens a new window

shill
Mega Sage

I am looking for a way to create a custom Icon Link widget to direct the user to a URL, but to open that URL in a new window instead of the portal page.

I've made a copy of the baseline Icon Link widget, but am unsure as to how I might change the behavior for the URL link.

1 ACCEPTED SOLUTION

markb2
Mega Expert

Hi Steven,



You may have resolved this yourself by now but the OTB (Helsinki Patch 7, not sure about previous versions) "Icon Link" widget accepts an option called "target" where you can specify how you want the link to behave. Locate your widget instance in the widget instances list and then add an additional option for target. E.g.



{


  "target": {


    "value":"_blank"


  },


  "link_template": {


  "value": "Circle Icon",


  "displayValue": "Circle Icon"


  }


}



additional_options.png



Thanks,



Mark


View solution in original post

6 REPLIES 6

devi_putra
Kilo Guru

Hi Steven,



Please go through the below links:


How to make a UI action open a URL not in a separate tab, but in a popup window?


UI action to open a form in a new window



Hope this will help you.



Thanks,


Devi



PS: Hit like, Helpful or Correct depending on the impact of the response.


This is specific to the Helsinki service portal and widgets, not UI actions.


Jerry20
Tera Contributor

I just encountered this same problem today.   Were you able to find a solution?


I've been out for the last week so I haven't worked on it lately, but no, I have not yet.