0
Answered
Rodney 4 months ago in Widgets • updated by Vladimir Mullagaliyev (co-founder) 4 months ago 2

Hi,


I have a page in an Angular2 app that I need to launch a widget to the FAQ KB and a widget to the Forum. The code in my index page specifies that the widget should open 1,2 or 3. I need to be able to specify which widget to open in the UE.Popin.preload() code. How can I do this?


Answer

Answer
Answered

Hello, you can use following javascript call to open specified Forum/KB/Helpdesk


UE.Popin.show(ID)

Find out more details in documentation

http://feedback.userecho.com/topics/7885-userecho-widgets/

GOOD, I'M SATISFIED

Thanks for the quick response. Do I also need to put the ID in the preload method?


onmouseover="UE.Popin.preload(3);" href="#" onclick="UE.Popin.show(3)

Satisfaction mark by Rodney 4 months ago
Answer
Answered

Hello, you can use following javascript call to open specified Forum/KB/Helpdesk


UE.Popin.show(ID)

Find out more details in documentation

http://feedback.userecho.com/topics/7885-userecho-widgets/

Unfortunately, "preload" doesn't work with this method. If you post some specific ID in the "show" method it will reload window anyway. So, just ignore this parameter.