Service Subscriptions through Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2016 10:33 AM
All Helsinki and Service Portal Users,
I have a requirement to allow end users (non-fulfillers/approvers) to subscribe to business services notifications. However, I setup a redirect in ServiceNow so if the user doesn't have an roles associated to their profile, they're redirected to the Service Portal. Is there a widget in the Service Portal that allows an end user to subscribe to notifications of business services?
In the native UI, you have the ability to subscribe to notifications for business services through your profile icon in the upper right hand corner of the screen. In the Service Portal, you can go to the same profile icon but do not have the ability to subscribe to notifications.
Anyone else experiencing this?
All help is appreciated,
-Marques

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-08-2016 01:11 PM
In your initial descriptions you stated you wanted "..an end user to subscribe to notifications of business services..." which is what the functionality I wrote about does. If you're changing your requirements to allow end users to subscribe to any notification (like in your screenshot) you will need to write a widget for that. It shouldn't be too tough-- that screenshot is literally just adding a new record on the 'sys_notif_subscription' table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-24-2016 01:42 AM
Hi Marq,
As advised above, please activate the required plugins(Service Portal - Service Status') so that the required items are loaded. Now to get the page on the portal view, use i frames. I have placed a button in my profile which will open a Modal for subscriptions. Please see the screenshots below:
Let me know if you need the code for the modal and iframe.
Please hit correct answer if this helps. Please like and and mark helpful to support me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2016 09:26 AM
Yogesh,
This is exactly what we ended up doing. Thanks for the follow up!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2017 05:16 PM
Hello... would you be able to share the code? I am looking to enable this in our Service Portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-01-2017 08:52 AM
<script>https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.5.12/clipboard.min.js"></script>
<div class="col-sm-12">
<div class="panel panel-info">
<div class="panel-heading">
<a ng-href="#" data-toggle="modal" data-target="#notifInfo"><span class="glyphicon glyphicon-share"></span> My Notification Preferences</a>
</div></div>
<!-- Modal -->
<div id="notifInfo" class="modal modal-wide fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header NotiticationHeadder">
<button type="button" class="close NotiticationHeadderClose" data-dismiss="modal">×</button>
<h4 class="modal-title"><span class="glyphicon glyphicon-share"></span> My Notification Preferences</h4>
</div>
<div id="copynumb">
<div class="modal-body">
<iframe name="gsft_main" id="myframe" src="/notification_preferences.do" frameborder="0"></iframe>
</div>
<!-- Trigger
<button class="btn" data-clipboard-target="#copynumb">Copy</button>-->
<p> </p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Done. Thank you!</button>
</div>
</div>
</div>
</div>
Use some CSS for styling.