- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 02:57 PM - edited 02-05-2025 03:02 PM
Hello All -
I've cloned the Link Button widget and placed it on our service portal page so that after a user submits a request he can open the request item in the worker view. The button looks great but does nothing. What do I put for the server script & html? I want a button that says 'Open in Worker View', and opens the current record.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 05:50 AM
Hi @Brian15 ,
Where have you placed this "Link Button EC" widget. Is it under form in portal. Please describe more clear how and when you are showing this button.
Because, it feels like you are just giving like static variables and not entering any data into the function.
Thanks and Regards,
Allu Gopal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 05:50 AM
Hi @Brian15 ,
Where have you placed this "Link Button EC" widget. Is it under form in portal. Please describe more clear how and when you are showing this button.
Because, it feels like you are just giving like static variables and not entering any data into the function.
Thanks and Regards,
Allu Gopal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 07:23 AM - edited 02-06-2025 08:01 AM
Hi Allu - here is where I placed the button. Also shown is that scope.data is empty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 11:12 AM
Allu - your comment led me to change the server script to
data.sysId = $sp.getParameter('sys_id');
data.table = $sp.getParameter('table');
data.url = '/nav_to.do?url=' + data.table + '.do?sys_id=' + data.sysId;
which resolved the issue and the button now works. Thanks for the direction!
Regards,
Brian