Script Include Explain part 2

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

SKFacts and ITCareers

SKFacts and ITCareers

Күн бұрын

Пікірлер: 9
@jeevanprakashgullapudi9878
@jeevanprakashgullapudi9878 Жыл бұрын
You are great sir,great explanation.
@somasekharkommuru3260
@somasekharkommuru3260 Жыл бұрын
Thanks a lot
@SKfacts_ITcareers
@SKfacts_ITcareers Жыл бұрын
Most welcome
@somasekharkommuru5452
@somasekharkommuru5452 Жыл бұрын
Thankyou,.......,
@Jitenderkumar-qy6vb
@Jitenderkumar-qy6vb 2 жыл бұрын
One of the best explanation of such important topic. So many thanks for this.🙏🙏
@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
Fake Experience Guidance  - Top 20 questions #fake #servicenow #skfacts
28:13
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Servicenow Mock Interview & Feedback #skfacts #servicenow
1:22:46
SKFacts and ITCareers
Рет қаралды 1,2 М.
What is ServiceNow? (A Hands-on ServiceNow Tool Demo)
35:45
ServiceNowSimple
Рет қаралды 156 М.
FAKE experience guidance || #skfacts #itjobs
12:53
SKFacts and ITCareers
Рет қаралды 8 М.
What is SRE | Tasks and Responsibilities of an SRE | SRE vs DevOps
24:25
TechWorld with Nana
Рет қаралды 344 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,8 МЛН