<?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 Problem Adding Custom Links to Search Result in Esri Geoportal Server Questions</title>
    <link>https://community.esri.com/t5/esri-geoportal-server-questions/problem-adding-custom-links-to-search-result/m-p/746881#M841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have followed the instructions in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Add_Custom_Link_to_a_Search_Result"&gt;http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Add_Custom_Link_to_a_Search_Result&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;but I cannot get it to work. I want to use the networkr tag to allow the user to download a shapefile (zipped) and another link to download an lpk file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In gpt.properties I have added the lines &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;catalog.property.customLink.label.esri&amp;nbsp;&amp;nbsp; = LPK File&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;catalog.property.customLink.label.esri&amp;nbsp;&amp;nbsp; = Shapefile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and I have modified the other files exactly as shown in the sourceforge document referred to above. What happens is there is a link called "Open" that will open the LPK file. What I want to happen is that the "Open" link should work with the Onlink tag (if it has a URL) and there should be a link called "LPK File" that works with the appropriate networkr line in the metadata and there should be a link called "Shapefile" that works with the networkr line in the metadata that links to a zipped shapefile. But there is no "LPK File" or "Shapefile" link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I even used the sample metadata as one of the tests and I also completely deleted the Lucene index and rebuilt it, and stopped and re-started Tomcat. What could I be missing or doing wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Mar 2013 23:34:47 GMT</pubDate>
    <dc:creator>JacobCoble</dc:creator>
    <dc:date>2013-03-20T23:34:47Z</dc:date>
    <item>
      <title>Problem Adding Custom Links to Search Result</title>
      <link>https://community.esri.com/t5/esri-geoportal-server-questions/problem-adding-custom-links-to-search-result/m-p/746881#M841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have followed the instructions in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Add_Custom_Link_to_a_Search_Result"&gt;http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Add_Custom_Link_to_a_Search_Result&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;but I cannot get it to work. I want to use the networkr tag to allow the user to download a shapefile (zipped) and another link to download an lpk file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In gpt.properties I have added the lines &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;catalog.property.customLink.label.esri&amp;nbsp;&amp;nbsp; = LPK File&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;catalog.property.customLink.label.esri&amp;nbsp;&amp;nbsp; = Shapefile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and I have modified the other files exactly as shown in the sourceforge document referred to above. What happens is there is a link called "Open" that will open the LPK file. What I want to happen is that the "Open" link should work with the Onlink tag (if it has a URL) and there should be a link called "LPK File" that works with the appropriate networkr line in the metadata and there should be a link called "Shapefile" that works with the networkr line in the metadata that links to a zipped shapefile. But there is no "LPK File" or "Shapefile" link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I even used the sample metadata as one of the tests and I also completely deleted the Lucene index and rebuilt it, and stopped and re-started Tomcat. What could I be missing or doing wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2013 23:34:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-geoportal-server-questions/problem-adding-custom-links-to-search-result/m-p/746881#M841</guid>
      <dc:creator>JacobCoble</dc:creator>
      <dc:date>2013-03-20T23:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Adding Custom Links to Search Result</title>
      <link>https://community.esri.com/t5/esri-geoportal-server-questions/problem-adding-custom-links-to-search-result/m-p/746882#M842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you update the CSW Response xslt as noted in the sourceforge wiki? &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Add_Custom_Link_to_a_Search_Result#Update_the_Geoportal.27s_CSW_Response_xslt"&gt;http://sourceforge.net/apps/mediawiki/geoportal/index.php?title=Add_Custom_Link_to_a_Search_Result#Update_the_Geoportal.27s_CSW_Response_xslt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you check to see if the element in your xml that contains the path to the zipfile is indexing in Lucene and getting the field results you need? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;your server address here&amp;gt;/geoportal/rest/index/stats/fields&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had a lot of trouble making all this work until I went back and discovered one unedited value in my property-meanings.xml file related to the &amp;lt;dc /&amp;gt; element.&amp;nbsp; The xml element from my metatdata file is this: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;linkage&amp;gt;&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.mymanatee.org/gisapps/data/shape/Flood_100yr.zip" rel="nofollow" target="_blank"&gt;http://www.mymanatee.org/gisapps/data/shape/Flood_100yr.zip&lt;/A&gt;&lt;SPAN&gt;&amp;lt;/linkage&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So my property-meanings element had to look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;property-meaning name="linkage" valueType="String" comparisonType="value"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;dc name="dct:linkage" scheme="urn:x-esri:specification:ServiceType:linkage" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This was after I added two possible XPath's for the linkage element to my indexables file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;property meaning="linkage" xpath="/metadata/distInfo/distTranOps/onLineSrc/linkage | /metadata/distInfo/distributor/distorTranonLinSrc/linkage"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And don't forget to clear your browser cache and restart Tomcat when you make changes. You probably already do that , but they are easy to forget sometimes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps. This geoportal thing has been very challenging for me and I am still wrestling with it on a daily basis. Very obtuse app for a non-programmer like me.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 13:21:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-geoportal-server-questions/problem-adding-custom-links-to-search-result/m-p/746882#M842</guid>
      <dc:creator>LaurelKish</dc:creator>
      <dc:date>2013-03-21T13:21:13Z</dc:date>
    </item>
  </channel>
</rss>

