Need help with understanding this code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2015 01:35 AM
Hello,
I have some code which I am struggling to understand. Can anyone explain where the functions and classes highlighted below exist in the system as I cannot find them:
<g:evaluate var="jvar_verification_ids" object="true">
var process_id = new SNC.PwdTrackingManager().getProcessIdByRequestId('${sysparm_request_id}');
new SNC.PwdProcessManager().getVerificationIdsByProcessId(process_id);
</g:evaluate>
<div id="verification_forms">
<j:forEach items="${jvar_verification_ids}" var="jvar_verification_id">
<g:evaluate var="sysparm_verification_id">'${jvar_verification_id}';</g:evaluate>
<form id="verification.${sysparm_verification_id}" onsubmit="return false">
<g:evaluate var="jvar_verification_ui" object="true" jelly="true">
new SNC.PwdVerificationManager().getVerificationUIByVerificationId(jelly.jvar_verification_id);
</g:evaluate>
<g:macro_invoke macro="${jvar_verification_ui}" />
</form>
</j:forEach>
</div>
The code above is held within a UI Page called $pwd_verify (in the HTML section). From what I can understand, it is used to generate this page:
and I would like to remove the 'Reject' radio button and add a 'cancel' button,
thanks
Jason
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2015 01:36 AM
Also if anyone can explain what 'SNC' means, that might help..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2015 01:41 AM
SNC should be a package, i think. There is no documentation available anywhere and still we sometimes see some code present in the system and we have no idea how is it working.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-03-2015 02:27 AM
SNC prefixed items are usually embedded in platform and not accessible to us.