<?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 display data like device details, ip address..in our portal from the 3rd party through API in in Platform Analytics forum</title>
    <link>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217295#M59885</link>
    <description>&lt;P&gt;Hi Team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to implement this - When the user clicks on Device name mentioned in the portal, he/she should get all the details of that device from the 3rd party to our portal through api. how to implement.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Mar 2025 11:58:10 GMT</pubDate>
    <dc:creator>nivethika</dc:creator>
    <dc:date>2025-03-25T11:58:10Z</dc:date>
    <item>
      <title>How to display data like device details, ip address..in our portal from the 3rd party through API in</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217295#M59885</link>
      <description>&lt;P&gt;Hi Team,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to implement this - When the user clicks on Device name mentioned in the portal, he/she should get all the details of that device from the 3rd party to our portal through api. how to implement.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 11:58:10 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217295#M59885</guid>
      <dc:creator>nivethika</dc:creator>
      <dc:date>2025-03-25T11:58:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data like device details, ip address..in our portal from the 3rd party through AP</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217324#M59886</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/50565"&gt;@nivethika&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I assume you have the endpoint of that 3rd party and authentication details, simply create onChange client script and use GlideAjax and send the device name&lt;/P&gt;
&lt;P&gt;Within GlideAjax you can use RESTMessage or SOAPMessage call and get the details, return the details to the client side and then display&lt;/P&gt;
&lt;P&gt;what did you start with and where are you stuck?&lt;/P&gt;
&lt;P&gt;If my response helped please mark it correct and close the thread so that it benefits future readers.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 12:34:16 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217324#M59886</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-03-25T12:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data like device details, ip address..in our portal from the 3rd party through AP</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217331#M59887</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/265966"&gt;@Ankur Bawiskar&lt;/a&gt;&amp;nbsp;thank you for quick response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know how to&lt;SPAN&gt;&amp;nbsp;show device details in sp portal through API ? &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I assume you have the endpoint of that 3rd party --- Yes, we have 3rd party API&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 12:40:06 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217331#M59887</guid>
      <dc:creator>nivethika</dc:creator>
      <dc:date>2025-03-25T12:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data like device details, ip address..in our portal from the 3rd party through AP</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217335#M59888</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/50565"&gt;@nivethika&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I already shared the steps regarding client script, script include, GlideAjax&lt;/P&gt;
&lt;P&gt;what did you start with and where are you stuck?&lt;/P&gt;
&lt;P&gt;If my response helped please mark it correct and close the thread so that it benefits future readers.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 12:43:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217335#M59888</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-03-25T12:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data like device details, ip address..in our portal from the 3rd party through AP</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217447#M59889</link>
      <description>&lt;P&gt;Hello &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/50565"&gt;@nivethika&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Get on portal like where ? On a catalog form right ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then yes, we can do this by calling Rest message function within the script include and just returning response to populate on a field in form.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Shivalika&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My LinkedIn - &lt;A href="https://www.linkedin.com/in/shivalika-gupta-540346194" target="_blank"&gt;https://www.linkedin.com/in/shivalika-gupta-540346194&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My youtube - &lt;A href="https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY" target="_blank"&gt;https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 13:46:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217447#M59889</guid>
      <dc:creator>Shivalika</dc:creator>
      <dc:date>2025-03-25T13:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data like device details, ip address..in our portal from the 3rd party through AP</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217468#M59890</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/764476"&gt;@Shivalika&lt;/a&gt;&amp;nbsp;-No Its not about the catalog item,&lt;/P&gt;&lt;P&gt;I want to know the logic to display the details from 3rd party in my widget. the requirement is to get the device details from 3rd party through API.&lt;/P&gt;&lt;P&gt;1) I started with - we have API- so we did rest message- got token and received machine details from that-- this is clear.&lt;/P&gt;&lt;P&gt;2) now i got stuck how to display in portal with html, client side or server script.&lt;/P&gt;&lt;P&gt;3) Or is there way to right the rest message (preview script usage) directly in server script.&lt;/P&gt;&lt;P&gt;Kindly refer easy and best way to implement this with steps would be helpful.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 13:59:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217468#M59890</guid>
      <dc:creator>nivethika</dc:creator>
      <dc:date>2025-03-25T13:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to display data like device details, ip address..in our portal from the 3rd party through AP</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217495#M59891</link>
      <description>&lt;P&gt;Hello &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/50565"&gt;@nivethika&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can call the rest message directly in the widget's server script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use below &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_down:"&gt;👇&lt;/span&gt; function in server script -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(function() {&lt;BR /&gt;try {&lt;BR /&gt;var restMessage = new sn_ws.RESTMessageV2();&lt;BR /&gt;restMessage.setEndpoint('API_ENDPOINT_URL'); // Replace with actual API URL&lt;BR /&gt;restMessage.setHttpMethod('get'); // Change to 'post', 'put', etc., if required&lt;BR /&gt;restMessage.setRequestHeader('Authorization', 'Bearer YOUR_ACCESS_TOKEN'); // Add necessary headers&lt;BR /&gt;&lt;BR /&gt;var response = restMessage.execute();&lt;BR /&gt;var responseBody = response.getBody();&lt;BR /&gt;data.records = JSON.parse(responseBody); // Store API response for client-side use&lt;/P&gt;&lt;P&gt;} catch (ex) {&lt;BR /&gt;gs.error('Error calling API: ' + ex.message);&lt;BR /&gt;data.records = { error: ex.message };&lt;BR /&gt;}&lt;BR /&gt;})();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use below &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_down:"&gt;👇&lt;/span&gt; code in HTML -&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;div class="container"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;h2&amp;gt;Record Details&amp;lt;/h2&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;div ng-if="data.records.error"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;p class="text-danger"&amp;gt;Error: {{ data.records.error }}&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;table class="table table-bordered" ng-if="!data.records.error"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;thead&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;th&amp;gt;Field 1&amp;lt;/th&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;th&amp;gt;Field 2&amp;lt;/th&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;th&amp;gt;Field 3&amp;lt;/th&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/thead&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tbody&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;tr ng-repeat="record in data.records"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;{{record.field1}}&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;{{record.field2}}&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;td&amp;gt;{{record.field3}}&amp;lt;/td&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tr&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/tbody&lt;/P&gt;&lt;P&gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/table&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please replace it with appropriate methods and variable names in your instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Kindly mark my answer as helpful and accept solution if it helped you in anyway. This will help me be recognized for the efforts and also move this questions from unsolved to solved bucket.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Shivalika&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My LinkedIn - &lt;A href="https://www.linkedin.com/in/shivalika-gupta-540346194" target="_blank"&gt;https://www.linkedin.com/in/shivalika-gupta-540346194&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My youtube - &lt;A href="https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY" target="_blank"&gt;https://youtube.com/playlist?list=PLsHuNzTdkE5Cn4PyS7HdV0Vg8JsfdgQlA&amp;amp;si=0WynLcOwNeEISQCY&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 14:19:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/how-to-display-data-like-device-details-ip-address-in-our-portal/m-p/3217495#M59891</guid>
      <dc:creator>Shivalika</dc:creator>
      <dc:date>2025-03-25T14:19:53Z</dc:date>
    </item>
  </channel>
</rss>

