Script Include Explain part 2

  Рет қаралды 2,908

SKFacts and ITCareers

SKFacts and ITCareers

Күн бұрын

Пікірлер: 9
@Jitenderkumar-qy6vb
@Jitenderkumar-qy6vb 2 жыл бұрын
One of the best explanation of such important topic. So many thanks for this.🙏🙏
@jeevanprakashgullapudi9878
@jeevanprakashgullapudi9878 Жыл бұрын
You are great sir,great explanation.
@somasekharkommuru5452
@somasekharkommuru5452 Жыл бұрын
Thankyou,.......,
@somasekharkommuru3260
@somasekharkommuru3260 Жыл бұрын
Thanks a lot
@SKfacts_ITcareers
@SKfacts_ITcareers Жыл бұрын
Most welcome
@trulymarathi4258
@trulymarathi4258 Жыл бұрын
First time I saw trainer is repeatedly asking please tell me if you understood..please ..please.. it's called dedication.. please help us with this type of youtube videos..can't afford fees as I am jobless.. but thanks for this
@naveenkumar8879
@naveenkumar8879 2 жыл бұрын
Hello Sir, I tried to do the same but it's giving an Java error on portal. Please suggest. Client script: function onChange(control, oldValue, newValue, isLoading) { if (newValue == '') { return; } var no = g_form.getValue('name'); var ga1 = new GlideAjax('getuserDetails1'); ga1.addParam('sysparm_name',userDetails); ga1.addParam('sysparm_requested_for',no); ga1.getXML(pop); function pop(callback){ var myresponse = (callback.responseXML.documentElement.getAttribute("answer")); alert(myresponse); var result = myresponse.split(";"); g_form.setValue('email', result[0]); g_form.setValue('department', result[1]); g_form.setValue('location', result[2]); g_form.setValue('phone', result[3]); } } Script include: var getuserDetails1 = Class.create(); getuserDetails1.prototype = Object.extendsObject(AbstractAjaxProcessor, { userDetails : function(){ var ans = this.Parameter('sysparm_requested_for'); var user = new GlideRecord('sys_user'); user.addQuery('sys_id',ans); user.query(); if (user.next()){ return user.email + ";" + user.department + ";" + user.location + ";" + user.mobie_phone; } }, type: 'getuserDetails1' });
@SelvaKumar-op1sl
@SelvaKumar-op1sl 2 жыл бұрын
In client script for calling the class use global.class name of script include like var ga1 = new GlideAjax ('global.getuserDetails1');
@Eswar..g
@Eswar..g Жыл бұрын
we can put script include name also
Script Include Explain part 1 #servicenow
22:40
SKFacts and ITCareers
Рет қаралды 7 М.
Servicenow Data Policy || #servicenow #learning
24:19
SKFacts and ITCareers
Рет қаралды 3,7 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
Fake Experience Guidance  - Top 20 questions #fake #servicenow #skfacts
28:13
Script Include and GlideAjax ServiceNow Coding Demo with Examples | ServiceNow GlideAjax
20:50
What is ServiceNow? (A Hands-on ServiceNow Tool Demo)
35:45
ServiceNowSimple
Рет қаралды 156 М.
What is SRE | Tasks and Responsibilities of an SRE | SRE vs DevOps
24:25
TechWorld with Nana
Рет қаралды 344 М.
Software Planning and Technical Documentation
10:49
AltexSoft
Рет қаралды 168 М.