<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question How to Populate incident table based on Caller id using Script Include in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508995#M165921</link>
    <description>&lt;P&gt;When ever i select Caller id i need to populate email, phone, manager name, &amp;amp; title, this i need to get using Script include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE HELP ME OUT on this&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2017 15:27:08 GMT</pubDate>
    <dc:creator>shaik_irfan</dc:creator>
    <dc:date>2017-08-14T15:27:08Z</dc:date>
    <item>
      <title>How to Populate incident table based on Caller id using Script Include</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508995#M165921</link>
      <description>&lt;P&gt;When ever i select Caller id i need to populate email, phone, manager name, &amp;amp; title, this i need to get using Script include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLEASE HELP ME OUT on this&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 15:27:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508995#M165921</guid>
      <dc:creator>shaik_irfan</dc:creator>
      <dc:date>2017-08-14T15:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Populate incident table based on Caller id using Script Include</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508996#M165922</link>
      <description>&lt;P&gt;Hi Shaik,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;Use an onChange catalog client script. &amp;nbsp; It should work for your needs.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;OL class="dp-c" start="1" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit;"&gt;function&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; onChange(control, oldValue, newValue, isLoading) { &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; id = g_form.getValue(&lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit;"&gt;'u_first_field');//replace 'u_first_field'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit;"&gt;with&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; the name of your reference field. &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; user = &lt;/SPAN&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; GlideRecord(&lt;/SPAN&gt;&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit;"&gt;'sys_user'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;); &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user.addQuery(&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit;"&gt;'sys_id'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;,id); &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; user.query(); &amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;&lt;SPAN class="keyword" style="font-weight: inherit; font-style: inherit;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; ( user.next() ) { &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &amp;nbsp; g_form.setValue(&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit;"&gt;'u_manager_field'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;, user.manager); &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &amp;nbsp; g_form.setValue(&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit;"&gt;'u_last_name'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;, user.last_name); &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt; &amp;nbsp; g_form.setValue(&lt;SPAN class="string" style="font-weight: inherit; font-style: inherit;"&gt;'u_whatever'&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;, user.field_on_sys_user); &amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;} &amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;} &amp;nbsp; &lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt; Note: Modify the above Script accordingly.&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Thank you.&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Rohith.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Aug 2017 15:46:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508996#M165922</guid>
      <dc:creator>Rohith Sabbinen</dc:creator>
      <dc:date>2017-08-14T15:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to Populate incident table based on Caller id using Script Include</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508997#M165923</link>
      <description>&lt;P&gt;Rohith,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I already achived this via client scirpt since Glide Record is not a Best practice to use in Client script my manager asked me to implement same via Script include.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Can you please help me out &amp;nbsp; ?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Aug 2017 15:49:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508997#M165923</guid>
      <dc:creator>shaik_irfan</dc:creator>
      <dc:date>2017-08-14T15:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Populate incident table based on Caller id using Script Include</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508998#M165924</link>
      <description>&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Hi,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;For Auto population of the above defined Variables you can write an Script Include and call the same Script Include in an OnLoad Catalog Client Script as mentioned below:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Script Include:&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;var requestor_details = Class.create();&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;requestor_details.prototype = Object.extendsObject(AbstractAjaxProcessor, {&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; requestor_info: function() {&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; var result = this.newItem("result");&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; var logged_user = gs.getUserID();&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; var user_detail = new GlideRecord('sys_user');&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; user_detail.addQuery('sys_id',logged_user);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; user_detail.query();&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; while(user_detail.next())&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; {&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; result.setAttribute("user",user_detail.sys_id);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; result.setAttribute("phone", user_detail.phone);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; result.setAttribute("email",user_detail.email);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; result.setAttribute("location",user_detail.location);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; }&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; },&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; type: 'requestor_details'&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;});&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Auto Populate - Script Include.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/180976iA10D2F289DF369DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Auto Populate - Script Include.png" alt="Auto Populate - Script Include.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;2) Then you can write an On Load Catalog Client Script wither on your Catalog Item or on the Variable Set to have the variables populated as shown below:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Script:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;function onLoad()&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; var ga = new GlideAjax("requestor_details");&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; ga.addParam("sysparm_name","requestor_info");&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; ga.getXML(ajaxResponse);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; function ajaxResponse(serverResponse) {&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; var result = serverResponse.responseXML.getElementsByTagName("result");&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; var phone = result[0].getAttribute("phone");&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; var user = result[0].getAttribute("user");&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; var email = result[0].getAttribute("email");&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; var loc = result[0].getAttribute("location");&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; g_form.setValue('requestor_phone',phone);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; g_form.setValue('requestor_name',user);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; g_form.setValue('Location_user',loc);&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt; &amp;nbsp; }&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Auto Populate - Client Script.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/180980i5A94980F45F95352/image-size/large?v=v2&amp;amp;px=999" role="button" title="Auto Populate - Client Script.png" alt="Auto Populate - Client Script.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;Replace your Variable Name appropriately in the Set Value Conditions say for example in place of the variable "Location_user" with your Location Variable.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-family: arial, sans-serif; color: #666666;"&gt;In a Similar Way you can try for other Variables also.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Aug 2017 16:09:58 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508998#M165924</guid>
      <dc:creator>Rohith Sabbinen</dc:creator>
      <dc:date>2017-08-14T16:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Populate incident table based on Caller id using Script Include</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508999#M165925</link>
      <description>&lt;P&gt;Thanks Rohith ,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Can i do this using onChange ?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Mine is Incident table &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Aug 2017 16:14:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1508999#M165925</guid>
      <dc:creator>shaik_irfan</dc:creator>
      <dc:date>2017-08-14T16:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to Populate incident table based on Caller id using Script Include</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1509000#M165926</link>
      <description>&lt;P&gt;Yes you can do it, Just modify the On load as per your requirement.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;I'm going to recommend against putting a bunch of related fields on the form as a bad practice. Most of this information is available simply by hovering over the "i" icon next to the reference field. Unless you anticipate the user changing their department, customer unit, or something else during the request process (which isn't likely for most of this information) then I would leave it off the form. It's what reference fields were designed to do.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;Rohith.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Aug 2017 16:25:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1509000#M165926</guid>
      <dc:creator>Rohith Sabbinen</dc:creator>
      <dc:date>2017-08-14T16:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Populate incident table based on Caller id using Script Include</title>
      <link>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1509001#M165927</link>
      <description>&lt;P&gt;Rohith,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Everything is working fine only i have 2 doubts,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Under Location i can see Sys_id instead of display value, can you please let me know how to convert it into Displlay Value&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Other is Can you please explain me below script in details what does Set Attribute does ? what is Resulg [0]&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;result.setAttribute("user",user_detail.sys_id);&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Aug 2017 16:57:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/how-to-populate-incident-table-based-on-caller-id-using-script/m-p/1509001#M165927</guid>
      <dc:creator>shaik_irfan</dc:creator>
      <dc:date>2017-08-14T16:57:04Z</dc:date>
    </item>
  </channel>
</rss>

