diff --git a/guide/03-the-gis/accessing-and-creating-content.ipynb b/guide/03-the-gis/accessing-and-creating-content.ipynb index 85c71ecf6c..b9e33d5694 100644 --- a/guide/03-the-gis/accessing-and-creating-content.ipynb +++ b/guide/03-the-gis/accessing-and-creating-content.ipynb @@ -2460,7 +2460,7 @@ }, { "cell_type": "code", - "execution_count": 38, + "execution_count": null, "metadata": {}, "outputs": [ { @@ -2478,7 +2478,7 @@ ], "source": [ "# create new folder\n", - "gis.content.folders.create_folder(folder='ports')" + "gis.content.folders.create(folder='ports')" ] }, { diff --git a/guide/03-the-gis/accessing-and-managing-groups.ipynb b/guide/03-the-gis/accessing-and-managing-groups.ipynb index 4eb21c77d8..d4ab2f0993 100644 --- a/guide/03-the-gis/accessing-and-managing-groups.ipynb +++ b/guide/03-the-gis/accessing-and-managing-groups.ipynb @@ -28,7 +28,7 @@ "source": [ "\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." ] }, { diff --git a/guide/03-the-gis/managing-your-content.ipynb b/guide/03-the-gis/managing-your-content.ipynb index 80ec7d605c..a529c01a10 100644 --- a/guide/03-the-gis/managing-your-content.ipynb +++ b/guide/03-the-gis/managing-your-content.ipynb @@ -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": {}, @@ -654,7 +672,7 @@ "metadata": { "anaconda-cloud": {}, "kernelspec": { - "display_name": "Python 3 (ipykernel)", + "display_name": "Python 3", "language": "python", "name": "python3" }, @@ -668,7 +686,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.16" + "version": "3.11.10" }, "toc": { "base_numbering": 1, diff --git a/guide/13-managing-arcgis-applications/experience-builder-workflows.ipynb b/guide/13-managing-arcgis-applications/experience-builder-workflows.ipynb index e2a2731d5b..b8d25532f4 100644 --- a/guide/13-managing-arcgis-applications/experience-builder-workflows.ipynb +++ b/guide/13-managing-arcgis-applications/experience-builder-workflows.ipynb @@ -37,7 +37,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "8f72acfd", "metadata": {}, "outputs": [], @@ -87,7 +87,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": null, "id": "344971c3", "metadata": {}, "outputs": [ @@ -136,7 +136,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": null, "id": "a35d06e5", "metadata": {}, "outputs": [ @@ -157,7 +157,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": null, "id": "d193bf5b", "metadata": {}, "outputs": [ @@ -186,7 +186,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": null, "id": "1b480bf5", "metadata": {}, "outputs": [ @@ -237,7 +237,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": null, "id": "0f51143e", "metadata": {}, "outputs": [ @@ -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." ] }, { @@ -286,7 +286,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": null, "id": "0dccac3d", "metadata": {}, "outputs": [ @@ -319,7 +319,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": null, "id": "4c456cee", "metadata": {}, "outputs": [ @@ -420,7 +420,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "id": "0e1abed7", "metadata": {}, "outputs": [], @@ -432,7 +432,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "id": "0bc49a15", "metadata": {}, "outputs": [ @@ -490,7 +490,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": null, "id": "3e0a32ba", "metadata": {}, "outputs": [], @@ -516,7 +516,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "id": "a803c5d0", "metadata": {}, "outputs": [ @@ -583,7 +583,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": null, "id": "f16a2605", "metadata": {}, "outputs": [ @@ -638,7 +638,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.11.0" + "version": "3.13.2" } }, "nbformat": 4, diff --git a/samples/03_org_administrators/validate_user_profiles.ipynb b/samples/03_org_administrators/validate_user_profiles.ipynb index 996100ee84..ee0e09af6d 100644 --- a/samples/03_org_administrators/validate_user_profiles.ipynb +++ b/samples/03_org_administrators/validate_user_profiles.ipynb @@ -248,7 +248,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": null, "metadata": {}, "outputs": [ { @@ -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()" diff --git a/samples/05_content_publishers/overwriting_feature_layers.ipynb b/samples/05_content_publishers/overwriting_feature_layers.ipynb index 636f5d8e3a..1e856cb444 100644 --- a/samples/05_content_publishers/overwriting_feature_layers.ipynb +++ b/samples/05_content_publishers/overwriting_feature_layers.ipynb @@ -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." ] }, { diff --git a/samples/05_content_publishers/updating_features_in_a_feature_layer.ipynb b/samples/05_content_publishers/updating_features_in_a_feature_layer.ipynb index 2801d58473..328c6548e4 100644 --- a/samples/05_content_publishers/updating_features_in_a_feature_layer.ipynb +++ b/samples/05_content_publishers/updating_features_in_a_feature_layer.ipynb @@ -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/)" ] } ],