<?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: Open a PDF when Clicking on Polyline in Web Map in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603404#M18326</link>
    <description>&lt;P&gt;If you have access to a web server with IIS, you could create a virtual directory that points to the pdf file location folder.&amp;nbsp; Then you could add a field in layer that concatenates the virtual directory with the specific file name in html format to access the pdf in your web app.&amp;nbsp; I have done this with numerous web apps at my org.&lt;/P&gt;</description>
    <pubDate>Mon, 07 Apr 2025 19:13:21 GMT</pubDate>
    <dc:creator>MikeVolz</dc:creator>
    <dc:date>2025-04-07T19:13:21Z</dc:date>
    <item>
      <title>Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603368#M18322</link>
      <description>&lt;P&gt;In AGOL Experience Builder, I want to build an app. The app should function like this: when a user clicks on a polyline in the map widget, the option to open a PDF about that polyline also appears. So maybe I have&amp;nbsp; a polyline outlining a construction area and in My Content I have a georeferenced PDF that is the actual site plan for the the area. When the user clicks on the polyline, an option to open the PDF should appear. I cannot seem to get the trigger in the map widget to work like this however. I have also added an Embed Button in the upper right thinking I can somehow link the URL of the PDF to it, and to the polygon in the map. I cannot figure it out though.&amp;nbsp; Any advice? Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ExpBuild.png" style="width: 521px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129613i2EDA16864BB67C66/image-dimensions/521x218?v=v2" width="521" height="218" role="button" title="ExpBuild.png" alt="ExpBuild.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 18:14:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603368#M18322</guid>
      <dc:creator>MHO_Harbors</dc:creator>
      <dc:date>2025-04-07T18:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603396#M18325</link>
      <description>&lt;P&gt;This should be doable and you are on the right track with the Embed Widget.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In your data, create a column containing URLs to the web address where the users can view your PDF for each feature.&lt;/LI&gt;&lt;LI&gt;Add an Embed Widget.&lt;/LI&gt;&lt;LI&gt;Use the Connect to Data option. Select the data layer and use the dropdown to pick Selected Features.&lt;/LI&gt;&lt;LI&gt;Click Data Attributes (the little stacked circles) and select the column where you stored the URLs.&lt;/LI&gt;&lt;LI&gt;In the Map Widget, add a Record Selection Changes &amp;gt; Widget Controller &amp;gt; Open Widget &amp;gt; Embed Action.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;With this combo, clicking on the feature should pop open the Embed Widget and open it to the webpage with your PDF.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 18:57:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603396#M18325</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-04-07T18:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603404#M18326</link>
      <description>&lt;P&gt;If you have access to a web server with IIS, you could create a virtual directory that points to the pdf file location folder.&amp;nbsp; Then you could add a field in layer that concatenates the virtual directory with the specific file name in html format to access the pdf in your web app.&amp;nbsp; I have done this with numerous web apps at my org.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 19:13:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603404#M18326</guid>
      <dc:creator>MikeVolz</dc:creator>
      <dc:date>2025-04-07T19:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603405#M18327</link>
      <description>&lt;P&gt;Thank you! I will try it this afternoon and let you know how it goes.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Apr 2025 19:14:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603405#M18327</guid>
      <dc:creator>MHO_Harbors</dc:creator>
      <dc:date>2025-04-07T19:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603957#M18347</link>
      <description>&lt;P&gt;You nailed it. It opens in an embed window on the right. Thank you!&lt;/P&gt;&lt;P&gt;One problem however, and that's how the PDF displays. I have saved the PDF in Sharepoint and copied the URL and put it in a field in the layer's attribute table. When I click on a polyline, the attribute table opens with an opportunity to click on View in the URL field, but nothing shows in the Embed window. I am&amp;nbsp; wondering if text should pop-up in the embed window with a URL to the PDF that can be opened in a new window. Something like "Please click &lt;U&gt;&lt;FONT color="#3366FF"&gt;here&lt;/FONT&gt;&lt;/U&gt; to view the construction drawing."&lt;/P&gt;&lt;P&gt;But I don't know what the code would be to call the URL in the cell in the row that holds the URL:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-04-08 095855.png" style="width: 608px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/129733i7091B119DE3B2817/image-dimensions/608x340?v=v2" width="608" height="340" role="button" title="Screenshot 2025-04-08 095855.png" alt="Screenshot 2025-04-08 095855.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 20:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603957#M18347</guid>
      <dc:creator>MHO_Harbors</dc:creator>
      <dc:date>2025-04-08T20:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603958#M18348</link>
      <description>&lt;P&gt;Mike, thank you are you talking about something like Amazon Web Services? In this case, I believe the steps would be the same as Jeffrey's workflow above, but I'd be using a different URL? I think I would still have a problem opening the PDF in the embed window (please see my response above). When I use other URLs to regular websites (say &lt;A href="http://www.esri.com" target="_blank" rel="noopener"&gt;www.esri.com&lt;/A&gt;) the website shows up in the embed folder, but this isn't the case for PDFs it seems. Maybe if I concatenate the virtual directory and the PDF file location folder the PDF shows like a regular web page?&lt;/P&gt;&lt;P&gt;Thanks for your help on this.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 20:21:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603958#M18348</guid>
      <dc:creator>MHO_Harbors</dc:creator>
      <dc:date>2025-04-08T20:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603975#M18349</link>
      <description>&lt;P&gt;This may be your problem.&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/embed-widget.htm" target="_blank" rel="noopener"&gt;https://doc.arcgis.com/en/experience-builder/latest/configure-widgets/embed-widget.htm&lt;/A&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;BLOCKQUOTE&gt;&lt;H5&gt;Note:&lt;/H5&gt;&lt;P&gt;If you choose to display a PDF directly in the Embed widget, some users may not be able to view it in certain browsers for security reasons.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 08 Apr 2025 20:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603975#M18349</guid>
      <dc:creator>JeffreyThompson2</dc:creator>
      <dc:date>2025-04-08T20:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603991#M18350</link>
      <description>&lt;P&gt;I'm also thinking if I convert the PDF to HTML and host it on Github, that might be a work around too.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 21:12:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603991#M18350</guid>
      <dc:creator>MHO_Harbors</dc:creator>
      <dc:date>2025-04-08T21:12:53Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603998#M18351</link>
      <description>&lt;P&gt;Are you looking to have the pdf open in a different window of the same web page or will a new browser window open?&lt;/P&gt;&lt;P&gt;For my orgs apps a new browser window opens with below GIS feature class field value where target='blank' opens a new browser window&lt;/P&gt;&lt;P&gt;&amp;lt;a href="&lt;A href="https://alias/'Virtual" target="_blank" rel="noopener"&gt;https://alias/'Virtual&lt;/A&gt; Directory'/'File name.jpg'" target='_blank'&amp;gt;View&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;My org does not use SharePoint to store our images in public web apps.&amp;nbsp; We tried that, but I believe it might have worked inside the org but failed for the public app itself (Might have been a SharePoint access issue).&lt;/P&gt;</description>
      <pubDate>Tue, 08 Apr 2025 21:43:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1603998#M18351</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2025-04-08T21:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1604035#M18355</link>
      <description>&lt;P&gt;That's what happened actually. So I just converted the PDF to HTML code and host it on GitHub. So it's working. Thanks for the workflow!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Apr 2025 00:20:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1604035#M18355</guid>
      <dc:creator>MHO_Harbors</dc:creator>
      <dc:date>2025-04-09T00:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Open a PDF when Clicking on Polyline in Web Map</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1677813#M22140</link>
      <description>&lt;P&gt;I am trying to do this in Experience Builder but with only PDF attachments on a hosted feature layer. I know they released an Instant App that basically does this (with some browser limitations) but I want to do it in experience builder to be able to customize it more and add more widgets. Is there a workaound for viewing a PDF attachment in Experience Builder? I was hoping the Document Viewer widget would help but I see that's only for Autodesk stuff.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2026 13:39:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/open-a-pdf-when-clicking-on-polyline-in-web-map/m-p/1677813#M22140</guid>
      <dc:creator>apgis16</dc:creator>
      <dc:date>2026-01-14T13:39:33Z</dc:date>
    </item>
  </channel>
</rss>

