- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 02:44 AM
Hi all,
Self Service Portal Helsinki : g_form.setValue('field', getMessage'message') not working the first time page loads. But when I open again the record producer form still from the portal, the message shows up.
Any idea what the issue could be?
Regs,
Lô Mouhamadou
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 04:23 AM
Sorry for more bad news. I found the issue in Helsinki Patch 2, so upgrading to that release won't be your answer (yet). The function only prints the key and does not fetch the message from the server (even if you use the Messages field.) So sad.
I know it's not the answer you were looking for, but if you would be so kind... please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
If you are viewing this discussion from your "inbox", use the "mark as correct" option under actions. If you are viewing it directly from the thread use the Correct Answer link (red with a star).
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 04:29 AM
Do you have the related problem number ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 04:34 AM
Hi Lo,
I did a little digging and came up with this number: PRB684427
It looks like the fix target is Helsinki Patch 3 (and included in Istanbul.) No target release date on Helsinki Patch 3 yet, but if history is any indication, we have been releasing patches about once a month.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2016 05:01 AM
thanks for this I appreciate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2016 10:29 AM
You can use it with a callback function.
Ex:
Alert:
getMessage("Hello World", function(msg){
alert(msg);
});
Info Message:
getMessage("Hello World", function(msg){
g_form.showFieldMsg('field_name', msg, 'info');
});

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2016 10:31 AM
FWIW, callback doesn't work with Service Portal (my journey started there.) See above PRB for reference.