how to get the display value of a sys id

yoli1
Tera Contributor
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

Dibyaratnam
Tera Sage

Rather you can use gs.getUser().getDisplayName().

It should resolve your issue.