Define a new Class Script Include (use case)

Поделиться
HTML-код
  • Опубликовано: 16 сен 2024

Комментарии • 21

  • @shaziyasultana3703
    @shaziyasultana3703 Месяц назад

    Great session pritam , thank you

    • @techwithpri
      @techwithpri  Месяц назад

      Glad you liked it!! Keep watching and keep learning 😁

  • @andyj4172
    @andyj4172 Месяц назад

    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!

    • @techwithpri
      @techwithpri  Месяц назад +1

      Hey 👋
      I am glad that my video is helping you to clear your concept 😇
      The CAD questions video is coming on August First week 😔

    • @andyj4172
      @andyj4172 Месяц назад

      @@techwithpri oh man 😓 are there any recommended links or sources you know are good to look at it?

    • @MoeGriffin
      @MoeGriffin 21 день назад

      @@techwithpri Hello Pri? Have they been uploaded yet? Thanks in advance you are truly a life saver.

  • @LouieTheBluey
    @LouieTheBluey 6 месяцев назад

    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  6 месяцев назад

      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

  • @bhargavky
    @bhargavky 7 месяцев назад

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

    • @techwithpri
      @techwithpri  7 месяцев назад +1

      Sure I will 😇😇.

  • @swapnilghodekar3781
    @swapnilghodekar3781 9 месяцев назад

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

    • @techwithpri
      @techwithpri  9 месяцев назад

      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 9 месяцев назад

      ​@@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  9 месяцев назад

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

  • @kartikeyrawat5456
    @kartikeyrawat5456 2 месяца назад

    what is the shortcut to get the table name ?

    • @techwithpri
      @techwithpri  2 месяца назад

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

  • @chellamarudhupandianc3617
    @chellamarudhupandianc3617 9 месяцев назад

    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  9 месяцев назад +1

      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 9 месяцев назад

      thanks for the clarification :) @@techwithpri

    • @techwithpri
      @techwithpri  9 месяцев назад

      @@chellamarudhupandianc3617 Always welcome 😃

    • @Kannavolgs37
      @Kannavolgs37 8 месяцев назад

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