- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 05:32 AM
Hi All,
We are developing the catalog portal and we are unable to convert the below message 'please wait for response' and 'Please add Values'.Please suggest the syntax
we created a records in sys_ui_message
api.controller = function($scope, spUtil) {
/* widget controller */
var c = this;
try {
$scope.getreset = function() {
var msg = confirm('please wait for response');
if (!msg) {
return false;
} else {
$scope.page.g_form.setValue('test','12');
}
};
} catch (exception) {
}
};
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 06:54 AM
Hello @String
You can get translated data from server script and then add that in message in client side.
Example server:
data.waitMessage = gs.getMessage("please wait for response");
Client:
var msg = confirm(c.data.waitMessage);
Note: Verify the syntax for above statement once.
Thank you,
Ali
Thank you,
Ali

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2024 06:54 AM
Hello @String
You can get translated data from server script and then add that in message in client side.
Example server:
data.waitMessage = gs.getMessage("please wait for response");
Client:
var msg = confirm(c.data.waitMessage);
Note: Verify the syntax for above statement once.
Thank you,
Ali
Thank you,
Ali