<?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 Promoting QuickCapture Projects between Portals in ArcGIS QuickCapture Questions</title>
    <link>https://community.esri.com/t5/arcgis-quickcapture-questions/promoting-quickcapture-projects-between-portals/m-p/296087#M195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to migrate QuickCapture projects from one Portal environment to a higher Portal environment. When ready to promote the app from Dev to Staging and then to Production environment, what is the best method? Do we have to manually re-create that app in the higher environments? Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For other Portal items, we are using &lt;A href="https://ago-assistant.esri.com/"&gt;https://ago-assistant.esri.com/#&lt;/A&gt;&amp;nbsp;successfully to migrate layers, maps, and apps by copying the items from lower to higher environments and then updating the JSON of the various items. That option isn’t available from the JSON for QuickCapture projects and nothing happens when I click the download link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/500638_ago-assistant.jpg" /&gt;&lt;/P&gt;&lt;P&gt;I tried copy/pasting the Project source JSON from inside of the QuickCapture Project Builder UI from Dev into a newly created blank project in a higher environment and then modifying the text&amp;nbsp;at the beginning of the section of code, but that didn’t go well as it didn’t carry over images that were used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/500642_qc-json.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Any thoughts? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2020 20:24:12 GMT</pubDate>
    <dc:creator>BrianKingery</dc:creator>
    <dc:date>2020-07-17T20:24:12Z</dc:date>
    <item>
      <title>Promoting QuickCapture Projects between Portals</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/promoting-quickcapture-projects-between-portals/m-p/296087#M195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to migrate QuickCapture projects from one Portal environment to a higher Portal environment. When ready to promote the app from Dev to Staging and then to Production environment, what is the best method? Do we have to manually re-create that app in the higher environments? Thanks for the help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For other Portal items, we are using &lt;A href="https://ago-assistant.esri.com/"&gt;https://ago-assistant.esri.com/#&lt;/A&gt;&amp;nbsp;successfully to migrate layers, maps, and apps by copying the items from lower to higher environments and then updating the JSON of the various items. That option isn’t available from the JSON for QuickCapture projects and nothing happens when I click the download link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/500638_ago-assistant.jpg" /&gt;&lt;/P&gt;&lt;P&gt;I tried copy/pasting the Project source JSON from inside of the QuickCapture Project Builder UI from Dev into a newly created blank project in a higher environment and then modifying the text&amp;nbsp;at the beginning of the section of code, but that didn’t go well as it didn’t carry over images that were used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/500642_qc-json.jpg" /&gt;&lt;/P&gt;&lt;P&gt;Any thoughts? Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2020 20:24:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/promoting-quickcapture-projects-between-portals/m-p/296087#M195</guid>
      <dc:creator>BrianKingery</dc:creator>
      <dc:date>2020-07-17T20:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Promoting QuickCapture Projects between Portals</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/promoting-quickcapture-projects-between-portals/m-p/296088#M196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the Python ArcGIS API's clone functionality:&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items"&gt;arcgis.gis module — arcgis 1.8.2 documentation&lt;/A&gt;&amp;nbsp;to migrate projects from one portal to another. The following code will copy all QuickCapture projects (including layers referenced by the projects) from a defined group in a source portal =&amp;gt; to the &lt;STRONG&gt;my content&lt;/STRONG&gt; area of the target portal. This can be modified to meet your requirements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="503471" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/503471_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code (to copy):&lt;/P&gt;&lt;PRE style="color: #24292e; background-color: #f6f8fa; margin-bottom: 0px !important; padding: 16px;"&gt;&lt;CODE style="background: initial; border: 0px;"&gt;from arcgis import GIS import arcgis  # Define source portal  source_gis = GIS(url='https://machine1/portal',                  username='portaladmin', password='password',                  set_active=False, verify_cert=False)  # Define destination portal  dest_gis = GIS(url='https://machine2/portal', username='portaladmin',                password='password', set_active=False,                verify_cert=False)  # Define source group  myGroup = source_gis.groups.search('QuickCapture Projects') myGroup[0] myGroupsStuff = myGroup[0].content() groupId = myGroup[0].id  # Loop through QuickCapture Project items in group  for item in myGroupsStuff:      try:         if item.type == 'QuickCapture Project':             res = dest_gis.content.clone_items([item])             print 'Item: {} - Created in the target portal'.format(item.title)     except Exception, e:          print 'Item: {} - Could not be created in the target portal'.format(item.title)         print e&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/promoting-quickcapture-projects-between-portals/m-p/296088#M196</guid>
      <dc:creator>JohnathanHasthorpe</dc:creator>
      <dc:date>2020-08-14T13:07:15Z</dc:date>
    </item>
  </channel>
</rss>

