At 17:27 of your video, how did you toggle the column names next to their column labels? It seems you may have pressed a shortcut key. Can you elaborate on that, as this can be very useful.
Hey !! So this is plugin that I am using in chrome browser 🤓 Check the video to understand in better way - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-8nC0t4PH7mw.html
Hey Pritam, you are the best. I have my developer certification next week and these videos are helping alot. Do you have any sample questions or extra review for the certification besides the videos? Thank you for all the help!
i have a JS related question , You are returning pTask and gMember in both the functions , while calling methods and getting updated in the description fields, are they not supposed to come up as [ticket1, ticket 2] ? where are the square brackets ?
Hey !! Its not coming as a square bracket because ServiceNow has a limitation where it automatically converts arrays to strings when returning them from server-side scripts. This means your array is being converted to a comma-separated list of values without square brackets.
Yes for that you have to return JSON Array containing JSON Objects. And in detail I have shared the procedure with use case in my new video JSON Object and Script Include. Do check it out and let me know 😄
@@techwithpri Sorry I put my question wrongly, i mean to say you do something on form and you get all the beckend values of field and related-list. i want to know how you do that
@@swapnilghodekar3781 First you can send reference field value (ex: caller_id) as sysparm variable to the script include and then store all the value in a object form and push to an array then return the array in client and place accordingly. For Related field you may need to deal with another function on the script include end. Check my next video for more detail..