Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 08:57 AM
Hi Team ,
We using client controller to call the script include
but we are enable to invoke the script include
Please guide me where it went wrong
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 09:46 AM
@String ,
Can you please try this method:
Client Code:
$scope.myFunc = function(){
c.data.shipto = $scope.page.g_form.getValue('shipto');
c.data.billto = $scope.page.g_form.getValue('billto')
c.server.update();
}
Server Code:
if (input && input.shipto && input.billto) {
//you can call script include here
var scriptInclude = new scriptIncludeName();
scriptInclude.functionName( input.shipto, input.billto);
}
If my answer solved your issue, please mark my answer as ✅Correct & 👍Helpful based on the Impact!
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 11:04 AM
Thanks a lot @Prince Arora