Service Portal - set value of field in record producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-20-2016 06:25 PM
Hey,
I'm trying to set the value of an input field in a record producer from the Service Portal widget's client or server script.
I have no problems using functions like g_form.setValue() on normal catalog items, but I'm lost with how to manipulate anything in a record producer.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-21-2016 05:26 PM
I'm currently on patch 4.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-01-2016 10:32 AM
Hi Vincent,
We're on patch3 and having the same issue. The g_form is not present in $scope.page at all.
At the moment I'm doing it the ugly way
$scope.data.sc_cat_item._fields["IO:4eeda9c2dbbeee002583bedffe961969"].value = value;
which I don't like.
Hopefully it will be fixed and applied soon.
Cheers
Greg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2016 01:10 PM
Hey Greg,
Are you loading your embedded widget on the client or server side?
Also, are you using this script on the embedded widget itself or the widget that calls the embedded widget?
I am having some trouble accessing the ._fields vallue of my widget.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-03-2016 05:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-02-2016 01:50 PM
Hopefully it will be fixed and applied soon.
I would suggest trying to replicate your issue on a developer instance.