<?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: Can a database view participate in distributed collaboration? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1415295#M39317</link>
    <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/59475"&gt;@ArchitSrivastava&lt;/a&gt;&amp;nbsp;thank you for the information but I am trying to get distributed collaboration with database views working through a copy/sync operation instead of using a reference. Based on my further testing yesterday, I do not believe it is possible for a database view to participate in a sync operation.&lt;/P&gt;&lt;P&gt;Looks like I will be publishing copies of the database views to AGO instead and use a scheduled python script to overwrite the data on AGO. Distributed collaboration would be great if it was not so limited.&lt;/P&gt;</description>
    <pubDate>Thu, 25 Apr 2024 13:51:33 GMT</pubDate>
    <dc:creator>Joshua-Young</dc:creator>
    <dc:date>2024-04-25T13:51:33Z</dc:date>
    <item>
      <title>Can a database view participate in distributed collaboration?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1415003#M39310</link>
      <description>&lt;P&gt;We use database views to filter datasets and remove fields not needed for the intended users. Can a database view participate in a distributed collaboration using sync instead of reference?&lt;/P&gt;&lt;P&gt;I would like ArcGIS Enterprise (AGE) to sync some database views based feature services to ArcGIS Online (AGO) for public use. I want to use sync instead of reference to keep public traffic off of AGE and to take advantage of scaling in AGO. I made sure that the GlobalID field is include in the view's definition but I get an error saying the data is not configured for sync. I cannot enable Archiving or versioning on the view, but the parent table has both enabled.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 20:53:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1415003#M39310</guid>
      <dc:creator>Joshua-Young</dc:creator>
      <dc:date>2024-04-24T20:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can a database view participate in distributed collaboration?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1415243#M39315</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/313283"&gt;@Joshua-Young&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I would assume that you have published this view and Map Service to ArcGIS. As per my understanding it should work if the collaboration is set to "As Reference", check point 7 in the documentation below:&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/create-a-collaboration.htm#ESRI_SECTION1_5A45FBB2A7544A3CB5D7A060A9379238" target="_blank"&gt;https://enterprise.arcgis.com/en/portal/latest/administer/windows/create-a-collaboration.htm#ESRI_SECTION1_5A45FBB2A7544A3CB5D7A060A9379238&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Furthermore, there are more details about sharing layers and views in the following documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://enterprise.arcgis.com/en/portal/latest/administer/windows/share-content-with-collaboration-participants.htm#ESRI_SECTION1_12BAA02A007F498D8B07467EFB188DE4" target="_blank"&gt;https://enterprise.arcgis.com/en/portal/latest/administer/windows/share-content-with-collaboration-participants.htm#ESRI_SECTION1_12BAA02A007F498D8B07467EFB188DE4&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally, I did some testing as I have map services which are created from views as well and created a distributed collaboration. I noticed that the content is shared as expected from a map service (referenced data from EGDB).&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great if you can share more details about the collaboration settings, check portal logs and share it.&lt;/P&gt;&lt;P&gt;You can also find "Sync" detailed logs at Portal Sharing Rest API as shown in the below documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/sync.htm" target="_blank"&gt;https://developers.arcgis.com/rest/users-groups-and-items/sync.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error "&lt;SPAN&gt;data is not configured for sync" indicates that it's trying to share it through collaboration as "Copies" which I believe would not be supported.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope it helps!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Archit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 11:21:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1415243#M39315</guid>
      <dc:creator>ArchitSrivastava</dc:creator>
      <dc:date>2024-04-25T11:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can a database view participate in distributed collaboration?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1415295#M39317</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/59475"&gt;@ArchitSrivastava&lt;/a&gt;&amp;nbsp;thank you for the information but I am trying to get distributed collaboration with database views working through a copy/sync operation instead of using a reference. Based on my further testing yesterday, I do not believe it is possible for a database view to participate in a sync operation.&lt;/P&gt;&lt;P&gt;Looks like I will be publishing copies of the database views to AGO instead and use a scheduled python script to overwrite the data on AGO. Distributed collaboration would be great if it was not so limited.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 13:51:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1415295#M39317</guid>
      <dc:creator>Joshua-Young</dc:creator>
      <dc:date>2024-04-25T13:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can a database view participate in distributed collaboration?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1416271#M39354</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/313283"&gt;@Joshua-Young&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;The services published through database views would not allow us the capability for the below reasons:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Feature services do not support publishing from Database Views:&lt;UL&gt;&lt;LI&gt;&lt;A href="https://enterprise.arcgis.com/en/server/latest/publish-services/windows/prepare-data-for-feature-services.htm#GUID-6C906CA5-54C8-4E9F-BDB8-8BC4A23FC485" target="_blank"&gt;https://enterprise.arcgis.com/en/server/latest/publish-services/windows/prepare-data-for-feature-services.htm#GUID-6C906CA5-54C8-4E9F-BDB8-8BC4A23FC485&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;As they are "&lt;SPAN&gt;virtual table whose contents are defined by a query" and by design they do not support the base capabilities required for sharing content with Sync Capability.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Furthermore, even if I "Register with Geodatabase" these capabilities would not be available as they are not supported on a view. Kindly find some screenshots below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArchitSrivastava_0-1714280736791.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102392i2756F0CB7C052510/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ArchitSrivastava_0-1714280736791.png" alt="ArchitSrivastava_0-1714280736791.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ArchitSrivastava_1-1714280860844.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/102393iFF13A92CB9BAAF3F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ArchitSrivastava_1-1714280860844.png" alt="ArchitSrivastava_1-1714280860844.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I tried to do some digging from SQL Server side itself and it doesn't seem possible, below is the documentation set I am trying to research from:&lt;/P&gt;&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/sql/relational-databases/views/views?view=sql-server-ver16" target="_blank"&gt;https://learn.microsoft.com/en-us/sql/relational-databases/views/views?view=sql-server-ver16&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Furthermore, I think the solution you have may be the only way.&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 05:21:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1416271#M39354</guid>
      <dc:creator>ArchitSrivastava</dc:creator>
      <dc:date>2024-04-28T05:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can a database view participate in distributed collaboration?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1419163#M39417</link>
      <description>&lt;P&gt;Hi Joshua,&lt;BR /&gt;maybe you could consider creating a Materialized View (MV) in your SQL Server and register that as a feature class and use it in your map source?&lt;BR /&gt;One potential problem with this approach may be that any update in your source tables may trigger a complete refresh of the entire MV and that would then result in a full upload to AGOL each time the MV was refreshed.&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 06:43:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/can-a-database-view-participate-in-distributed/m-p/1419163#M39417</guid>
      <dc:creator>DavidHoy</dc:creator>
      <dc:date>2024-05-06T06:43:29Z</dc:date>
    </item>
  </channel>
</rss>

