<?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: Is it possible in 10.1 to restrict the attachment to certain types, e.g. jpg only in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-in-10-1-to-restrict-the-attachment/m-p/570526#M22012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this should be possible to achieve while using of the APIs with some custom programming where you filter what type of files will be visible in the Browse window. I expect you'd need to write own filter with the methods that are not in the scope of Esri Web APIs. You might like checking with one of the API Reference pages for that though. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding the max size - this is defined on the server level: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/rest/apiref/uploads.html#uploadlimitdesc" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/rest/apiref/uploads.html#uploadlimitdesc&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2013 12:29:06 GMT</pubDate>
    <dc:creator>AlexeyTereshenkov</dc:creator>
    <dc:date>2013-01-08T12:29:06Z</dc:date>
    <item>
      <title>Is it possible in 10.1 to restrict the attachment to certain types, e.g. jpg only</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-in-10-1-to-restrict-the-attachment/m-p/570525#M22011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible in 10.1 to restrict the attachment to certain types, e.g. jpg only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also would be nice to restrict the file size in case someone uploading a huge file blow up the server. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 22:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-in-10-1-to-restrict-the-attachment/m-p/570525#M22011</guid>
      <dc:creator>JackZHANG</dc:creator>
      <dc:date>2013-01-07T22:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in 10.1 to restrict the attachment to certain types, e.g. jpg only</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-in-10-1-to-restrict-the-attachment/m-p/570526#M22012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think this should be possible to achieve while using of the APIs with some custom programming where you filter what type of files will be visible in the Browse window. I expect you'd need to write own filter with the methods that are not in the scope of Esri Web APIs. You might like checking with one of the API Reference pages for that though. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regarding the max size - this is defined on the server level: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://resources.arcgis.com/en/help/rest/apiref/uploads.html#uploadlimitdesc" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/rest/apiref/uploads.html#uploadlimitdesc&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:29:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-in-10-1-to-restrict-the-attachment/m-p/570526#M22012</guid>
      <dc:creator>AlexeyTereshenkov</dc:creator>
      <dc:date>2013-01-08T12:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in 10.1 to restrict the attachment to certain types, e.g. jpg only</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-in-10-1-to-restrict-the-attachment/m-p/570527#M22013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot tereshenkov. At the bottom of the the API link you mentioned shows me I can specify the upload type and maxim file size by using the advanced admin page, which is exactly what I need. And no coding required. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can modify the AllowedUploadFileTypes and MaxUploadFileSize properties for a service or service extension using the ArcGIS Server Administrator Directory: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Login to ArcGIS Server Administrator Directory. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;instance&amp;gt;/admin &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Browse to the service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;instance&amp;gt;/admin/services/&amp;lt;servicename&amp;gt;.&amp;lt;ServiceType&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The HTML view of the service will list the default values for Max upload file size and Allowed upload file types. Make a note of the default properties. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Edit the service. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Update the property maxUploadFileSize property with a desired maximum allowed size in megabytes (MB). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;6. Update the property allowedUploadFileTypes property by specifying a comma separated list of file extensions (e.g.: jpg,png,tif)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 02:20:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-in-10-1-to-restrict-the-attachment/m-p/570527#M22013</guid>
      <dc:creator>JackZHANG</dc:creator>
      <dc:date>2013-01-09T02:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in 10.1 to restrict the attachment to certain types, e.g. jpg only</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-in-10-1-to-restrict-the-attachment/m-p/570528#M22014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jack, glad you found it. I did not expect you specifying the file extensions list on server level since I thought you need to implement it on application level. In ArcGIS Server 10.1, you can for sure define some configuration for the Uploads operation including but not limited to file size and file extension type.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 05:39:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/is-it-possible-in-10-1-to-restrict-the-attachment/m-p/570528#M22014</guid>
      <dc:creator>AlexeyTereshenkov</dc:creator>
      <dc:date>2013-01-09T05:39:14Z</dc:date>
    </item>
  </channel>
</rss>

