Skip to content

Commit f4dab2d

Browse files
DavidJVitalerohitgeo
authored andcommitted
APIDoc ContentManager clone_item table formatting fix (to master) (#167)
* Fixed the harcoded location for example layer, instead using map.extent from an example layer to dynamically focus the map * Added v1.3.0 API doc * clone_item table formatting fix (to master)
1 parent 28554a2 commit f4dab2d

File tree

2 files changed

+41
-36
lines changed

2 files changed

+41
-36
lines changed

apidoc/arcgis.gis.toc.html

Lines changed: 40 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2263,11 +2263,7 @@ <h2>Group<a class="headerlink" href="#group" title="Permalink to this headline">
22632263
<col class="field-name" />
22642264
<col class="field-body" />
22652265
<tbody valign="top">
2266-
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body"><dl class="docutils">
2267-
<dt>A dictionary with a key of notAdded which contains the users that were not</dt>
2268-
<dd>added to the group.</dd>
2269-
</dl>
2270-
</td>
2266+
<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">A dictionary which contains the users that were not added to the group.</td>
22712267
</tr>
22722268
</tbody>
22732269
</table>
@@ -3069,49 +3065,58 @@ <h2>ContentManager<a class="headerlink" href="#contentmanager" title="Permalink
30693065
<dd><p>Clone content to the GIS by creating new items.</p>
30703066
<div class="admonition note">
30713067
<p class="first admonition-title">Note</p>
3072-
<p>Cloning an item will create a copy of the item and for certain item types
3073-
a copy of the item dependencies in the GIS.</p>
3074-
<p class="last">For example if you clone a hosted web application created using Web AppBuilder
3075-
or a Configurable App Template, the web map that is used by that web application
3076-
and all the hosted feature layers used in the web map. It will then clone all of
3077-
these items to the new organization and swizzle the paths in the web map and
3078-
web application to point to the new layers. This creates a completely disconnected
3079-
copy of the application, map and layers in the GIS.</p>
3068+
<p>Cloning an item will create a copy of the item and for certain
3069+
item types a copy of the item dependencies in the GIS.</p>
3070+
<p>For example a web application created using Web AppBuilder
3071+
or a Configurable App Template which is built from a web map
3072+
that references one or more hosted feature layers. This function
3073+
will clone all of these items to the GIS and swizzle the paths
3074+
in the web map and web application to point to the new layers.</p>
3075+
<p class="last">This creates an exact copy of the application, map, and layers
3076+
in the GIS.</p>
30803077
</div>
30813078
<table border="1" class="docutils">
30823079
<colgroup>
3083-
<col width="11%" />
3084-
<col width="89%" />
3080+
<col width="22%" />
3081+
<col width="78%" />
30853082
</colgroup>
3086-
<thead valign="bottom">
3087-
<tr class="row-odd"><th class="head"><strong>Argument</strong></th>
3088-
<th class="head"><strong>Description</strong></th>
3083+
<tbody valign="top">
3084+
<tr class="row-odd"><td><strong>Argument</strong></td>
3085+
<td><strong>Description</strong></td>
30893086
</tr>
3090-
<tr class="row-even"><th class="head">items</th>
3091-
<th class="head">Required list. Collection of items to clone.</th>
3087+
<tr class="row-even"><td>items</td>
3088+
<td>Required list. Collection of Items to clone.</td>
30923089
</tr>
3093-
<tr class="row-odd"><th class="head">folder</th>
3094-
<th class="head">Optional string. Name of the folder where placing item.</th>
3090+
<tr class="row-odd"><td>folder</td>
3091+
<td>Optional string. Name of the folder where placing item.</td>
30953092
</tr>
3096-
<tr class="row-even"><th class="head">item_extent</th>
3097-
<th class="head">Optional Envelope. Extent set for any cloned items. Default is None, extent will remain unchanged. Spatial reference of the envelope will be used for any cloned feature layers.</th>
3093+
<tr class="row-even"><td>item_extent</td>
3094+
<td>Optional Envelope. Extent set for any cloned items. Default is None,
3095+
extent will remain unchanged. Spatial reference of the envelope will be
3096+
used for any cloned feature layers.</td>
30983097
</tr>
3099-
<tr class="row-odd"><th class="head">use_org_basemap</th>
3100-
<th class="head">Optional boolean. Indicating whether the basemap in any cloned web maps should be updated to the organizations default basemap. Default is False, basemap will not change.</th>
3098+
<tr class="row-odd"><td>use_org_basemap</td>
3099+
<td>Optional boolean. Indicating whether the basemap in any cloned web maps
3100+
should be updated to the organizations default basemap. Default is False,
3101+
basemap will not change.</td>
31013102
</tr>
3102-
<tr class="row-even"><th class="head">copy_data</th>
3103-
<th class="head">Optional boolean. Indicating whether the data should be copied with any feature layer or feature collections. Default is True, data will be copied.</th>
3103+
<tr class="row-even"><td>copy_data</td>
3104+
<td>Optional boolean. Indicating whether the data should be copied with any
3105+
feature layer or feature collections. Default is True, data will be copied.</td>
31043106
</tr>
3105-
<tr class="row-odd"><th class="head">search_existing_items</th>
3106-
<th class="head">Optional boolean. Indicating whether items that have already been cloned should be searched for in the GIS and reused rather than cloned again.</th>
3107+
<tr class="row-odd"><td>search_existing_items</td>
3108+
<td>Optional boolean. Indicating whether items that have already been cloned
3109+
should be searched for in the GIS and reused rather than cloned again.</td>
31073110
</tr>
3108-
<tr class="row-even"><th class="head">item_mapping</th>
3109-
<th class="head">Optional dictionary. Can be used to associate an item in the source GIS to an item in the target GIS. The target item will be used rather than cloning the source item.</th>
3111+
<tr class="row-even"><td>item_mapping</td>
3112+
<td>Optional dictionary. Can be used to associate an item id in the source
3113+
GIS (key) to an item id in the target GIS (value). The target item will
3114+
be used rather than cloning the source item.</td>
31103115
</tr>
3111-
</thead>
3112-
<tbody valign="top">
31133116
<tr class="row-odd"><td>group_mapping</td>
3114-
<td>Optional dictionary. Can be used to associate a group in the source GIS to a group in the target GIS. The target group will be used rather than cloning the source group.</td>
3117+
<td>Optional dictionary. Can be used to associate a group id in the source
3118+
GIS (key) to a group id in the target GIS (value). The target group will
3119+
be used rather than cloning the source group.</td>
31153120
</tr>
31163121
</tbody>
31173122
</table>

apidoc/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)