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.
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..
Very informative video! However, two points should be avoided due to good practices: 1) Never use gr as the name of a GlideRecord 2) To get field values we must use the getValue method and to set the value of a field we must use the setValue method.
When I selected assignment group as service desk I want only this group user name has to display when I clicked on caller field on change request how can i do , please suggest me
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!
Very well explained Pritam! Wonderful!
The pleasure is all mine 🤓..Keep watching and keep learning 👍
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 -
ruclips.net/video/8nC0t4PH7mw/видео.html
Sir your video is so informative
The pleasure is all mine 🤓..Keep watching and keep learning 👍
Hi @TechWithPri, i am your new subscriber and your videos are really helpful, thanks for sharing knowledge.
The pleasure is all mine 🤓..Keep watching and keep learning 👍
Great session pritam , thank you
Glad you liked it!! Keep watching and keep learning 😁
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.
thanks for the clarification :) @@techwithpri
@@chellamarudhupandianc3617 Always welcome 😃
if it is used in client side its working array to string automatically@@techwithpri
Hi Pritam, What to do to see all the field as well as related list table sys-id on form
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..
Very informative video!
However, two points should be avoided due to good practices:
1) Never use gr as the name of a GlideRecord
2) To get field values we must use the getValue method and to set the value of a field we must use the setValue method.
Well said 🤓
When I selected assignment group as service desk I want only this group user name has to display when I clicked on caller field on change request
how can i do ,
please suggest me
Hey 👋
That does not make any sense !! 😅
Although you can do it by changing the reference qualification on the caller field.
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!
Hey 👋
I am glad that my video is helping you to clear your concept 😇
The CAD questions video is coming on August First week 😔
@@techwithpri oh man 😓 are there any recommended links or sources you know are good to look at it?
@@techwithpri Hello Pri? Have they been uploaded yet? Thanks in advance you are truly a life saver.
what is the shortcut to get the table name ?
Hey 👋
If you have sn_utills plugin installed in your browser, just double click in blank area in a list or form view 🤓
Hi Pritam, All your videos are superb and very helpful. Please do videos on integrations, that would be helpful.
Sure I will 😇😇.