<?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: Help with popup and custom URL in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-popup-and-custom-url/m-p/98917#M9067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For the next poor person that needs to do this, here's how...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; var Layername=new esri.layers.FeatureLayer("LayerURL/MapServer/0", {&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mode: esri.layers.FeatureLayer.MODE_ONDEMAND,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;infoTemplate: new esri.InfoTemplate("${GSL_UWID}","Name ${NAME} &amp;lt;br&amp;gt; LICENSE_ID ${LICENSE_ID} &amp;lt;br&amp;gt; DATE ${SPUD_DATE: DateFormat(datePattern:'MMMM d, yyyy.', selector:'date')} &amp;lt;br&amp;gt; &amp;lt;a href=CustomURL.php?user=userinfo&amp;amp;UWI=${CPA_UWI}' target='_blank'&amp;gt;PRINT&amp;lt;/a&amp;gt;" ),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields:["*"]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, this sample was very helpful:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_infowindowdates"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_infowindowdates&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2013 19:26:29 GMT</pubDate>
    <dc:creator>TracyArchibald</dc:creator>
    <dc:date>2013-03-08T19:26:29Z</dc:date>
    <item>
      <title>Help with popup and custom URL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-popup-and-custom-url/m-p/98916#M9066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm fairly new to the JavaScript API and I'm having problems finding the information I need about how to embed a custom URL into a popup (or similar) tool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a series of pdf reports that we've created to make information printable and easier to access.&amp;nbsp; An example of this url is:&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://lamp.countygp.ab.ca/webmap/propertyReportlinc.php?linc=0027648575&amp;amp;rollNo=1704600&amp;amp;muniID=133"&gt;https://lamp.countygp.ab.ca/webmap/propertyReportlinc.php?linc=0027648575&amp;amp;rollNo=1704600&amp;amp;muniID=133&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, these URLs contain the same link with a couple of pieces of information from the feature class.&amp;nbsp; Some also have security information that needs to be added if a user is logged in (but I can deal with that later).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We won't be able to embed this URL into the feature class because some of the data sources that we have created these reports for are 3rd party and we are not able to modify them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I've been trying the popup template tool, but I can't find documentation on how to do anything like this.&amp;nbsp; (ESRI, the JavaScript documentation needs to be searchable!!!)&amp;nbsp; So, I've got a few options:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) find the documentation for the popup to make this happen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) use another tool (any suggestions/examples?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) find a way to modify our published service WITHOUT changing the underlaying data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) any other solution!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I REALLY am not tied to any single solution, we're at a very preliminary stage still.&amp;nbsp; Any ideas would be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 16:05:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-popup-and-custom-url/m-p/98916#M9066</guid>
      <dc:creator>TracyArchibald</dc:creator>
      <dc:date>2013-03-08T16:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with popup and custom URL</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-popup-and-custom-url/m-p/98917#M9067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For the next poor person that needs to do this, here's how...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; var Layername=new esri.layers.FeatureLayer("LayerURL/MapServer/0", {&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;mode: esri.layers.FeatureLayer.MODE_ONDEMAND,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;infoTemplate: new esri.InfoTemplate("${GSL_UWID}","Name ${NAME} &amp;lt;br&amp;gt; LICENSE_ID ${LICENSE_ID} &amp;lt;br&amp;gt; DATE ${SPUD_DATE: DateFormat(datePattern:'MMMM d, yyyy.', selector:'date')} &amp;lt;br&amp;gt; &amp;lt;a href=CustomURL.php?user=userinfo&amp;amp;UWI=${CPA_UWI}' target='_blank'&amp;gt;PRINT&amp;lt;/a&amp;gt;" ),&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; outFields:["*"]}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ); &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, this sample was very helpful:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_infowindowdates"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/widget_infowindowdates&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 19:26:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-with-popup-and-custom-url/m-p/98917#M9067</guid>
      <dc:creator>TracyArchibald</dc:creator>
      <dc:date>2013-03-08T19:26:29Z</dc:date>
    </item>
  </channel>
</rss>

