Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
We are using Link widget in one of the apps .
The property for the widget , Target Window : New window and Popup Window seems to be having the same display/Behaviour.
For both the options new tab is opened.
We have a requirement to open in the url in a popup.
Is this a bug with link widget that popup also open in new tab.
Thanks
Manisha
.
Manisha, what version of ThingWorx are you using?
Hi,
We are using ThingWorx 6.5.6-b217 (with apache-tomcat-8.0.30).
Thanks.
Hello Manisha,
"TargetWindow" option in the Link Widget works different than "TargetWindow" option in Navigation Widget.
Link Widget was never implemented to show a Popup on top of the current window similar to what Navigation Widget does. Link Widget will open a new window or a new tab depending on the browser configuration for "pop-ups".
For example, Internet Explorer offers the following 3 options:
1. Let IE decide how pop-ups should open
2. Always open pop-ups in a new window
3. Always open pop-ups in a new tab
Reason why this was implemented like this: loading the external URL from the Link Widget inside a pop-up window like the Navigation Widget would create a security issue.
However, as you mentioned, in the Link Widget, the options "TargetWindow = New Window" and "TargetWindow = Popup Window" have the same behavior. While we already know how "Popup Window" should behave, I agree with you that "New Window" shouldn't depend on the popup setting of the browser. If you would like to have this reported to R&D, please create a Case with Technical Support.
I hope it helps!
Vanessa
in my case popup window and new window having different behaviour. i dont know exactly why this happened