web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :

Shoutouts Template Configuration - Save data in SharePoint

RezaDorrani Profile Picture Posted by RezaDorrani 12,143

Step by step walk through of configuring the Shoutouts App Template and storing the information in SharePoint as a data source

 

This was done with relation to a community forum post regarding issues reported by users with the existing Shoutout template

 

https://powerusers.microsoft.com/t5/General-Discussion/New-to-Powerapps-Shout-out-is-not-working-for-me/m-p/329269

 

 

 

 

pic.jpg

Categories:

General PowerApps

Comments

  • NeddyS Profile Picture NeddyS
    Posted at
    Shoutouts Template Configuration - Save data in SharePoint

    Tweaked the Patch function (as per Rez's suggestions) to write to SharePoint, the below snippet worked for me, so now I can

    1. Upload an image

    2. Set a new Person field that I added, called Recipient, in the Sharepoint List

     

    Patch(
    Shoutouts,
    Defaults(Shoutouts),
    {
    Title: Value(
    Text(
    Now(),
    "[$-en-US]yyyymmddhhmmss"
    )
    ),
    PrimaryID: Value(
    Text(
    Now(),
    "[$-en-US]yyyymmddhhmmss"
    )
    ),
    ShoutoutType: _selectedShoutout.Type,
    RecipientEmail: _selectedUser.UserPrincipalName,
    RecipientName: _selectedUser.DisplayName,
    Message: MessageInputBox.Text,
    CreatorEmail: _myProfileUPN,
    Image: UploadedImage1.Image,
    Recipient: {
    '@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandUser",
    Claims: "i:0#.f|membership|" & _selectedUser.UserPrincipalName,
    Department: "",
    DisplayName: _selectedUser.DisplayName,
    Email: _selectedUser.UserPrincipalName,
    JobTitle: "",
    Picture: ""
    }
    }
    ),

  • NeddyS Profile Picture NeddyS
    Posted at
    Shoutouts Template Configuration - Save data in SharePoint

    Many thanks Reza for the walkthrough and suggestions, you are a legend.

    All working with SharePoint some little enhancements added as well.

     

    My only suggestion - Use the App Health Checker and Monitor, it is your friend 🙂 in getting things working.

     

  • Dina Profile Picture Dina 89
    Posted at
    Shoutouts Template Configuration - Save data in SharePoint

    Omg ..lots of hiccups..and workarounds that make us review the entire formulas.. also this video has some time now and the steps do not work anymore..

    yes, slow down specially when deleting and copying formulas.. He was in a rush.. his alarm rang a few times during the recording! 

  • mgudites Profile Picture mgudites 76
    Posted at
    Shoutouts Template Configuration - Save data in SharePoint

    Thank you, this was extremely helpful, but I'm having a really hard time figuring out how to get the images to work. It is STILL broken right out of the box from Microsoft, and there doesn't appear to be a single concise guide anywhere on how to specifically make this work with SHOUTOUTS. I've seen multiple videos regarding 'how to pull images into a gallery' and things like that, but I can't seem to make Microsoft's pre-delivered Shoutouts template work with image attachments, once I've changed the app to use a SharePoint list for its data source.

  • flyingscotsman Profile Picture flyingscotsman
    Posted at
    Shoutouts Template Configuration - Save data in SharePoint

    Dude you need to slow down and be more clear on how to save data to SharePoint! This is very hard to follow as you are jumping around so quick

    Can you do another video that is clear and structured and miss half the crap that's not needed

    Thanks