<?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>topic Re: Need to show only the Tool name not the Path name in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859795#M4687</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kaiser,&lt;/P&gt;&lt;P&gt;When I used the above method, I am getting only the Tool name and that is perfect...That is exactly what I am looking out for...But the actually functionality of the tool is not coming...Please find the below image for the same. Kindly suggest...&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/358660_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Jun 2017 07:46:53 GMT</pubDate>
    <dc:creator>JanakiGattu1</dc:creator>
    <dc:date>2017-06-27T07:46:53Z</dc:date>
    <item>
      <title>Need to show only the Tool name not the Path name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859791#M4683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ArcGIS Pro SDK Team,&lt;/P&gt;&lt;P&gt;I have some custom models built using the Model Builder....Using ArcGIS Pro SDK - On Click of a Button, I have written the logic to open the Model for Processing - Which is in turn opening in the Geoprocessing Pane for the Execution.and I dont have any problem in executing the tool. ....But when the tool opens it is showing me the complete Path name where the tool is located - Instead I would like to see only the Tool name...Please find the below screenshot for the same...Help me in getting only the toolname on click of a button not the complete path name in ArcGIS Pro SDK.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/358583_Capture.JPG" style="width: 620px; height: 288px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 07:16:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859791#M4683</guid>
      <dc:creator>JanakiGattu1</dc:creator>
      <dc:date>2017-06-26T07:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the Tool name not the Path name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859792#M4684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you have that screenshot where it is showing the full path?&amp;nbsp; You want its 'alias' perhaps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 07:38:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859792#M4684</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-26T07:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the Tool name not the Path name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859793#M4685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patterson,&lt;/P&gt;&lt;P&gt;Please find the below screenshot as requested...On click of the Button...It is showing me the complete path as below.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/358589_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:28:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859793#M4685</guid>
      <dc:creator>JanakiGattu1</dc:creator>
      <dc:date>2017-06-26T09:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the Tool name not the Path name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859794#M4686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this .Net method:&lt;/P&gt;&lt;PRE class="line-numbers language-csharp"&gt;&lt;CODE&gt;System&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IO&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Path&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GetFileNameWithoutExtension &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;thePathVariable&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 21:04:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859794#M4686</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2017-06-26T21:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the Tool name not the Path name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859795#M4687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Kaiser,&lt;/P&gt;&lt;P&gt;When I used the above method, I am getting only the Tool name and that is perfect...That is exactly what I am looking out for...But the actually functionality of the tool is not coming...Please find the below image for the same. Kindly suggest...&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/358660_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 07:46:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859795#M4687</guid>
      <dc:creator>JanakiGattu1</dc:creator>
      <dc:date>2017-06-27T07:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the Tool name not the Path name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859796#M4688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you want a line in your code somewhere to actually get the tool which was happening previously, then you want to assign the tools name to the dialog as well.&amp;nbsp; Would two lines of code accomplish your purpose?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 09:42:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859796#M4688</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-27T09:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the Tool name not the Path name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859797#M4689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Patterson,&amp;nbsp;&lt;/P&gt;&lt;P&gt;This code is working Perfectly..................But it is displaying the complete path as "&lt;SPAN&gt;F:\PAProject\PAToolbox.tbx\FeatureClassFromXYTable" instead of just toolname "FeatureClassFromXYTable" in the Geoprocessing Pane.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;string tool_path = System.IO.Path.Combine(@"F:\PAProject\PAToolbox.tbx", "FeatureClassFromXYTable");&lt;BR /&gt; Geoprocessing.OpenToolDialog(tool_path, null);&lt;/P&gt;&lt;P&gt;_________________________________________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now When I write the code like this&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;string tool_path = System.IO.Path.Combine(@"F:\PAProject\PAToolbox.tbx", "FeatureClassFromXYTable");&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;string tool_path1 =&lt;/SPAN&gt;System.IO.Path.GetFileNameWithoutExtension (&lt;SPAN&gt;tool_path&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;Geoprocessing.OpenToolDialog(tool_path1, null);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is showing me&amp;nbsp;&lt;SPAN&gt;just toolname "FeatureClassFromXYTable" in the Geoprocessing Pane. But it is not giving me the required functionality on the click of a button.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 10:31:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859797#M4689</guid>
      <dc:creator>JanakiGattu1</dc:creator>
      <dc:date>2017-06-27T10:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the Tool name not the Path name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859798#M4690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;according to the help, you use either the &lt;A href="https://pro.arcgis.com/en/pro-app/sdk/api-reference/index.html#topic9389.html"&gt;alias or the full path&lt;/A&gt;. which is in toolbox dot tool notation so what is your alias? (toolbox.tool format)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 10:48:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859798#M4690</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-06-27T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need to show only the Tool name not the Path name</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859799#M4691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Patterson,&lt;/P&gt;&lt;P&gt;I tried giving the Toolboxname.Toolname as below.&lt;/P&gt;&lt;P&gt;Toolbox Name:&amp;nbsp;&lt;SPAN&gt;PAToolbox&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Tool Name:&amp;nbsp;&lt;SPAN&gt;FeatureClassFromXYTable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PAToolbox.FeatureClassFromXYTable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the System is giving me an error saying that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/358863_pastedImage_1.png" style="width: 620px; height: 73px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 10:58:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/need-to-show-only-the-tool-name-not-the-path-name/m-p/859799#M4691</guid>
      <dc:creator>JanakiGattu1</dc:creator>
      <dc:date>2017-06-27T10:58:12Z</dc:date>
    </item>
  </channel>
</rss>

