Click on link button needs to open page in new tab on the service portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2018 11:23 PM
Hello All
I have an link button on service portal, when I click on link button it is opening in the same window but it need to be opened in the new tab.
On the same page we have link which when clicked opens in a new tab.
Any pointers how to fix this issue to open in a new tab.
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2018 02:07 AM
I was going through some Stackoverflow articles.
I guess target works only for href tag, which explains why it works for a lnk on your page but not for a button.
for button try following and see f it gives any better results.
formtarget="_blank"
Thanks
harshad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-30-2018 06:06 AM
I tried with the all
"target": {
"value": "_blank"
"displayValue":"_blank"
}
still not working page is opening in the same window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2018 05:33 AM
oh..this should have worked.
no any other Idea's I have, sorry:(
Thanks
Harshad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2018 04:23 AM
Can we write anything in this widget
<div>
<!--<button data-toggle="collapse" data-target="#chat-iframe" class="btn btn-primary">Chat</button>-->
<div class="panel panel-group panel-{{::c.options.color}} b">
<div class="panel-heading">
<h4 class="panel-title">
<span ng-if="c.options.glyph"><fa name="{{::c.options.glyph}}" /></span>
<!-- <a data-toggle="collapse" class="a collapsed" href="#collapse{{data.instance_id}}">
{{::c.options.title}}
</a>-->
<button type="button" data-toggle="collapse" data-target="#collapse{{data.instance_id}}" class="btn btn-link btn-xs collapsed">
{{::c.options.title}}
</button>
</h4>
</div>
<div class="panel-body">
<!--<div id="chat-iframe" class="collapse collapsed">-->
<div id="collapse{{data.instance_id}}" class="collapse collapsed">
<iframe src="https://xxxxxxxxx" height="500px" width="400px" target="_blank"></iframe>
</div>
</div>
</div>
</div>