<?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 Hyperlink - ArcGIS Desktop path from multiple data layers in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/hyperlink-arcgis-desktop-path-from-multiple-data/m-p/429597#M11634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to create a hyperlink from two feature classes.&amp;nbsp; I do not have control of the data and cannot easily add the TOWNS.STATE to my data with the SEGMENTNO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering how I access another feature class using vbscript from a hyperlink script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is what I have so far which works aside from triying to add the state infor from another layer.&amp;nbsp; I have tried this from an Add-In as well but the tool is not a clean as is the hyperlink tool.&amp;nbsp; by esri..&amp;nbsp; if I could just add the other layer data I would be golden.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Function OpenLink ( [SEGMENTNO]&amp;nbsp; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim objShell&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; path ="www.mywebsite.com" &amp;amp;"/"&amp;amp;Left( [SEGMENTNO] ,InStr( [SPIPENO_SEGMENTNO] , "_" )-1) &amp;amp;"/TYPE="&amp;amp; [TOWNS].[STATE] &amp;amp;"_SERVICE_RECORDS"'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set objShell = CreateObject("Shell.Application")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; objShell.ShellExecute path, "", "", "open", 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Function&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt Starr&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jan 2012 18:51:57 GMT</pubDate>
    <dc:creator>MatthewStarr</dc:creator>
    <dc:date>2012-01-16T18:51:57Z</dc:date>
    <item>
      <title>Hyperlink - ArcGIS Desktop path from multiple data layers</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/hyperlink-arcgis-desktop-path-from-multiple-data/m-p/429597#M11634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to create a hyperlink from two feature classes.&amp;nbsp; I do not have control of the data and cannot easily add the TOWNS.STATE to my data with the SEGMENTNO.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering how I access another feature class using vbscript from a hyperlink script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is what I have so far which works aside from triying to add the state infor from another layer.&amp;nbsp; I have tried this from an Add-In as well but the tool is not a clean as is the hyperlink tool.&amp;nbsp; by esri..&amp;nbsp; if I could just add the other layer data I would be golden.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Function OpenLink ( [SEGMENTNO]&amp;nbsp; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Dim objShell&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; path ="www.mywebsite.com" &amp;amp;"/"&amp;amp;Left( [SEGMENTNO] ,InStr( [SPIPENO_SEGMENTNO] , "_" )-1) &amp;amp;"/TYPE="&amp;amp; [TOWNS].[STATE] &amp;amp;"_SERVICE_RECORDS"'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Set objShell = CreateObject("Shell.Application")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; objShell.ShellExecute path, "", "", "open", 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Function&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt Starr&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 18:51:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/hyperlink-arcgis-desktop-path-from-multiple-data/m-p/429597#M11634</guid>
      <dc:creator>MatthewStarr</dc:creator>
      <dc:date>2012-01-16T18:51:57Z</dc:date>
    </item>
  </channel>
</rss>

