Define a new Class Script Include (use case)

Hello Tech People !!!
Welcome to ServiceNow Development.
⏱️TIMESTAMPS⏱️
0:00 Intro
0:19 What we have learned in the last video?
0:46 What we are going to learn in today's video?
1:53 Define a new class Script Include
3:14 How to create class, prototype and function
9:45 Use Case (understanding)
12:03 Use Case (Implementation)
26:23 Use Case (Testing/Debug)
29:18 Thanks for watching !!
Welcome to ServiceNow Developer series !!
We are preparing for Certified Application Developer (CAD) exam.
We will learn all the relevant topic regarding ServiceNow Development.
-All Playlist -
ServiceNow Developer - • ServiceNow Developer
ServiceNow CSA Exam preparation 2023 - • ServiceNow CSA Exam pr...
ServiceNow Virtual Agent (CHATBOT) - • ServiceNow Virtual Age...
ServiceNow System Administrator - • ServiceNow System Admi...
Microsoft Azure - • Microsoft Azure
#servicenow
#techwithpri
#techworld
#techchannel

Пікірлер: 15

  • @LouieTheBluey
    @LouieTheBluey4 ай бұрын

    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.

  • @techwithpri

    @techwithpri

    4 ай бұрын

    Hey !! So this is plugin that I am using in chrome browser 🤓 Check the video to understand in better way - kzread.info/dash/bejne/aqJ3ktZtgKudndo.html

  • @bhargavky
    @bhargavky5 ай бұрын

    Hi Pritam, All your videos are superb and very helpful. Please do videos on integrations, that would be helpful.

  • @techwithpri

    @techwithpri

    5 ай бұрын

    Sure I will 😇😇.

  • @swapnilghodekar3781
    @swapnilghodekar37817 ай бұрын

    Hi Pritam, What to do to see all the field as well as related list table sys-id on form

  • @techwithpri

    @techwithpri

    7 ай бұрын

    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 😄

  • @swapnilghodekar3781

    @swapnilghodekar3781

    7 ай бұрын

    ​@@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

  • @techwithpri

    @techwithpri

    7 ай бұрын

    @@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..

  • @chellamarudhupandianc3617
    @chellamarudhupandianc36177 ай бұрын

    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 ?

  • @techwithpri

    @techwithpri

    7 ай бұрын

    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.

  • @chellamarudhupandianc3617

    @chellamarudhupandianc3617

    7 ай бұрын

    thanks for the clarification :) @@techwithpri

  • @techwithpri

    @techwithpri

    7 ай бұрын

    @@chellamarudhupandianc3617 Always welcome 😃

  • @Kannavolgs37

    @Kannavolgs37

    6 ай бұрын

    if it is used in client side its working array to string automatically@@techwithpri

  • @kartikeyrawat5456
    @kartikeyrawat54565 күн бұрын

    what is the shortcut to get the table name ?

  • @techwithpri

    @techwithpri

    Күн бұрын

    Hey 👋 If you have sn_utills plugin installed in your browser, just double click in blank area in a list or form view 🤓