Skip to content

Commit 971a7b2

Browse files
committed
Add docs
1 parent e6c86ec commit 971a7b2

File tree

4 files changed

+98
-4
lines changed

4 files changed

+98
-4
lines changed

README.md

Lines changed: 98 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,104 @@ Helpful to notify your dataverse end users.
66

77
![Broadcast App](docs/assets/imgs/appThumbnail.png "Broadcast App")
88

9+
## ⭐Key Features⭐
10+
✔️ Enable PowerPlatform Admins/Super Users to broadcast global notifications **per app** to their end users \
11+
- The app is only localized in english and french.
12+
13+
✔️ Provide a dedicated model-driven app "*AppNotification Broadcasts Management*" to manage your global notifications \
14+
✔️ Provides two security roles :
15+
- one for admin/super users: `App Global Notification - Manager`
16+
- one for end users: `App Global Notification - Reader`
17+
18+
✔️ 100% supported code \
19+
✔️ Notifications's content can be localized in english and french.
20+
921
## 🎯 Most popular use cases 📂
10-
- 🚧 Notify users system will shutdown for maintenance
11-
- 📣 Any kind of announcements
12-
- ⚠️ Warn/inform users of a known bug
22+
- Notify users system will shutdown for maintenance 🚧
23+
- Any kind of announcements 📣
24+
- Warn/inform users of a known bug ⚠️🐞
25+
26+
## Getting Started
27+
28+
### 1. Import Solution
29+
1. Simply download the latest [release](https://github.com/dotnetprog/dataverse-broadcast-notification-solution/releases/latest)
30+
31+
2. Import the Managed or Unmanaged solution to your dataverse environment
32+
33+
### 2. Setup security roles
34+
35+
The solution provides two security roles:
36+
- App Global Notification - Manager
37+
- Allow users to create/edit/delete global notifications
38+
- Allow acces to the model-driven app: *AppNotification Broadcasts Management*
39+
- App Global Notification - Reader
40+
- This role gives only the read privilege to global notifications, required to display notifications
41+
- Does not give access to the model-driven app: *AppNotification Broadcasts Management*
42+
43+
If you want to use your own security roles:
44+
45+
- Make sure your end-users have atleast **read organization level privilege** on the following entities:
46+
- fdn_BroadcastAppNotification
47+
- fdn_LocalizedNotificationContent
48+
- Make sure your admin users have atleast **create,write and read organization level privileges** on the following entities:
49+
- fdn_BroadcastAppNotification
50+
- fdn_LocalizedNotificationContent
51+
52+
### 3. Configure your global notifications
53+
54+
1. Navigate to the model-driven app: *AppNotification Broadcasts Management*
55+
2. Create a new global notification \
56+
<img src="docs/assets/imgs/newNotification.png" alt="drawing" width="300"/>
57+
58+
3. Fill the mandatory fields and save
59+
4. Translate your notification message if needed. \
60+
<img src="docs/assets/imgs/localizedContent.png" alt="drawing" width="600"/>
61+
62+
5. Publish the notification \
63+
<img src="docs/assets/imgs/publish.png" alt="drawing" width="300"/>
64+
65+
> **Note :** Notifications must be published to be visible by your end users.
66+
67+
## Important ❗ What you need to know ❗
68+
69+
- Notifications can take up to **5 minutes** to be visible by your end-users. For performance purposes, the query result is cached for 5 minutes until it queries again.
70+
- Currently, the cache time is hardcoded. This will be configurable in a futur release.
71+
- Notifications are displayed when user:
72+
- loads a form record
73+
- loads a 'entitylist' page
74+
- Only Notifications that are bound the current model driven app that the end user is on will show up.
75+
- Only **Published** notifications are displayed.
76+
- Notifications can be unpublished the same way you publish them.
77+
- As of now, users are not able to 'dissmiss' notifications as there was no supported way to save that state.
78+
- The global notifications works around the [Xrm.App](https://learn.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/xrm-app) Client-Api
79+
- The notification mechanism uses the application ribbon to display the notifications. There is a hidden button with a custom enable rule that it's sole purpose is to render the notifications to the ui.
80+
81+
## Notification Samples
82+
83+
### Information
84+
<img src="docs/assets/imgs/infoSample.png" alt="drawing" width="500"/>
85+
86+
### Warning
87+
<img src="docs/assets/imgs/warningSample.png" alt="drawing" width="500"/>
88+
89+
### Danger
90+
<img src="docs/assets/imgs/dangerSample.png" alt="drawing" width="500"/>
91+
92+
### Success
93+
<img src="docs/assets/imgs/successSample.png" alt="drawing" width="500"/>
94+
95+
### When more than one notification (closed)
96+
<img src="docs/assets/imgs/manySample.png" alt="drawing" height="60"/>
97+
98+
### When more than one notification (opened)
99+
<img src="docs/assets/imgs/manySample_Opened.png" alt="drawing" height="80"/>
100+
101+
## Feel free to contribute or submit ideas/suggestions/issues
102+
103+
This is an open-source solution. Therefore the community is more than welcomed to contribute to this project.
104+
Ideas and suggestions are also welcomed so I can add more features for the community.
105+
106+
If you have any bugs, please submit an issue.
107+
13108

14-
*Documentation in progress...*
15109

22.4 KB
Loading
27.6 KB
Loading

docs/assets/imgs/publish.png

21.4 KB
Loading

0 commit comments

Comments
 (0)