- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2022 05:14 AM
When a user goes to service portal and clicks on 'My Incidents' and opens any incident, the form for the end user is displayed. There was requirement to add a link to the incident number on the right side column.
I have updated the script and created a link on that incident number but when the incident records opens up, it opens on the same tab. The requirement is that it needs to be opened on a new tab.
The following code was added to HTML:
The following change was made to client script:
It is working as expected and is opening the incident record as required but it needs to be opened on a new tab.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 10:27 AM
Hi
Update your code as per below code in Client script
url=$scope.data.table+".do?sys_id="+$scope.data.sys_id
window.open(url,'_blank');
Please mark my answer correct and helpful if this resolves your issue.
Regards,
Palak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-02-2022 06:13 AM
Hi there!
Are you still looking for an answer for this query?
Regards,
Palak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-05-2022 01:40 AM
Hi Pala,
Yes, I am still looking for an answer to this query.
Regards
Adwitiya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-07-2022 10:27 AM
Hi
Update your code as per below code in Client script
url=$scope.data.table+".do?sys_id="+$scope.data.sys_id
window.open(url,'_blank');
Please mark my answer correct and helpful if this resolves your issue.
Regards,
Palak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2022 06:00 AM
Thanks Palak. This solution worked.