Skip to content

Commit f559723

Browse files
authored
Merge pull request #31 from pnp/alexc-msft/vivaengage-richtext
Viva engage rich text functionality & bug fixes
2 parents 8081a92 + 1073086 commit f559723

File tree

5 files changed

+49
-11
lines changed

5 files changed

+49
-11
lines changed

Documentation/Deployment-guide.md

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,38 +71,40 @@ Note - You must create ALL of the columns below even if you are not deploying th
7171
| PromptsCopied | Number
7272
| PromptsLiked | Number
7373

74-
8. Create a list named 'Configuration'.
75-
9. Create the following columns:
74+
8. Create a single item in the 'Reporting' list with the value of each column set to 0.
75+
76+
9. Create a list named 'Configuration'.
77+
10. Create the following columns:
7678

7779
| Column Name | Type |
7880
| -------- | ------- |
7981
| Value | Single line of text
8082

81-
10. Create a list item in the above list with the following details:
83+
11. Create a list item in the above list with the following details:
8284

8385
Title: AppId
8486

8587
Value: Leave empty
8688

87-
11. Create a second list item in the above list with the following details:
89+
12. Create a second list item in the above list with the following details:
8890

8991
Title: ServiceAccountUPN
9092

9193
Value: UPN (Email) of your service account
9294

93-
12. Create a third list item in the above list with the following details:
95+
13. Create a third list item in the above list with the following details:
9496

9597
Title: PromptBuddyInstalled
9698

9799
Value: 'true' (if you wish to integrate with Prompt Buddy) or 'false'.
98100

99-
13. Create a fourth list item in the above list with the following details:
101+
14. Create a fourth list item in the above list with the following details:
100102

101103
Title: ShowShareEngage
102104

103105
Value: 'true' (if you wish to allow sharing to Viva Engage) or 'false'.
104106

105-
14. Create a fifth list item in the above list with the following details:
107+
15. Create a fifth list item in the above list with the following details:
106108

107109
Title: ShowShareUsers
108110

@@ -121,15 +123,25 @@ Value: 'true' (if you wish to allow sharing to users) or 'false'.
121123
9. Obtain the **'ID'** for the Power App by clicking the elipsis next to the app.
122124
10. Copy the **App ID** value and paste this into the **Value** column of the list item you created in the **Configuration** list.
123125

124-
## Step 3: Share the app/flows
126+
## Step 3: Turn on the flows
127+
128+
On occasion the flows are turned off on import and they need to be turned on. Follow the steps below to turn on each flow.
129+
130+
1. Navigate to **Power Apps** as the service account.
131+
2. Click on the **Flows** tab.
132+
3. Click on the **Send Prompt** flow.
133+
4. Click the 'Turn on' option on the top menu.
134+
5. Repeat this process for the following flows - **'Send Scheduled Prompt'**, **'Like Prompt'**
135+
136+
## Step 4: Share the app/flows
125137

126138
1. Locate the app under **Apps**.
127139
2. Share the app with all users who will use Prompt Pulse (you may want to add any administrators as co-owners so they can modify the app if you wish to).
128140
3. Test the app by 'Playing' it.
129141

130142
You may also wish to share the 5 flows (**'Send Scheduled Prompt'**, **'Send Prompt'**, **'Like Prompt'**, **'Get Group Chats'** and **'Get Engage Communities'**) with admins who may need to view the run history or edit them. You can find them under **Flows** in the **Power Apps** portal or in the **Power Automate** portal.
131143

132-
## Step 3: Add the app to Teams (Optional)
144+
## Step 5: Add the app to Teams (Optional)
133145

134146
1. Navigate to **Power Apps** as the account you wish to install the app for and click 'Apps' in the left pane, you should see the Prompt Pulse Power App. You may need to select the correct Environment in which you deployed the solution from the Environment menu at the top.
135147
2. Select the app and click 'Add to Teams' from the top menu bar.
@@ -144,7 +156,7 @@ If you wish to roll the app out via policies, please refer to our general docume
144156

145157
Prompt Pulse can be pre-installed for all users and optionally pinned to the rail if you wish. Or you can deploy the app and allow users to add it to their Teams as a tab.
146158

147-
## Step 4: Configure SharePoint list permissions
159+
## Step 6: Configure SharePoint list permissions
148160

149161
Before rolling out Prompt Pulse, it is neccessary to configure the permisions on the SharePoint lists to ensure users can only read/write/delete their own items.
150162

@@ -154,7 +166,7 @@ Before rolling out Prompt Pulse, it is neccessary to configure the permisions on
154166
4. Break permission inheritance on the **Configuration** and **Reporting** lists and ensure that only admins have write access to these lists, users should have read access.
155167
4. Ensure that admins who may need to read, edit and delete all list items have **Full Control**/**Owner** permissions on the SharePoint site.
156168

157-
## Step 5: Deploy Prompt Buddy Integration
169+
## Step 7: Deploy Prompt Buddy Integration
158170

159171
These steps deploy the integration between Prompt Pulse and Prompt Buddy. This integration is provided in the form of a single Flow which is responsible for syncronizing items from the Prompt Buddy dataverse tables to the Prompts SharePoint list and visa versa.
160172

@@ -188,3 +200,18 @@ This flow runs on a recurrent schedule and by default runs every hour, feel free
188200
When upgrading from V2 to V3, in addition to importing the V3 solution, be sure to create the new 'App' column in the 'Prompts' list.
189201

190202
See Step 1 - Create SharePoint lists.
203+
204+
## Viva Engage Rich Text Posts/Announcements
205+
206+
<img src="https://github.com/pnp/prompt-pulse/blob/main/Documentation/Images/prompt-pulse-vivaengage-post-screenshot.png?raw=true" alt="Prompt Pulse Viva Engage Announcement Screenshot"><br/>
207+
208+
When prompts are shared to Viva Engage, the messages can be posted as announcements with rich text support.
209+
210+
For this to work, the Service Account used to deploy and set up Prompt Pulse must be an admin of the selected community.
211+
212+
This is a manual step as Prompt Pulse will not automatically set this up. Please therefore make the Service Account an admin of those communities that you will mainly share with.
213+
214+
**Note - The Prompt Pulse app displays all communities that the current user is a member of regardless of the Service Account permissions.**
215+
216+
If the Service Account is not an admin, there is a fallback to use a plain text message.
217+
38.4 KB
Loading
300 KB
Loading

Documentation/Overview.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ From the main screen, the process for sharing a prompt is as follows:
5050

5151
**Note - Viva Engage and Users radio buttons are only enabled if the 'ShowShareEngage' and 'ShowShareUsers' list items in the Configuration list are set to true.**
5252

53+
**Note - When a prompt is shared to Viva Engage, the message will be posted as Rich Text if the Service Account used to deploy Prompt Pulse is an admin of the selected community. Otherwise a plain text message will be sent. Please see the deployment guide for more details.**
54+
5355
### Viewing/using prompts
5456

5557
From the main screen, users can view the latest 20 prompts. To use a prompt simply click the prompt **'tile'** and the prompt text will be copied to your clipboard.
@@ -68,6 +70,14 @@ To like/unlike a prompt, simply use the thumbs up icon. This will create a perso
6870

6971
Prompts can also be liked from the adaptive card by clicking the **Like Prompt** button.
7072

73+
### Prompt notifications
74+
75+
The following screnshots show how shared prompts appear in Teams and Viva Engage:
76+
77+
<img src="https://github.com/pnp/prompt-pulse/blob/main/Documentation/Images/prompt-pulse-adaptivecard-screenshot.png?raw=true" alt="Prompt Pulse Adaptive Card Screenshot"><br/>
78+
79+
<img src="https://github.com/pnp/prompt-pulse/blob/main/Documentation/Images/prompt-pulse-vivaengage-post-screenshot.png?raw=true" alt="Prompt Pulse Viva Engage Announcement Screenshot"><br/>
80+
7181
### Scheduling
7282

7383
Prompts can be scheduled to be sent at specific dates/times using the **Schedule** option. To view all scheduled prompts use the **Scheduled** tab. This table shows all the prompts that have been scheduled to be sent organised by date.
@@ -155,6 +165,7 @@ You may wish to create your own reports using tools such as Excel or PowerBI to
155165
- Sharing prompts in a personal install of Prompt Pulse will also show these prompts in Prompt Pulse when installed as a teams tab.
156166
- Only group chats that include the Prompt Pulse service account/user will appear in the app. Users will need to add this account into the group chat manually in order for it to display.
157167
- The Prompt Pulse service account/user will be automatically added to Teams and Engage Communities when a prompt to the location for the first time.
168+
- Rich Text posts in Viva Engage are only supported if the Service Account is an admin of the Community.
158169

159170
Bear the above in mind when using Prompt Pulse, in a future iteration we will look to add support for sharing and viewing prompts in only the team the app is installed in.
160171

3.27 MB
Binary file not shown.

0 commit comments

Comments
 (0)