\$sp.getParameter('sys_id') returning null

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2017 02:14 PM
I created a widget but my $sp.getParameter('sys_id') returns null. How do I fix it? Just want to mention that I am new to service Portal.
Labels:
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-22-2017 08:59 PM
Is your URL (page) has the sys_id value in it? I mean, in which page you are calling this widget?
This video my help to understand: TechNow Ep 28 | Service Portal - YouTube
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2017 02:51 AM
Hi Claudilla,
$sp.getParameter('sys_id') which value your expecting here current user details from url
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-23-2017 02:54 AM