how to get the display value of a sys id
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 02:56 PM
hello how can i get the display value rather than the sys id ?
<j:if test="${jvar_mode=='update'}">
<g:evaluate var="jvar_stored_answer_ids" object="true" jelly="true" >
var userId = gs.getSession().getUser().getID();
jelly.jvar_mgr.getStoredAnswerIdsByVerificationId(userId, jelly.jvar_verification_id);
</g:evaluate>
</j:if>
link code :
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 04:03 PM
Rather you can use gs.getUser().getDisplayName().
It should resolve your issue.