<?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: Writing to hosted feature layer views with QuickCapture in ArcGIS QuickCapture Questions</title>
    <link>https://community.esri.com/t5/arcgis-quickcapture-questions/writing-to-hosted-feature-layer-views-with/m-p/602717#M383</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to repro the issue on Portal 10.8 and will look into it for you.&lt;/P&gt;&lt;P&gt;I'll update this thread with more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2020 02:48:29 GMT</pubDate>
    <dc:creator>JohnathanHasthorpe</dc:creator>
    <dc:date>2020-02-26T02:48:29Z</dc:date>
    <item>
      <title>Writing to hosted feature layer views with QuickCapture</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/writing-to-hosted-feature-layer-views-with/m-p/602716#M382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have deployed the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;A hosted feature layer to hold QuickCapture (QC) features (HFL)&lt;/LI&gt;&lt;LI&gt;A hosted feature layer view (HFLV) of the above that is consumed via a QC project&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;When I write directly to the HFL from QC I successfully get points with attached images from the camera.&lt;/LI&gt;&lt;LI&gt;However when we write to the HFLV from QC we get points but no&amp;nbsp;attachments.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Server Manager we get the following error:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0"&gt;&lt;TBODY&gt;&lt;TR style="background: url(&amp;quot;;"&gt;&lt;TD class="" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;SEVERE&lt;/TD&gt;&lt;TD class="" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;Feb 26, 2020, 10:37:39 AM&lt;/TD&gt;&lt;TD class="" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;Wrong attachment definition syntax.&lt;/TD&gt;&lt;TD class="" style="background: #e5edf4; border-width: 1px; border-style: solid; border-color: #769dc0 #e5dac8 #769dc0 transparent; padding: 3px 5px;"&gt;Rest&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now there is&amp;nbsp;a complication - The QC points have an attribute called: secured_from_app with a default value of "Yes" in QC.&amp;nbsp; The HFLV has a Feature View Definition of secured_from_app does not equal "Yes".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The intent here is that we can have users writing to the GIS HFL with QuickCapture, but if they tried to query the service (they can only access the HFLV) they would not be able to retrieve any features.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example - we have multiple different users working on sensitive sites, and we don't want them to see what each other are up to.&amp;nbsp; Aware that we could publish multiple services and configure multiple projects, but that is an admin overhead (plus potential user confusion) we are trying to avoid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested the HFLV with this View Definition turned off and the points have attachments.&amp;nbsp; When it is applied points are submitted but attachments are not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My theory is QC writes the points to the HFL (via the HFLV) and then tries to add attachments, but because of the HFLV View Definition it cannot&amp;nbsp;access&amp;nbsp;the features to attach the images.&amp;nbsp; I dunno, just a guess.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way, I think there is a valid workflow for providing the app to users but wanting the actual submitted data to be secure, even from the people submitting it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/21661"&gt;Johnathan Hasthorpe&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2020 23:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/writing-to-hosted-feature-layer-views-with/m-p/602716#M382</guid>
      <dc:creator>Marc_Graham</dc:creator>
      <dc:date>2020-02-25T23:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to hosted feature layer views with QuickCapture</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/writing-to-hosted-feature-layer-views-with/m-p/602717#M383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to repro the issue on Portal 10.8 and will look into it for you.&lt;/P&gt;&lt;P&gt;I'll update this thread with more information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 02:48:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/writing-to-hosted-feature-layer-views-with/m-p/602717#M383</guid>
      <dc:creator>JohnathanHasthorpe</dc:creator>
      <dc:date>2020-02-26T02:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to hosted feature layer views with QuickCapture</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/writing-to-hosted-feature-layer-views-with/m-p/602718#M384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marc -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a limitation of Portal. However, the recommended approach for hiding submitted data is to disable query on the feature service (or view).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this, go to item settings and do the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Temporarily&amp;nbsp;switch the 'What kind of editing is allowed?' setting&amp;nbsp;to 'Add and update features'.&lt;/P&gt;&lt;P&gt;- Change the&amp;nbsp;'What features can editors edit' setting&amp;nbsp;to 'Editors can edit all features'.&lt;/P&gt;&lt;P&gt;- Revert back to 'Add features' once 'What features can editors edit?' is set properly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This what you should end up with:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="User-added image" height="494" src="https://s3-us-west-2.amazonaws.com/ist-app-support-files/000018694/00N39000003LL2C-0EMf2000000ADqz.png" width="500" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By doing the exact steps above, &lt;STRONG&gt;query&lt;/STRONG&gt; and &lt;STRONG&gt;update&lt;/STRONG&gt; will be disabled, but&amp;nbsp;users will still be able to successfully submit features and attachments to the feature service (or view).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Apr 2020 07:09:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/writing-to-hosted-feature-layer-views-with/m-p/602718#M384</guid>
      <dc:creator>JohnathanHasthorpe</dc:creator>
      <dc:date>2020-04-30T07:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Writing to hosted feature layer views with QuickCapture</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/writing-to-hosted-feature-layer-views-with/m-p/602719#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice Thanks John.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 May 2020 20:51:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/writing-to-hosted-feature-layer-views-with/m-p/602719#M385</guid>
      <dc:creator>Marc_Graham</dc:creator>
      <dc:date>2020-05-03T20:51:11Z</dc:date>
    </item>
  </channel>
</rss>

