<?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 to manually or progamatically create a quickcapture project? in ArcGIS QuickCapture Questions</title>
    <link>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1068165#M610</link>
    <description>&lt;P&gt;Essentially, a 'QuickCapture Project' is an ArcGIS item type, and the project is defined with JSON. So theoretically, you can create&amp;nbsp;a QuickCapture project, and update the item with the pre-defined project JSON using ArcGIS REST API.&lt;/P&gt;&lt;P&gt;To create a QuickCapture item, use &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/add-item.htm" target="_blank" rel="noopener"&gt;addItem&lt;/A&gt;&amp;nbsp;(type: QuickCapture Project, typekeywords: QuickCapture). Then you can &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/update-resources.htm" target="_blank" rel="noopener"&gt;update item resource&lt;/A&gt; with the predefined project JSON (the JSON body goes in the 'text' parameter, fileName: qc.project.json). You can directly copy the old project JSON from the &amp;lt;/&amp;gt; JSON Editor in Designer, and refine the&amp;nbsp;'basemap' part to use another designated map. The project basemap JSON spec is &lt;A href="https://doc.arcgis.com/en/quickcapture/help/editprojectjson.htm#ESRI_SECTION1_119D4FB0288143D59389B9CA41DC6926" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. For images on buttons, you will need to &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm" target="_blank" rel="noopener"&gt;addResources&lt;/A&gt; to the new QuickCapture item.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jun 2021 22:20:47 GMT</pubDate>
    <dc:creator>Mandy_Li</dc:creator>
    <dc:date>2021-06-14T22:20:47Z</dc:date>
    <item>
      <title>Is it possible to manually or progamatically create a quickcapture project?</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1067751#M604</link>
      <description>&lt;P&gt;Is it possible to create a quickcapture json manually and upload it to arcgis? I want to reuse the same project but with different basemaps. I'd like to be able to automate this so I don't have to go into quickcapture designer.&lt;/P&gt;&lt;P&gt;The use case is that I only want field workers to see features on the basemap that are relevant to their current assignment so for every assignment I need to create a new quickcapture project with a different basemap.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Jun 2021 23:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1067751#M604</guid>
      <dc:creator>MarkC1</dc:creator>
      <dc:date>2021-06-13T23:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to manually or progamatically create a quickcapture project?</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1068079#M605</link>
      <description>&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;In QuickCapture Designer, you can quickly make a copy of an existing project using 'Save as'. Once you have the copied project, you can continue to update it to meet your needs, which in your case, is to rename the title, change to another basemap, and save the project.&lt;/P&gt;&lt;P&gt;'Save as' is a very handy tool if you want to make a similar project to an existing one, but don't want to start configuration from scratch.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="XiaoxuLi_0-1623696848134.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/15917i903A4C23FEBD92F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="XiaoxuLi_0-1623696848134.png" alt="XiaoxuLi_0-1623696848134.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Let me know if this 'Save as' idea works for you. Otherwise, theoretically it is also possible to automate project creation and update process with REST API, although I did not test it out before.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 19:02:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1068079#M605</guid>
      <dc:creator>Mandy_Li</dc:creator>
      <dc:date>2021-06-14T19:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to manually or progamatically create a quickcapture project?</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1068148#M608</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/295914" target="_blank"&gt;@XiaoxuLi&lt;/A&gt;&lt;SPAN&gt;,&amp;nbsp;yes I'm very familiar with this method which is great for occasional use but not ideal for what I want to achieve. I want to automated creation of work orders in Workforce and automatically create a corresponding project in QuickCapture with the appropriate map. How could I do this through the REST API? That would work fine but I'm not sure how I can edit quickcapture projects this way?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 21:39:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1068148#M608</guid>
      <dc:creator>MarkC1</dc:creator>
      <dc:date>2021-06-14T21:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to manually or progamatically create a quickcapture project?</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1068165#M610</link>
      <description>&lt;P&gt;Essentially, a 'QuickCapture Project' is an ArcGIS item type, and the project is defined with JSON. So theoretically, you can create&amp;nbsp;a QuickCapture project, and update the item with the pre-defined project JSON using ArcGIS REST API.&lt;/P&gt;&lt;P&gt;To create a QuickCapture item, use &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/add-item.htm" target="_blank" rel="noopener"&gt;addItem&lt;/A&gt;&amp;nbsp;(type: QuickCapture Project, typekeywords: QuickCapture). Then you can &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/update-resources.htm" target="_blank" rel="noopener"&gt;update item resource&lt;/A&gt; with the predefined project JSON (the JSON body goes in the 'text' parameter, fileName: qc.project.json). You can directly copy the old project JSON from the &amp;lt;/&amp;gt; JSON Editor in Designer, and refine the&amp;nbsp;'basemap' part to use another designated map. The project basemap JSON spec is &lt;A href="https://doc.arcgis.com/en/quickcapture/help/editprojectjson.htm#ESRI_SECTION1_119D4FB0288143D59389B9CA41DC6926" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. For images on buttons, you will need to &lt;A href="https://developers.arcgis.com/rest/users-groups-and-items/add-resources.htm" target="_blank" rel="noopener"&gt;addResources&lt;/A&gt; to the new QuickCapture item.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jun 2021 22:20:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1068165#M610</guid>
      <dc:creator>Mandy_Li</dc:creator>
      <dc:date>2021-06-14T22:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to manually or progamatically create a quickcapture project?</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1068603#M615</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/295914"&gt;@Mandy_Li&lt;/a&gt;,&amp;nbsp;that's very helpful!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 20:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1068603#M615</guid>
      <dc:creator>MarkC1</dc:creator>
      <dc:date>2021-06-15T20:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to manually or progamatically create a quickcapture project?</title>
      <link>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1172578#M866</link>
      <description>&lt;P&gt;Thanks, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/209976"&gt;@MarkC1&lt;/a&gt;, for this post!&lt;/P&gt;&lt;P&gt;I wanted to use Python in an ArcGIS Pro Jupyter Notebook to update the basemap of an existing QuickCapture app. I've updated JSON in Items like web maps using the Item get_data() method, but that obviously didn't work for QuickCapture projects.&lt;/P&gt;&lt;P&gt;My code below may help someone accomplish the REST example above with Python - it will at least expose the basemap JSON.&lt;/P&gt;&lt;P&gt;app_to_update = gis_conn.content.get(app_id)&lt;BR /&gt;app_resource_mgr = app_to_update.resources #resource manager&lt;BR /&gt;app_resource_list = app_resource_mgr.list()&lt;BR /&gt;first_resource_filenm = app_resource_list[0]['resource']&lt;BR /&gt;if(first_resource_filenm == "qc.project.json"): #double checking that this is still the first item in the list&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;app_proj_json = app_resource_mgr.get(first_resource_filenm,try_json=True)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;print(app_proj_json)&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 20:21:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-quickcapture-questions/is-it-possible-to-manually-or-progamatically/m-p/1172578#M866</guid>
      <dc:creator>EricaCirigliano</dc:creator>
      <dc:date>2022-05-10T20:21:19Z</dc:date>
    </item>
  </channel>
</rss>

