Getting error "Cannot read property "t" from undefined" while transferring variable from client controller to server script in widget

Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 12:27 AM
Hi All,
I am working with widget, while transferring data from client controller to server script, I am getting error.
Server JavaScript error Cannot read property "t" from undefined
Client controller:
c.closemodel = function() {
c.data.t=c.note;
c.server.update();
alert("Your notes are saved");
}
Server Script:
gs.setProperty("notes",input.t,"description");
Labels:
- Labels:
-
Service Portal Development
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2022 01:38 AM
Glad to know it worked for you.
Could you please close the question by marking appropriate response as correct answer, it would be helpful for other users to refer correct solution in future.
Thanks,
Anil Lande
Please appreciate the efforts of community contributors by marking appropriate response as correct answer and helpful, this may help other community users to follow correct solution in future.
Thanks
Anil Lande
Thanks
Anil Lande