<?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: if dynamic photo path does not exist, return else. how? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/if-dynamic-photo-path-does-not-exist-return-else/m-p/1173825#M55148</link>
    <description>&lt;P&gt;One possibility is to include Python with your solution.&amp;nbsp; Python has all sorts of file management functions.&amp;nbsp; For example:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;if os.path.exists(os.path.join(someFolderPath, someFileName))&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; do something&lt;/P&gt;&lt;P&gt;else:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; do something else&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Fri, 13 May 2022 17:56:37 GMT</pubDate>
    <dc:creator>JeffBarrette</dc:creator>
    <dc:date>2022-05-13T17:56:37Z</dc:date>
    <item>
      <title>if dynamic photo path does not exist, return else. how?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/if-dynamic-photo-path-does-not-exist-return-else/m-p/1172626#M55012</link>
      <description>&lt;P&gt;I have dynamic paths set up for a set of photos I've added to my map series and if the arcade expression does not result in a valid image path, nothing shows up on that particular sheet, which is fine, but is there a way to evaluate whether the path exists or not and if not, return another path instead?&amp;nbsp; I'm inserting excel tables into the map and for the sheets which have no table, I want an image of an empty table to take its place without having to duplicate and rename the image for every "empty" sheet. Can I do this?&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 22:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/if-dynamic-photo-path-does-not-exist-return-else/m-p/1172626#M55012</guid>
      <dc:creator>Glasnoct</dc:creator>
      <dc:date>2022-05-10T22:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: if dynamic photo path does not exist, return else. how?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/if-dynamic-photo-path-does-not-exist-return-else/m-p/1173825#M55148</link>
      <description>&lt;P&gt;One possibility is to include Python with your solution.&amp;nbsp; Python has all sorts of file management functions.&amp;nbsp; For example:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;if os.path.exists(os.path.join(someFolderPath, someFileName))&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; do something&lt;/P&gt;&lt;P&gt;else:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; do something else&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 13 May 2022 17:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/if-dynamic-photo-path-does-not-exist-return-else/m-p/1173825#M55148</guid>
      <dc:creator>JeffBarrette</dc:creator>
      <dc:date>2022-05-13T17:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: if dynamic photo path does not exist, return else. how?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/if-dynamic-photo-path-does-not-exist-return-else/m-p/1174739#M55234</link>
      <description>&lt;P&gt;The expression builder for the picture path is arcade-only, so python's not going to work. I will eventually get around to modifying the elements on my layout via arcpy but in the meantime I'm using the dynamic path of the picture object.&lt;BR /&gt;&lt;BR /&gt;Does arcade not have a function I might be able to use as a makeshift exists(path) of sorts?&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 18:46:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/if-dynamic-photo-path-does-not-exist-return-else/m-p/1174739#M55234</guid>
      <dc:creator>Glasnoct</dc:creator>
      <dc:date>2022-05-17T18:46:20Z</dc:date>
    </item>
  </channel>
</rss>

