Hello Jeff, I have a Challenge for you...I am trying change the list of options in a select box that is withing a MRVS, but depending on a value selected on a select box that is outside the MRVS, of course this is related to a 'simple' catalog item, you help me out, I bring more subscribers!!! 😝
@BloodBathFenixКүн бұрын
Client script not working for you?
@parinose61639 ай бұрын
Hi Jeff! I do not get it ... What's wrong with my script? I have no results. I hoped to be as excited as you! Version : Washington patch1 Script: var users=new GlideRecord('sys_user'); while (users.next()){ gs.info(users.getValue('first_name')); } Thx in advance!
@WillieWilliams-of4wo9 ай бұрын
You're missing "users.query(); after line 1.
@parinose61639 ай бұрын
@@WillieWilliams-of4wo Thx! I put this script: var users=new GlideRecord('sys_user'); users.query(); gs.info(users.getrowcount()); Result: undefined script
@parinose61639 ай бұрын
I put this one : var users=new GlideRecord('sys_user'); users.query(); gs.info(users.getRowCount()); result:627 The only diff. I see, it's the capital letter... So, it's case-sensitive! THX, anyway, for your reply!