parent
14c7c6ce8c
commit
6f83fb7d1b
|
@ -1,9 +1,26 @@
|
||||||
|
---
|
||||||
|
page_type: sample
|
||||||
|
products:
|
||||||
|
- office-sp
|
||||||
|
languages:
|
||||||
|
- javascript
|
||||||
|
- typescript
|
||||||
|
extensions:
|
||||||
|
contentType: samples
|
||||||
|
technologies:
|
||||||
|
- SharePoint Framework
|
||||||
|
- Microsoft Graph
|
||||||
|
platforms:
|
||||||
|
- React
|
||||||
|
createdDate: 5/5/2020 12:00:00 AM
|
||||||
|
---
|
||||||
|
|
||||||
## my-subscriptions
|
## my-subscriptions
|
||||||
|
|
||||||
|
|
||||||
## Summary
|
## Summary
|
||||||
|
|
||||||
We now have audiences in modern sharepoint. The most benefit from this feature is that we can target News/ Article
|
We now have audiences in modern SharePoint. The most benefit from this feature is that we can target News/ Article
|
||||||
to different users groups.
|
to different users groups.
|
||||||
So the idea was to use the concept of audiences and build something called as subscription, when the user subscribes he/she becomes member of that group i.e office 365 groups
|
So the idea was to use the concept of audiences and build something called as subscription, when the user subscribes he/she becomes member of that group i.e office 365 groups
|
||||||
Thus giving end users the opportunity on what kind of news/article they would be intrested in.
|
Thus giving end users the opportunity on what kind of news/article they would be intrested in.
|
||||||
|
@ -16,8 +33,8 @@ Please note: This is only applicable to public office 365 groups (Audiences).
|
||||||
Now the user determines what kind of news/article , he wants to see
|
Now the user determines what kind of news/article , he wants to see
|
||||||
|
|
||||||
Requirements
|
Requirements
|
||||||
1. Graph api to fetch groups i am a member of
|
1. Graph API to fetch groups I am a member of
|
||||||
2. Graph api to add/remove current user from office 365 public group
|
2. Graph API to add/remove current user from office 365 public group
|
||||||
![Demo](./assets/graph.JPG)
|
![Demo](./assets/graph.JPG)
|
||||||
3. A SharePoint list to maintain a group of audiences
|
3. A SharePoint list to maintain a group of audiences
|
||||||
|
|
||||||
|
@ -55,10 +72,6 @@ Also we can use high lighted content webpart to show all subscribed audience new
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
### Building the code
|
### Building the code
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
@ -81,3 +94,5 @@ gulp test - TODO
|
||||||
gulp serve - TODO
|
gulp serve - TODO
|
||||||
gulp bundle - TODO
|
gulp bundle - TODO
|
||||||
gulp package-solution - TODO
|
gulp package-solution - TODO
|
||||||
|
|
||||||
|
<img src="https://telemetry.sharepointpnp.com/sp-dev-fx-webparts/samples/react-mysubscription" />
|
||||||
|
|
Loading…
Reference in New Issue