Portal- Refreshing embedded widgets by option value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2016 01:43 PM
In my Service Portal widget, I have an embedded widget that I am passing different record producer sys ID's into.
The approach I'm taking is using the client script to pass data to the server script as input.
The problem I'm seeing is that once the widget is loaded, I can't reload that widget using different option values.
HTML
<sp-widget widget="c.data.recordProducerWidget"></sp-widget>
Client Script
$scope.showRPSoftware = function() {
$scope.data.someID = "12345abcd";
spUtil.update($scope);
}
Server Script
data.recordProducerWidget=$sp.getWidget("sc-catalog-item", {sys_id: input.someID}); |
Any insight into how I can dynamically reload a widget from a client script would be great.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-23-2016 11:15 AM
Serkan,
Use broadcast to send any variable to another widget and "selamlar eger Turksen "

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2017 01:09 AM
Merhaba Verda,
Thank you for your help!
Selamlar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-12-2017 09:13 AM
I'm getting the exact same... "undefined"