<?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 Re: Related CI Hierarchy in ServiceNow AI Platform forum</title>
    <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122584#M78973</link>
    <description>&lt;P&gt;Still not following. &amp;nbsp; This is a link to the enterprise demo page. &amp;nbsp; Thanks for trying.&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 05 Oct 2015 12:33:08 GMT</pubDate>
    <dc:creator>Paul Coste2</dc:creator>
    <dc:date>2015-10-05T12:33:08Z</dc:date>
    <item>
      <title>Related CI Hierarchy</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122580#M78969</link>
      <description>&lt;P&gt;In the Configuration Item form, one of the sections is the Relationships formatter, where the upstream and downstream CIs are displayed based on the selected depth level and flat or hierarchical view. &amp;nbsp; This means that whenever this is displayed, this area is updated, and ServiceNow will walk all possible paths to the specified level. &amp;nbsp; This is similar logic to what is running in the CIUtils script when calculating Impacted Services, but it can't be the same code that is running, as the CIUtilis code is specific to Services.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions about this formatter:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Where is the code and when is it run?&lt;/LI&gt;&lt;LI&gt;Can I leverage or modify this code? &amp;nbsp; Has anyone tried to do so?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason for the question is that I am interested in doing some work that will walk the relationship path from a given CI, and I would like to leverage existing code if possible.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 17:55:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122580#M78969</guid>
      <dc:creator>Paul Coste2</dc:creator>
      <dc:date>2015-09-17T17:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Related CI Hierarchy</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122581#M78970</link>
      <description>&lt;P&gt;There are two scripts doing this&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;gwt_tree2.jsx &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;CITree2Node.jsx&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Save complete webpage using firefox and you will get complete code in these two scripts. &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;We customized &lt;SPAN style="font-size: 13.3333px;"&gt;CITree2Node.jsx&lt;/SPAN&gt; to create tree view of Business services.First we modified the code, renamed script and uploaded to UI Scripts then used them in a UI Page using following code.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;script&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;!--Customized &lt;SPAN style="font-size: 13.3333px;"&gt;CITree2Node.jsx --&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;div id="ci_relation_tree"&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;script&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; var t = new GwtTree2("ci_relation_tree", "ci_relation_tree");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t.processor = "com.snc.cmdb.ECMDBAjaxProcessor";&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; t.showRootNode = true;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; var f1 = new CITree2Node(t, "b7b90221847f1940c095cfebdde3b5c1"); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //sys_id of root node&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; f1.setText("Service Portfolio");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; f1.sys_id = "b7b90221847f1940c095cfebdde3b5c1";&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; f1.setTable("cmdb_ci_service");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; f1.setChildName("child");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; f1.setParentName("parent");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; f1.setCanExpand(true);&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; f1.setNodeOpenImage("images/icons/business_services.gifx");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; f1.setNodeClosedImage("images/icons/business_services.gifx");&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; f1.show();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; f1.expand();&lt;/P&gt;&lt;BR /&gt;&lt;P&gt; &amp;nbsp; &amp;lt;/script&amp;gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Sep 2015 05:38:42 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122581#M78970</guid>
      <dc:creator>Gurpreet07</dc:creator>
      <dc:date>2015-09-18T05:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Related CI Hierarchy</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122582#M78971</link>
      <description>&lt;P&gt;Thanks Gurpreet. &amp;nbsp; At least it is good to know others are out there looking at CI relationships. &amp;nbsp; Unfortunately, saving the complete webpage in Firefox with or without the Relationships tab displayed on a CI form I could not confirm what you found. &amp;nbsp; There were no references to these specific jsx scripts included. &amp;nbsp; Perhaps there is a version difference.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 28 Sep 2015 16:03:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122582#M78971</guid>
      <dc:creator>Paul Coste2</dc:creator>
      <dc:date>2015-09-28T16:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: Related CI Hierarchy</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122583#M78972</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;I have been added and attachment of following CI of its compete web page to the same record. Its having both of these files in the folder.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://demo009.service-now.com/cmdb_ci_service.do?sys_id=27d18f6fc0a8000b00ad14d4929d1b45" title="https://demo009.service-now.com/cmdb_ci_service.do?sys_id=27d18f6fc0a8000b00ad14d4929d1b45"&gt;ServiceNow&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Sep 2015 06:01:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122583#M78972</guid>
      <dc:creator>Gurpreet07</dc:creator>
      <dc:date>2015-09-29T06:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Related CI Hierarchy</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122584#M78973</link>
      <description>&lt;P&gt;Still not following. &amp;nbsp; This is a link to the enterprise demo page. &amp;nbsp; Thanks for trying.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Oct 2015 12:33:08 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122584#M78973</guid>
      <dc:creator>Paul Coste2</dc:creator>
      <dc:date>2015-10-05T12:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: Related CI Hierarchy</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122585#M78974</link>
      <description>&lt;P&gt;its is because demo instances used to refresh in every 24 hours. Give me ur email address i will send you through an email.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Oct 2015 05:25:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/related-ci-hierarchy/m-p/1122585#M78974</guid>
      <dc:creator>Gurpreet07</dc:creator>
      <dc:date>2015-10-07T05:25:04Z</dc:date>
    </item>
  </channel>
</rss>

