Skip to content

Commit 31b6abc

Browse files
author
Manushi Majumdar
committed
requested copyedits made
1 parent 2b116e4 commit 31b6abc

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

samples/02_power_users_developers/introduction_to_hub_initiatives_and_sites.ipynb

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"source": [
77
"## Introduction to Hub Initiatives and Sites\n",
88
"\n",
9-
"In this sample notebook we will see how to search for initiatives across a Hub, create a new initiative and edit the layout of its site, linking and unlinking a page to that site, cloning it. The same site is also cloned to an Enterprise organization to demonstrate cross-platform cloning of Hub Sites. We also see how a site can be fetched using just its domain. "
9+
"In this sample notebook we will demonstrate how to search for initiatives across a Hub, create a new initiative and edit the layout of its site, link and unlink a page to that site, and clone a site. We will also clone the same site to an Enterprise organization to demonstrate cross-platform cloning of Hub Sites. Finally, we will demonstrate how a site can be fetched using its domain. "
1010
]
1111
},
1212
{
@@ -24,7 +24,7 @@
2424
"source": [
2525
"### Login to Hub\n",
2626
"\n",
27-
"In the interest of demonstrating the Hub Premium `Initiative`, we are signing into this particular Hub. Please sign-in with your ArcGIS credentials while executing this sample notebook to leverage the capabilities of your Hub/Sites licensing."
27+
"In the interest of demonstrating the Hub Premium `Initiative`, we will sign into a Hub. Sign-in with your ArcGIS credentials while executing this sample notebook to leverage the capabilities of your Hub/Sites licensing."
2828
]
2929
},
3030
{
@@ -59,7 +59,7 @@
5959
"source": [
6060
"### Searching for Initiatives\n",
6161
"\n",
62-
"You can search for initiatives or filter using parameters such as `title`, `owner`, `tags`"
62+
"You can either search for initiatives or filter using parameters like `title`, `owner`, `tags`."
6363
]
6464
},
6565
{
@@ -220,7 +220,7 @@
220220
"source": [
221221
"### Linking a page to this site\n",
222222
"\n",
223-
"Linking a page to a site is a two step process. You start by fetching the page of interest, and then linking it to the site object with a slug for the page."
223+
"Linking a page to a site is a two step process. First, you will fetch the page of interest, then you will link it to the site object with a slug for that page."
224224
]
225225
},
226226
{
@@ -290,7 +290,7 @@
290290
"source": [
291291
"### Unlinking a page from this site\n",
292292
"\n",
293-
"Unlinking is useful when you have a page that is no longer needed for a site, but you do not wish to delete it from other sites it is linked to."
293+
"Unlinking is useful when you have a page that is no longer needed for a site, but you do not wish to delete that page from the other sites it is linked to."
294294
]
295295
},
296296
{
@@ -320,7 +320,7 @@
320320
"source": [
321321
"### Editing the layout of this site\n",
322322
"\n",
323-
"We start by fetching the layout of the this site."
323+
"To edit a layout of a site, first fetch the layout of that site."
324324
]
325325
},
326326
{
@@ -356,7 +356,7 @@
356356
"cell_type": "markdown",
357357
"metadata": {},
358358
"source": [
359-
"As we see, this section has a blue background color.\n",
359+
"As we can see, this section has a blue background color.\n",
360360
"\n",
361361
"![image](https://user-images.githubusercontent.com/13968196/158464500-fbb3fa83-f091-41ba-b2eb-740a633a2078.png)\n"
362362
]
@@ -365,7 +365,7 @@
365365
"cell_type": "markdown",
366366
"metadata": {},
367367
"source": [
368-
"We now change it to a deep red by assigning the value and then calling the `update_layout` method on the site object."
368+
"We can change it to a deep red by assigning the background color value and calling the `update_layout` method on the site object."
369369
]
370370
},
371371
{
@@ -413,7 +413,7 @@
413413
"cell_type": "markdown",
414414
"metadata": {},
415415
"source": [
416-
"As we see the color has successfully changed.\n",
416+
"The background color is now a dark red.\n",
417417
"\n",
418418
"![image](https://user-images.githubusercontent.com/13968196/158464917-76a90219-127b-4a74-ac3e-4c70de62f3e4.png)\n"
419419
]
@@ -433,7 +433,7 @@
433433
"cell_type": "markdown",
434434
"metadata": {},
435435
"source": [
436-
"We proceed with fetching the card for this section, and then updating it with the json for the new title 'DevSummit 2022'."
436+
"To change this, we can fetch the card for this section and update it with the json for the new title 'A Sample Hub Initiative'."
437437
]
438438
},
439439
{
@@ -501,11 +501,10 @@
501501
]
502502
},
503503
{
504-
"attachments": {},
505504
"cell_type": "markdown",
506505
"metadata": {},
507506
"source": [
508-
"And the title has successfully changed.\n",
507+
"Now the title has successfully been changed.\n",
509508
"\n",
510509
"![image](https://user-images.githubusercontent.com/13968196/213138931-409df3e5-019b-4805-a246-4ee00eb67ee7.png)"
511510
]
@@ -516,7 +515,7 @@
516515
"source": [
517516
"### Fetching sites with site domain\n",
518517
"\n",
519-
"Sites can be fetched by their itemid. But in case you do not have the siteid for a site that you have access to, you can fetch the item as follows:"
518+
"Sites can be fetched by their `itemid`. However, in cases where you do not have the `siteid` for a site that you have access to, you can fetch the item using the following command:"
520519
]
521520
},
522521
{
@@ -564,7 +563,7 @@
564563
"source": [
565564
"### Cloning an initiative/site in the same org\n",
566565
"\n",
567-
"We clone an initiaitve in the same org by passing the initiative object to the clone method."
566+
"We clone an initiaitve in the same organization by passing the initiative object to the clone method."
568567
]
569568
},
570569
{
@@ -612,7 +611,7 @@
612611
"source": [
613612
"### Cloning an initiative/site from Hub to Enterprise\n",
614613
"\n",
615-
"Cloning an initiative to Enterprise requires signing into that org and then cloning the site into it, by calling the clone method on the `sites` property of the target `GIS` object and also providing a reference to the site object and optional title. \n",
614+
"Cloning an initiative to Enterprise requires signing into that organization and then cloning the site into it. You can clone a site by calling the clone method on the `sites` property of the target `GIS` object and providing a reference to the site object and an optional title. \n",
616615
"\n",
617616
"Note: Enterprise Sites are supported via the `sites` submodule of the `GIS`, and not the `apps.hub` submodule. "
618617
]
@@ -677,7 +676,7 @@
677676
"cell_type": "markdown",
678677
"metadata": {},
679678
"source": [
680-
"As we notice here, only the site item has been cloned in the new org since this is an Enterprise org. The script understands whether to give you an initiative or site for your particular Hub."
679+
"Only the site item has been cloned in the new organization as this is an Enterprise organization. The script will automatically determine whether to give you an initiative or a site for your particular Hub."
681680
]
682681
},
683682
{
@@ -686,7 +685,7 @@
686685
"source": [
687686
"### Deleting initiatives and sites\n",
688687
"\n",
689-
"We will delete the initiative and site created as part of this notebook to demonstrate the ease of deletion."
688+
"We will delete the initiatives and site created as part of this notebook to demonstrate the process of deletion."
690689
]
691690
},
692691
{

0 commit comments

Comments
 (0)