cancel
Showing results for 
Search instead for 
Did you mean: 

PowerApps - One Stop-Shop for Social Media Communication

Introduction

 

This blog walks you through how you can use the two attached templates to build your own mobile PowerApp as a central place to post comments to Facebook, Slack, Twitter and Yammer. The three attachments includes a MSAPP file for the PowerApp, zipped file for Flow and STP file for SharePoint. The 'SocialMedia.ZIP' file contains the MSAPP and STP files. Hence you will have to unzip that file. Leave the 'Socialmedia_20171213182703.zip' as it is and import it in Flow. The steps described in this article must be followed in the precise order to get the final app as desired.

 

Overview

 This video demonstrates what the PowerApp and the Flow can do.

 


Step 1 - Connections

 

THESE CONNECTIONS SHOULD BE MADE IN THE SAME ENVIRONMENT YOU PLAN TO BUILD THE APP!!

 

Confirm you have already made the following 5 connections.

 1. SharePoint
 2. Facebook
 3. Slack
 4. Twitter
 5. Yammer

To check or add your app, in either PowerApps or Flow, go to Connections.

 

Screen1.png

 

Connections you will need

 

 SharePoint.jpg

Facebook.png

Slack.png

twitter.png

Yammer.png

 


Step 2 - SharePoint list

 

Download a copy of the SocialMedia.zip file,  save it on your local machine and unzip it. Use the SocialMedia.STP file.
You can either use the STP attachment or build it from scratch. Below is a screenshot for all the column names and types if you plan to build it from scratch. 

 

Screen2.png

This video walks you through how you can import the STP file to your SharePoint Site Collection and create your list.

 

 

Step 3 - PowerApps

 

THE APP SHOULD BE MADE IN THE SAME ENVIRONMENT YOU HAVE THE CONNECTIONS!!

 

From the SocialMedia.zip file that you downloaded and unzipped, use the Social.MSAPP file. This video walks you through how you can use the MSAPP file, connect it to the SharePoint data connection and test and validate

 

 

Step 4 - Flow

 

THE FLOW SHOULD BE MADE IN THE SAME ENVIRONMENT YOU HAVE THE CONNECTIONS!!

Download a copy of the 'Socialmedia_20171213182703.zip' file AND save it to your local machine. This video walks you through how you can use the Zipped file, connect it to SharePoint, Facebook, Twitter, Slack and Yammer data connections and test and validate.

 

 

Step 5 - DLP

 

Data Loss Prevention or DLP does play a major role in the functionality of this app. If your Flow has a message stating 'Your flow was created, but is currently suspended since it uses a combination of services that conflict with the company data loss prevention policies' as shown below then go to your Admin Center.

 

 Screen3.png

 

Screen4.png

 

Select Data Loss Prevention policies and see if you have any existing policies that prevent connectors from the "Business data only" and "No business data allowed" data groups.

 

Screen5.png

 

For more information you can refer to the Data loss prevention (DLP) policies document

 

Conclusion


As mentioned in the video, it's best that you first use the existing SharePoint STP file to create your list, this way you have the correct column names. Once you have the app fully functional, you can add your own modifications or new features to it and hopefully share it with the community!

 

Comments

@darogael

Daniel, I currently have a similar use -- post to Yammer when item is created in SharePoint List if user selects 'Ask a Question' radio button.  The flow is running successfully; however, all items being pushed to Yammer show they are coming from Me, rather than the user submitting the question.  (Presumably because I created the Flow).  Would you know how to initiate the flow from the app directly so it will post to Yammer coming from the signed in user?

 

How did you workaround the issue with your flow?

Figured this out - thanks!

Meet Our Blog Authors