how to popup the url in same window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2020 01:15 AM
hi everyone,
I am using a following HTML code in one of my portal widget.
<div>
<!-- your widget template -->
<div>
<button type='link' ng-click="c.generatePassword()"style="color:black;">url</button>
</div>
</div>
for now when we click on the url it is opening in new tab but my req is to open in same frame like for example when we open a record producer and click on preview blink, the form opens in same frame like wise I want to implement the same with the mentioned url in the widget.
please help.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2020 01:43 AM
HI I am trying this but on the form I am unable click on the link

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2020 01:45 AM
Instead of ng-href.. use normal href and check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2020 01:50 AM
i have tried this but it is not working and it is breaking my page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2020 01:56 AM
can you share your widget code once here. also the screenshot of the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2020 02:23 AM
<div>
<!-- your widget template -->
<div>
<button type='link' ng-click="c.generatePassword()"style="color:black;">url</button>
</div>
</div>