edited typos and emphasized notes
"search_my_contents"
]
},
- {
- "cell_type": "markdown",
- "metadata": {},
- "source": [
- "The `arcgis_python` user does not own any content at the time the query was run."
- ]
- },
{
"cell_type": "markdown",
"metadata": {},
"metadata": {},
"source": [
"### Searching for content in ArcGIS Online\n",
- "So far, we searched for content accessible to a user logged into ArcGIS Enterprise. Let's connect directly to an ArcGIS Online Organiztion and futher explore ways to search for web GIS content."
+ "So far, we searched for content accessible to a user logged into ArcGIS Enterprise. Let's connect directly to an ArcGIS Online Organization and futher explore ways to search for web GIS content."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
- "Let us search for public web scenes visualizing 3D cities. Note, I want to see content that is most popular by number of views to be returned on the top. I am also concerned that if too many items show up, the query might be running slow, hence restrict the results to 15 items."
+ "Let us search for public web scenes visualizing 3D cities. \n",
+ "> **Note:** , Use the `sort_field` parameter to order the content that is returned. In this case, the results are ordered with most larger number of views returned first. The `max_items` parameter can restrict the number of results returned, which can help with slow queries or queries with many possible results."
]
},
{
"source": [
"## Creating new content\n",
"\n",
- "To create new items on your GIS, you use the [`add()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.add) method on `ContentManager` object. Again, rather than creating an instance of the `ContentManager` directly, the Python API implments the class as the `content` property of your `GIS` object.\n",
+ "To create new items on your GIS, use the [`add()`](https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.add) method on `ContentManager` object. Again, rather than creating an instance of the `ContentManager` directly, the Python API implements the class as the `content` property of your `GIS` object.\n",
"\n",
"The `add()` method accepts a dictionary containing the properties of the item to be created. The optional `data` parameter accepts a string path to a file. You can use the optional `metadata` parameter to specify an XML file containing metadata information.\n",
"\n",
