Need help with understanding this code

jasonbrough
Kilo Expert

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:

find_real_file.png

and I would like to remove the 'Reject' radio button and add a 'cancel' button,

thanks

Jason

3 REPLIES 3

jasonbrough
Kilo Expert

Also if anyone can explain what 'SNC' means, that might help..


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.


-Anurag

Kalaiarasan Pus
Giga Sage

SNC prefixed items are usually embedded in platform and not accessible to us.