<?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: Hyperlink in a pop up in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23660#M1465</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No probs John glad I could help. Please don't forget to mark the post answered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How's the outside world treating you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Aug 2013 12:25:13 GMT</pubDate>
    <dc:creator>AnthonyGiles</dc:creator>
    <dc:date>2013-08-16T12:25:13Z</dc:date>
    <item>
      <title>Hyperlink in a pop up</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23653#M1458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a really silly question and it???s probably something simple, but I haven???t encountered it before.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is essentially I have a hyperlink field within the attributes of a feature class which open to google maps/Street View correctly from ArcMap, however they fail to open correctly when the service has been published and added to the Flex Viewer. I have no idea where I can add a Google API key, which I think is the issue but not sure. Any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 09:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23653#M1458</guid>
      <dc:creator>JohnByrne</dc:creator>
      <dc:date>2013-08-15T09:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in a pop up</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23654#M1459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you sure its the Google API key thats causing the problem and not the way the URL is encoded in the Pop up. I have found that if your original hyperlink has %20 instead of spaces the popup replaces the % with %25 (the HTML code for %) so you end up with %2520 for spaces which cause the URL to be invalid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way to fix this is to do a find and replace in Arcmap of all the %20 and replace with a space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just a thought&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 10:31:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23654#M1459</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-08-15T10:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in a pop up</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23655#M1460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Anthony (Giggsy)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first URL below is the correct URL as it should be to work in Google maps which it does. The second is the URL from the attribute within the Flex viewer which as you can see has the added %25 you mentioned.When I replace it with a space then it breaks the hyperlink! Not sure how to replace it, so any tips are welcome.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 12:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23655#M1460</guid>
      <dc:creator>JohnByrne</dc:creator>
      <dc:date>2013-08-15T12:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in a pop up</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23656#M1461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not quite sure by your last post what you changed and which link stopped working. Did you replace %20 with spaces in your attribute table, and after doing so the link no longer worked in ArcMap? Or did you replace %25 with a space in your URL after you followed your link from the flex popup (if so you need to just remove the 25 after the % sign so it reads as the original %20).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you working with the source code for flex, if so I can direct you to where you would need to make the change to make it work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gigzy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Aug 2013 16:31:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23656#M1461</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-08-15T16:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in a pop up</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23657#M1462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Gigzy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I replaced the %25 with a space initially and it broke the link. I then replaced the space with %20 and while the link worked again if still put the %25 back in once the layer has been published as a service and added back into the flex viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I built it through the App Builder and I can doctor the various config files but not sure about the source code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 07:13:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23657#M1462</guid>
      <dc:creator>JohnByrne</dc:creator>
      <dc:date>2013-08-16T07:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in a pop up</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23658#M1463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;John,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I dont quite understand how you replaced the %25 with a space originally because your original link should not have any %25 in it, this is something flex adds to replace the % sign.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If your original link is something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://something.com/somthing%20Somethintelse"&gt;http://something.com/somthing%20Somethintelse&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;replace it so it looks like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://something.com/somthing"&gt;http://something.com/somthing&lt;/A&gt;&lt;SPAN&gt; Somethintelse&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If this breaks the link in ArcMap you may need to have two fields, one that holds the link for arcmap and one that holds the link for your flex viewer if you cannot amend the source code for your viewer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 10:36:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23658#M1463</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-08-16T10:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in a pop up</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23659#M1464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The attribute was saved as a STRING so when I changed it to a TEXT field it worked fine! For some reason the Flex viewer introduced that extra bit of code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 12:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23659#M1464</guid>
      <dc:creator>JohnByrne</dc:creator>
      <dc:date>2013-08-16T12:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in a pop up</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23660#M1465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No probs John glad I could help. Please don't forget to mark the post answered.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How's the outside world treating you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anthony&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Aug 2013 12:25:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23660#M1465</guid>
      <dc:creator>AnthonyGiles</dc:creator>
      <dc:date>2013-08-16T12:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hyperlink in a pop up</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23661#M1466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Gigzy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah all is well, its not as bad as they make out, but I do miss the ages but hopefully not for long!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That error still persisted so I wasnt the guru I thought I was but I spoke to Christy Malone at ESRI Ireland and he gave the following solution which was along your lines, so after a little playing I managed to get it to succeed. I have pasted in Christy's response and will close the post, thanks for all the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"This seems to be an issue with URL encoding occurring twice in the workflow. %25 is URL encoding for a % symbol. ( The reason it doesn't happen for 'normal' URL's is that there is no space or comma in them originally. ) So, the comma is first getting translated to %2C, then % is getting translated to %25. ( , -&amp;gt; %2C -&amp;gt; %252C ) . Similarly for a space (' ' - &amp;gt; %20 -&amp;gt; %2520 ) . Can you have a quick look at this thread : &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/83093-pop-up-hyperlinks-not-working-spaces-getting-translated-to-2520"&gt;http://forums.arcgis.com/threads/83093-pop-up-hyperlinks-not-working-spaces-getting-translated-to-2520&lt;/A&gt;&lt;SPAN&gt; ?&amp;nbsp; The solution is to do a replace in the FlexViewer code, as suggested, as arcMap has already changed the spaces to be URL-Encoded. i.e. Unencode %20 to be a space , or %2C to be a comma before Flex encodes again."&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;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;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;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; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;John&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Aug 2013 07:08:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/hyperlink-in-a-pop-up/m-p/23661#M1466</guid>
      <dc:creator>JohnByrne</dc:creator>
      <dc:date>2013-08-21T07:08:35Z</dc:date>
    </item>
  </channel>
</rss>

