|
17 | 17 | "source": [
|
18 | 18 | "Note: The pattern to add, search, get, update, delete `Sites` and `Pages` is identical to that of __Initiatives__ (insert link to premium nb) as demonstrated here. \n",
|
19 | 19 | "\n",
|
20 |
| - "In this notebook we will take a look at examples to\n", |
21 |
| - "* Create site and pages\n", |
22 |
| - "* Clone site within the same (Hub Basic) org, as well as in ArcGIS Enterprise and ArcGIS Hub Premium orgs\n", |
| 20 | + "In this notebook, we will take a look at examples of how to\n", |
| 21 | + "* Create a site and pages\n", |
| 22 | + "* Clone a site within the same (Hub Basic) org, ArcGIS Enterprise orgs, and ArcGIS Hub Premium orgs\n", |
23 | 23 | "* Link and unlink pages"
|
24 | 24 | ]
|
25 | 25 | },
|
|
38 | 38 | "id": "972dce0a",
|
39 | 39 | "metadata": {},
|
40 | 40 | "source": [
|
41 |
| - "We will now sign into a particular organization with Hub Basic capabilities for the purpose of demonstrating these workflows. \n", |
| 41 | + "First, we will sign-in to an organization with Hub Basic capabilities for the purpose of demonstrating these workflows.\n", |
42 | 42 | "\n",
|
43 |
| - "Note: In order to replicate these workflows for yourself, you may have to sign-in using your own credentials for your ArcGIS organization. This notebook is only designed for demonstration purposes. You may also want to verify the features available to you, per your ArcGIS Hub licensing. \n", |
| 43 | + "Note: In order to replicate these workflows, you may have to sign-in using your own credentials for your ArcGIS organization. This notebook is only designed for demonstration purposes. You may also want to verify the features available to you, per your ArcGIS Hub licensing.\n", |
44 | 44 | "\n",
|
45 |
| - "Here are examples for working with Initiatives and Events using __ArcGIS Premium__ (insert live URL) and site and page layout and theme editing using __Enterprise Sites__ (insert live URL) to see other ways of working with your Hub using the ArcGIS API for Python. " |
| 45 | + "Below are examples for working with Initiatives and Events using __ArcGIS Premium__ (insert live URL), site and page layouts, and theme editing using __Enterprise Sites__ (insert live URL). " |
46 | 46 | ]
|
47 | 47 | },
|
48 | 48 | {
|
|
88 | 88 | "source": [
|
89 | 89 | "### Adding new sites and pages\n",
|
90 | 90 | "\n",
|
91 |
| - "ArcGIS Hub empowers you with the capability to build configurable and branded websites for sharing internal and public content, such as apps, data, and media. If you're using ArcGIS Hub Premium, you can launch a site by creating an __initiative__ (insert premium hub link here). You can build a Hub Basic Site using the ArcGIS API for Python as follows:" |
| 91 | + "ArcGIS Hub allows you to build configurable and branded websites for sharing internal and public content, such as apps, data, and media. If you're using ArcGIS Hub Premium, you can launch a site by creating an __initiative__ (insert premium hub link here). You can build a Hub Basic Site using the ArcGIS API for Python as follows:" |
92 | 92 | ]
|
93 | 93 | },
|
94 | 94 | {
|
|
184 | 184 | "id": "a513da36",
|
185 | 185 | "metadata": {},
|
186 | 186 | "source": [
|
187 |
| - "You can also view all the pages of a site." |
| 187 | + "You can also view all pages of a site." |
188 | 188 | ]
|
189 | 189 | },
|
190 | 190 | {
|
|
215 | 215 | "source": [
|
216 | 216 | "### Cloning the site in the same organization\n",
|
217 | 217 | "\n",
|
218 |
| - "Cloning the site in the same organization is very straightforward, and replicates the layout of the site in its copy." |
| 218 | + "Cloning the site in the same organization replicates the layout of the site in its copy." |
219 | 219 | ]
|
220 | 220 | },
|
221 | 221 | {
|
|
265 | 265 | "source": [
|
266 | 266 | "### Cloning the site in an ArcGIS Enterprise organization\n",
|
267 | 267 | "\n",
|
268 |
| - "A feature exclusive to the Python API version of ArcGIS Hub is the ability to clone sites and initiatives cross-platform. \n", |
| 268 | + "A feature exclusive to the Python API version of ArcGIS Hub, is the ability to clone sites and initiatives cross-platform.\n", |
269 | 269 | "\n",
|
270 |
| - "Once we sign into our ArcGIS Enterprise target organization, we will be able to clone this site there, thus using the same layout of this site without having to re-create and re-configure it in another organization.\n", |
| 270 | + "Once we sign into our ArcGIS Enterprise target organization, we will be able to clone this site there, allowing us to use the same layout of this site without having to re-create and re-configure it in another organization.\n", |
271 | 271 | "\n",
|
272 |
| - "Note: This workflow is for demonstration purposes only. To replicate this, you may have to sign-in to an ArcGIS Enterprise organization you have access to." |
| 272 | + "Note: This workflow is for demonstration purposes only. To replicate this, you may have to sign-in to an ArcGIS Enterprise organization you have access to.\n" |
273 | 273 | ]
|
274 | 274 | },
|
275 | 275 | {
|
|
297 | 297 | "source": [
|
298 | 298 | "We can work with Enterprise Sites using the `sites` property of the `GIS` object. \n",
|
299 | 299 | "\n",
|
300 |
| - "We will now clone our site from the Hub Basic organization to this Enterprise organization, in the exact same way we cloned it previously." |
| 300 | + "We will now clone our site from the Hub Basic organization to the Enterprise organization in the same way we cloned it previously." |
301 | 301 | ]
|
302 | 302 | },
|
303 | 303 | {
|
|
366 | 366 | "id": "426f220a",
|
367 | 367 | "metadata": {},
|
368 | 368 | "source": [
|
369 |
| - "As we see above, the page was cloned successfully along with the site." |
| 369 | + "As we see above, the page and site were cloned successfully." |
370 | 370 | ]
|
371 | 371 | },
|
372 | 372 | {
|
|
376 | 376 | "source": [
|
377 | 377 | "### Cloning the site in an ArcGIS Premium organization\n",
|
378 | 378 | "\n",
|
379 |
| - "We will now sign into a particular organization with Hub Premium enabled and will connect to the Hub associated with it, for the purpose of demonstrating the next few capabilities." |
| 379 | + "We will now sign into an organization with Hub Premium enabled and will connect to the Hub associated with it." |
380 | 380 | ]
|
381 | 381 | },
|
382 | 382 | {
|
|
412 | 412 | "id": "dcb0c70b",
|
413 | 413 | "metadata": {},
|
414 | 414 | "source": [
|
415 |
| - "We use the same `clone` method on the target organization to clone this site. However, you will notice that for a Hub Premium organization, your `clone` renders an `initiative` instead, with the site included. " |
| 415 | + "We will use the same `clone` method on the target organization to clone this site. However, for a Hub Premium organization, your `clone` renders an `initiative` with the site included." |
416 | 416 | ]
|
417 | 417 | },
|
418 | 418 | {
|
|
511 | 511 | "id": "c2cddbe5",
|
512 | 512 | "metadata": {},
|
513 | 513 | "source": [
|
514 |
| - "We see that the page was cloned successfully too. \n", |
| 514 | + "We can see that the page was cloned successfully.\n", |
515 | 515 | "\n",
|
516 |
| - "Let's fetch a page from another site and link it to this site. Page linking can be useful when you have certain pages in the same organization that are applicable to multiple sites (e.g., F.A.Q. pages, Contact Information pages, etc.) without having to recreate mutliple copies." |
| 516 | + "Next, we will fetch a page from another site and link it to this site. Page linking can be useful when you have certain pages in the same organization that are applicable to multiple sites (e.g., F.A.Q. pages, Contact Information pages, etc.) but you do not want to recreate multiple copies of those pages. " |
517 | 517 | ]
|
518 | 518 | },
|
519 | 519 | {
|
|
584 | 584 | "id": "c29a2650",
|
585 | 585 | "metadata": {},
|
586 | 586 | "source": [
|
587 |
| - "As we see above, the page was successfully linked to this site. \n", |
588 |
| - "\n", |
589 |
| - "We can also unlink pages from sites, as follows:" |
| 587 | + "We can also unlink pages from sites:" |
590 | 588 | ]
|
591 | 589 | },
|
592 | 590 | {
|
|
0 commit comments