<?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: Dynamic layer based on shapefile in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387048#M11136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not for me, or rather the behavior is strange: if the shapefile is saved directly into the subfolder of the root folder, arcgis server returns the error message (Unable to find the specified 'datasourceName' in 'dataSource' for dynamic DataLayer with 'id' : -1.) ; but if I save the shapefile first in the root folder, and then move it into subfolder, everything works, or perhaps simply because the rest response is in the cache. Therefore I would ask you to try the first way. Thank you for availability.&lt;/P&gt;&lt;P&gt;Teresa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Sep 2014 13:50:40 GMT</pubDate>
    <dc:creator>teresafazio</dc:creator>
    <dc:date>2014-09-03T13:50:40Z</dc:date>
    <item>
      <title>Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387042#M11130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to add a dynamic layer, to my map, based on a shapefile.&lt;/P&gt;&lt;P&gt;I created a workspace as in the image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/6655_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Shapefiles are store in subfolders inside folder specified for the workspace: i.e.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-2" src="https://community.esri.com/legacyfs/online/6815_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I try to request the datalayer, it seems arcgis server (10.1) doesn't find the shapefile:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-3" src="https://community.esri.com/legacyfs/online/6816_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Sep 2014 12:18:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387042#M11130</guid>
      <dc:creator>teresafazio</dc:creator>
      <dc:date>2014-09-01T12:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387043#M11131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Teresa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Does your ArcGIS Server account have read access to the \\rover\pkt305_DB\01_UserTemporaryUpload directory?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 02:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387043#M11131</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-09-03T02:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387044#M11132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Teresa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Also it looks like your JSON is not accurate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14097130039632080" jivemacro_uid="_14097130039632080" modifiedtitle="true"&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id":"Chief_Ladiga",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "source":{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "datasource":{&lt;/P&gt;
&lt;P&gt;&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; "type":"table",&lt;/P&gt;
&lt;P&gt;&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; "dataSourceName":"Chief_Ladiga",&lt;/P&gt;
&lt;P&gt;&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; "workspaceId":"MyShapefileWorkspaceID"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,"type":"dataLayer"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notice you do not use the .shp in the dataSourceName.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 02:58:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387044#M11132</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-09-03T02:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387045#M11133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 07:47:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387045#M11133</guid>
      <dc:creator>teresafazio</dc:creator>
      <dc:date>2014-09-03T07:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387046#M11134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;The problem seems to&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;be&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the subdirectory&lt;/SPAN&gt;; &lt;SPAN class="hps"&gt;if&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the shapefile&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in the root directory&lt;/SPAN&gt; (\\rover\pkt305_DB\01_UserTemporaryUpload) &lt;SPAN class="hps"&gt;everything works fine&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;I move it&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a subfolder of the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;root folder&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;arcgis&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;server&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;generates&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;error&lt;/SPAN&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 07:51:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387046#M11134</guid>
      <dc:creator>teresafazio</dc:creator>
      <dc:date>2014-09-03T07:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387047#M11135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Teresa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Using a subfolder works for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14097472704268785 jive_text_macro" jivemacro_uid="_14097472704268785"&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id":"Chief_Ladiga",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "source":{&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "datasource":{&lt;/P&gt;
&lt;P&gt;&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; "type":"table",&lt;/P&gt;
&lt;P&gt;&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; "dataSourceName":"folder1\\Chief_Ladiga",&lt;/P&gt;
&lt;P&gt;&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; "workspaceId":"MyShapefileWorkspaceID"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,"type":"dataLayer"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 12:27:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387047#M11135</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-09-03T12:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387048#M11136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not for me, or rather the behavior is strange: if the shapefile is saved directly into the subfolder of the root folder, arcgis server returns the error message (Unable to find the specified 'datasourceName' in 'dataSource' for dynamic DataLayer with 'id' : -1.) ; but if I save the shapefile first in the root folder, and then move it into subfolder, everything works, or perhaps simply because the rest response is in the cache. Therefore I would ask you to try the first way. Thank you for availability.&lt;/P&gt;&lt;P&gt;Teresa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 13:50:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387048#M11136</guid>
      <dc:creator>teresafazio</dc:creator>
      <dc:date>2014-09-03T13:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387049#M11137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Teresa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I see the same issue now with sub folders. Not sure what to tell you besides call Tech Support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 14:09:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387049#M11137</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-09-03T14:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387050#M11138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;P&gt;Teresa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Sep 2014 07:24:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/387050#M11138</guid>
      <dc:creator>teresafazio</dc:creator>
      <dc:date>2014-09-04T07:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic layer based on shapefile</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/1242742#M22868</link>
      <description>&lt;P&gt;Are the subfolders supported in newer versions?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you find out something?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Geta&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 17:21:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/dynamic-layer-based-on-shapefile/m-p/1242742#M22868</guid>
      <dc:creator>GeorgetaPopa</dc:creator>
      <dc:date>2022-12-20T17:21:13Z</dc:date>
    </item>
  </channel>
</rss>

