You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Lab.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,7 @@ Update the default web part to pass into the React component an instance of the
107
107
ReactDom.render(element, this.domElement);
108
108
});
109
109
```
110
+
110
111
>Note: the public property of the GraphPersona `graphClient` will be defined in the next step.
111
112
112
113
### Implement the GraphPersona React Component
@@ -296,7 +297,7 @@ The last step before testing is to notify SharePoint that upon deployment to pro
296
297

297
298
298
299
1. Approve the API permission request:
299
-
1. Navigate to the SharePoint Admin Portal located at **https://{{REPLACE_WITH_YOUR_TENANTID}}-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx**, replacing the domain with your SharePoint Online's administration tenant URL.
300
+
1. Navigate to the SharePoint Admin Portal located at `https://{{REPLACE_WITH_YOUR_TENANTID}}-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx`, replacing the domain with your SharePoint Online's administration tenant URL.
300
301
301
302
>Note: At the time of writing, this feature is only in the SharePoint Online preview portal.
302
303
@@ -526,7 +527,7 @@ Update the default web part to pass into the React component an instance of the
526
527
}
527
528
```
528
529
529
-
### Update the SPFx Package Permission Requests
530
+
### Update the SPFx Package Permission Requests for Events
530
531
531
532
The last step before testing is to notify SharePoint that upon deployment to production, this app requires permission to the Microsoft Graph to access the user's calendar events.
532
533
@@ -539,13 +540,14 @@ The last step before testing is to notify SharePoint that upon deployment to pro
539
540
"scope": "Calendars.Read"
540
541
}
541
542
```
543
+
542
544
1. Locate the `version` property and increment by 1.
543
545
544
546
```json
545
547
"version": "1.0.0.1"
546
548
```
547
549
548
-
### Test the Solution
550
+
### Test the Events Solution
549
551
550
552
1. Create the SharePoint package for deployment:
551
553
1. Build the solution by executing the following on the command line:
@@ -582,7 +584,7 @@ The last step before testing is to notify SharePoint that upon deployment to pro
582
584

583
585
584
586
1. Approve the API permission request:
585
-
1. Navigate to the SharePoint Admin Portal located at **https://{{REPLACE_WITH_YOUR_TENANTID}}-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx**, replacing the domain with your SharePoint Online's administration tenant URL.
587
+
1. Navigate to the SharePoint Admin Portal located at `https://{{REPLACE_WITH_YOUR_TENANTID}}-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx`, replacing the domain with your SharePoint Online's administration tenant URL.
586
588
587
589
>Note: At the time of writing, this feature is only in the SharePoint Online preview portal.
588
590
@@ -807,7 +809,7 @@ Update the default web part to pass into the React component an instance of the
807
809
}
808
810
```
809
811
810
-
### Update the SPFx Package Permission Requests
812
+
### Update the SPFx Package Permission Requests for Tasks
811
813
812
814
The last step before testing is to notify SharePoint that upon deployment to production, this app requires permission to the Microsoft Graph to access the user's calendar events.
813
815
@@ -829,7 +831,7 @@ The last step before testing is to notify SharePoint that upon deployment to pro
829
831
"version": "1.0.0.2"
830
832
```
831
833
832
-
### Test the Solution
834
+
### Test the Tasks Solution
833
835
834
836
1. Create the SharePoint package for deployment:
835
837
1. Build the solution by executing the following on the command line:
@@ -860,7 +862,7 @@ The last step before testing is to notify SharePoint that upon deployment to pro
860
862
1. If you previously uploaded the same package, as in the case from exercise 1, if the **A file with the same name already exists** dialog, select the **Replace It** button.
861
863
1. In the **Do you trust ms-graph-sp-fx-client-side-solution?** dialog, select **Deploy**.
862
864
1. Approve the API permission request:
863
-
1. Navigate to the SharePoint Admin Portal located at **https://{{REPLACE_WITH_YOUR_TENANTID}}-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx**, replacing the domain with your SharePoint Online's administration tenant URL.
865
+
1. Navigate to the SharePoint Admin Portal located at `https://{{REPLACE_WITH_YOUR_TENANTID}}-admin.sharepoint.com/_layouts/15/online/AdminHome.aspx`, replacing the domain with your SharePoint Online's administration tenant URL.
864
866
865
867
>Note: At the time of writing, this feature is only in the SharePoint Online preview portal.
Copy file name to clipboardExpand all lines: README.md
+9-8Lines changed: 9 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,21 +6,21 @@ This module will introduce you to working with the Microsoft Graph REST API to a
6
6
7
7
In this lab you will create SharePoint Framework client-side web parts that call the Microsoft Graph JavaScript SDK.
8
8
9
-
*[Lab manual](./Lab.md)
9
+
-[Lab manual](./Lab.md)
10
10
11
11
## Demos
12
12
13
-
*[Show profile details from Microsoft Graph in SPFx client-side web part](./Demos/01-personal-info)
14
-
*[Show calendar events from Microsoft Graph in SPFx client-side web part](./Demos/02-events)
15
-
*[Show Planner tasks from Microsoft Graph in SPFx client-side web part](./Demos/03-tasks)
13
+
-[Show profile details from Microsoft Graph in SPFx client-side web part](./Demos/01-personal-info)
14
+
-[Show calendar events from Microsoft Graph in SPFx client-side web part](./Demos/02-events)
15
+
-[Show Planner tasks from Microsoft Graph in SPFx client-side web part](./Demos/03-tasks)
16
16
17
17
## Watch the Module
18
18
19
19
This module has been recorded and is available in the Office Development YouTube channel: [Leveraging the Microsoft Graph JavaScript SDK from the SharePoint Framework](https://www.youtube.com/watch?v=U1JrBwP3vc8)
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
42
+
**THIS CODE IS PROVIDED _AS IS_ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**
0 commit comments