Skip to content

Edits based on user doc feedback #2292

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions guide/03-the-gis/accessing-and-creating-content.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2460,7 +2460,7 @@
},
{
"cell_type": "code",
"execution_count": 38,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand All @@ -2478,7 +2478,7 @@
],
"source": [
"# create new folder\n",
"gis.content.folders.create_folder(folder='ports')"
"gis.content.folders.create(folder='ports')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion guide/03-the-gis/accessing-and-managing-groups.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"source": [
"<a id=\"searching-for-groups\"></a>\n",
"## Searching for groups\n",
"You can search for groups by using the `search()` method of `GroupManager` object. The `search()` method accepts standard [ArcGIS REST API queries](http://resources.arcgis.com/en/help/arcgis-rest-api/#/Search_reference/02r3000000mn000000/). To illustrate this better, let us connect to ArcGIS Online anonymously and search for public groups that have the word 'water' in the title."
"You can search for groups by using the `search()` method of `GroupManager` object. The `search()` method accepts standard [ArcGIS REST API queries](https://developers.arcgis.com/rest/users-groups-and-items/search-reference/). To illustrate this better, let us connect to ArcGIS Online anonymously and search for public groups that have the word 'water' in the title."
]
},
{
Expand Down
22 changes: 20 additions & 2 deletions guide/03-the-gis/managing-your-content.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,24 @@
"volcanoes_item.tags"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"'d7fd78fb56aa48a2a376e08e0c3caefb'\n"
]
}
],
"source": [
"# id\n",
"volcanoes_item.id"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -654,7 +672,7 @@
"metadata": {
"anaconda-cloud": {},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -668,7 +686,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.16"
"version": "3.11.10"
},
"toc": {
"base_numbering": 1,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "8f72acfd",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -87,7 +87,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": null,
"id": "344971c3",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -136,7 +136,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "a35d06e5",
"metadata": {},
"outputs": [
Expand All @@ -157,7 +157,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "d193bf5b",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -186,7 +186,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": null,
"id": "1b480bf5",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -237,7 +237,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"id": "0f51143e",
"metadata": {},
"outputs": [
Expand All @@ -261,7 +261,7 @@
"id": "a8ae0995",
"metadata": {},
"source": [
"For users super savvy about the structure about the structure of Experiences, they can use the `WebExperience._draft` hidden property to edit the structure and save changes directly through the Python API. There will be more options for these methods in future releases."
"For users super savvy about the structure of Experiences, they can use the `WebExperience._draft` hidden property to edit the structure and save changes directly through the Python API. There will be more options for these methods in future releases."
]
},
{
Expand All @@ -286,7 +286,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"id": "0dccac3d",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -319,7 +319,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"id": "4c456cee",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -420,7 +420,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": null,
"id": "0e1abed7",
"metadata": {},
"outputs": [],
Expand All @@ -432,7 +432,7 @@
},
{
"cell_type": "code",
"execution_count": 17,
"execution_count": null,
"id": "0bc49a15",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -490,7 +490,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": null,
"id": "3e0a32ba",
"metadata": {},
"outputs": [],
Expand All @@ -516,7 +516,7 @@
},
{
"cell_type": "code",
"execution_count": 19,
"execution_count": null,
"id": "a803c5d0",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -583,7 +583,7 @@
},
{
"cell_type": "code",
"execution_count": 21,
"execution_count": null,
"id": "f16a2605",
"metadata": {},
"outputs": [
Expand Down Expand Up @@ -638,7 +638,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.0"
"version": "3.13.2"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions samples/03_org_administrators/validate_user_profiles.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -290,7 +290,7 @@
"\n",
"root_folder = gis.content.folders.get()\n",
"\n",
"gis.content.add(\n",
"root_folder.add(\n",
" item_properties = item_props,\n",
" file= os.path.join(output_dir + out_file)\n",
").result()"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@
" \n",
"Depending on the number of features that are updated, your workflow requirements, you may adopt either or both kinds of update mechanisms.\n",
"\n",
"In the sample [Updating features in a feature layer](https://developers.arcgis.com/python/latest/samples/updating-features-in-a-feature-layer/) we explore method 1. In this sample, we explore method 2."
"In the sample [Updating features in a feature layer](https://developers.arcgis.com/python/latest/samples/updating-features-in-a-feature-layer/) we explore method 1. In this sample, we explore method 2.\n",
"\n",
"Please note that you can only overwrite a feature layer if you are the owner of the feature layer or have administrative privileges in your organization."
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2313,7 +2313,7 @@
"\n",
"This method is editing intensive and you may choose this when the number of features to edit is less or if you needed to selectively update certain features as updates come in.\n",
"\n",
"An alternate method is to overwrite the feature layer altogether when you always have current information coming in. This method is explained in the sample [Overwriting feature layers](https://developers.arcgis.com/python/sample-notebooks/overwriting-feature-layers)"
"An alternate method is to overwrite the feature layer altogether when you always have current information coming in. This method is explained in the sample [Overwriting feature layers](https://developers.arcgis.com/python/latest/samples/overwriting-feature-layers/)"
]
}
],
Expand Down