Skip to content

Commit d3ea621

Browse files
Merge remote-tracking branch 'origin/next' into tarun/what-is-geocoding
2 parents 4520157 + 38e4a31 commit d3ea621

File tree

39 files changed

+15857
-4874
lines changed

39 files changed

+15857
-4874
lines changed

guide/03-the-gis/working-with-different-authentication-schemes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@
535535
"## Storing your credentials locally\n",
536536
"If you are signing in frequently to a particular GIS and would like to store the credentials locally on your computer, then you could do so using the `profile` parameter of your `GIS`.\n",
537537
"\n",
538-
"Persistent profiles for the GIS can be created by giving the GIS authorization credentials and specifying a profile name. The profile stores all of the authorization credentials (except the password) in the user’s home directory in an unencrypted config file named `.arcgisprofile.` The profile securely stores the password in an O.S. specific password manager through the [keyring](https://pypi.python.org/pypi/keyring) python module. (Note: Linux systems may need additional software installed and configured for proper security) Once a profile has been saved, passing the profile parameter by itself uses the authorization credentials saved in the configuration file/password manager by that profile name. Multiple profiles can be created and used in parallel.\n"
538+
"Persistent profiles for the GIS can be created by giving the GIS authorization credentials and specifying a profile name. The profile stores all of the authorization credentials (except the password) in the user’s home directory in an unencrypted config file named `.arcgisprofile.` The profile securely stores the password in an OS specific password manager through the [keyring](https://pypi.python.org/pypi/keyring) python module. (Note: Linux systems may need additional software installed and configured for proper security) Once a profile has been saved, passing the profile parameter by itself uses the authorization credentials saved in the configuration file/password manager by that profile name. Multiple profiles can be created and used in parallel.\n"
539539
]
540540
},
541541
{

guide/04-feature-data-and-analysis/appending-features.ipynb

Lines changed: 78 additions & 58 deletions
Large diffs are not rendered by default.

guide/09-finding-places-with-geocoding/part2_locating_addresses.ipynb

Lines changed: 2172 additions & 1 deletion
Large diffs are not rendered by default.

guide/09-finding-places-with-geocoding/part3_finding_point_of_interests.ipynb

Lines changed: 835 additions & 1013 deletions
Large diffs are not rendered by default.

guide/09-finding-places-with-geocoding/part4_batch_geocoding.ipynb

Lines changed: 324 additions & 331 deletions
Large diffs are not rendered by default.

guide/10-mapping-and-visualization/part1_introduction_to_using_the_map_widget.ipynb

Lines changed: 689 additions & 1 deletion
Large diffs are not rendered by default.

guide/10-mapping-and-visualization/part4_visualizing_time_enabled_data_on_the_map_widget.ipynb

Lines changed: 398 additions & 1 deletion
Large diffs are not rendered by default.

guide/11-performing-network-analyses/part7_vehicle_routing_problem.ipynb

Lines changed: 61 additions & 71 deletions
Large diffs are not rendered by default.

guide/13-managing-arcgis-applications/cloning-complex-apps.ipynb

Lines changed: 185 additions & 157 deletions
Large diffs are not rendered by default.

guide/13-managing-arcgis-applications/experience-builder-workflows.ipynb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
"source": [
88
"# Working with Web Experiences in the Python API\n",
99
"\n",
10-
"As of version 2.2.0 of the ArcGIS API for Python, users can now work directly with [Experience Builder](https://www.esri.com/en-us/arcgis/products/arcgis-experience-builder/overview) items, enabling some very helpful content management workflows. In this notebook, we'll give an overview of the class and its properties before diving into some handy usage examples.\n",
10+
"Users can work directly with [Experience Builder](https://www.esri.com/en-us/arcgis/products/arcgis-experience-builder/overview) items, enabling some very helpful content management workflows. In this notebook, we'll give an overview of the class and its properties before diving into some handy usage examples.\n",
1111
"\n",
1212
"## Class Basics\n",
1313
"\n",
14-
"First let's examine a screenshot of the `Web Experience` class help from the API reference:"
14+
"First let's examine a screenshot of the [`WebExperience`](/python/api-reference/arcgis.apps.expbuilder.html#webexperience) class help from the API reference:"
1515
]
1616
},
1717
{
@@ -271,7 +271,7 @@
271271
"source": [
272272
"## Cloning an Experience and Validating its Success\n",
273273
"\n",
274-
"Among other changes, 2.2.0 brings in the ability to clone experiences. This can be done both through `gis.content.clone_items()` or through the WebExperience class. We'll show here the helpful extra tools the class has to aid in this workflow."
274+
"You can create experiences in one GIS organization and easily move them to another. As with other items, this can be done by using [`gis.content.clone_items()`](/python/api-reference/arcgis.gis.toc.html#arcgis.gis.ContentManager.clone_items). We'll show here the helpful extra tools the class has to aid in this workflow."
275275
]
276276
},
277277
{
@@ -354,11 +354,11 @@
354354
],
355355
"source": [
356356
"target = GIS(profile=\"another_online_profile\")\n",
357-
"cloned_exp = portal_exp.clone(\n",
358-
" target = target, \n",
359-
" owner = \"another_online_user\",\n",
357+
"cloned_list = target.content.clone_items(\n",
358+
" items = [portal_exp],\n",
360359
" search_existing_items = False,\n",
361360
")\n",
361+
"cloned_exp = cloned_list[1]\n",
362362
"cloned_exp"
363363
]
364364
},
@@ -374,9 +374,7 @@
374374
"cell_type": "code",
375375
"execution_count": null,
376376
"id": "d45bf80a",
377-
"metadata": {
378-
"scrolled": false
379-
},
377+
"metadata": {},
380378
"outputs": [],
381379
"source": [
382380
"WebExperience(cloned_exp).view()"
@@ -399,9 +397,9 @@
399397
"\n",
400398
"In addition to portal-based experiences, this class allows users to work with locally-based experiences created via the Developer Edition Experience Builder. In the past, users have expressed their desire to add local Experiences to their portals and remap data with ease, in order to cater to workflows such as moving from staging to production environments or migrating content to new Enterprise versions.\n",
401399
"\n",
402-
"We'll show how to get an experience from the Developer Edition Experience Builder, upload it to different portals, and make sure the dependent data items get remapped accordingly. Instructions downloading and installing the Developer Edition can be found [here](https://developers.arcgis.com/experience-builder/guide/install-guide/).\n",
400+
"We'll show how to get an experience from the Developer Edition Experience Builder, upload it to different portals, and make sure the dependent data items get remapped accordingly. Instructions downloading and installing the Developer Edition can be found [here](/experience-builder/guide/install-guide/).\n",
403401
"\n",
404-
"First, you'll want to download your experience from the homepage of your local Experience Builder app, and then figure out what the path to the `config.json` file is. Once you know this, you can work with it in the ArcGIS API for Python."
402+
"It's easy as just downloading your experience from the Developer Edition interface, and then knowing the path to your the download folder. Within the inner folders, there will be a file named `config.json`- this file contains the structure of your experience, expressed in the exact same way that online experiences are. You can pass in the path to this file to the `upload()` function, or the path to the main project folder in version 2.4.0 or higher."
405403
]
406404
},
407405
{
@@ -618,7 +616,9 @@
618616
"id": "b7d49ce9",
619617
"metadata": {},
620618
"source": [
621-
"As you can see, we can check instantly that our Experience is viewable in the new target GIS, and that the data sources were properly remapped. `dataSource_1` was remapped through `auto_remap`, and `dataSource_4` had its `itemId` and `portalUrl` values changed by `item_mapping`."
619+
"As you can see, we can check instantly that our Experience is viewable in the new target GIS, and that the data sources were properly remapped. `dataSource_1` was remapped through `auto_remap`, and `dataSource_4` had its `itemId` and `portalUrl` values changed by `item_mapping`.\n",
620+
"\n",
621+
"One final note is that as of ArcGIS API for Python version 2.4.0, locally created experiences uploaded to a portal will also copy the experience's image resources as well- so if you have embedded images in your experience, those will get carried over, portrayed in your experience, and stored in the experience item's resources."
622622
]
623623
}
624624
],
@@ -638,7 +638,7 @@
638638
"name": "python",
639639
"nbconvert_exporter": "python",
640640
"pygments_lexer": "ipython3",
641-
"version": "3.9.17"
641+
"version": "3.11.0"
642642
}
643643
},
644644
"nbformat": 4,

0 commit comments

Comments
 (0)