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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Capture each user inde...
Power Apps
Answered

Capture each user independently who shares a message in sharepoint list on Twitter using powerapps

(0) ShareShare
ReportReport
Posted on by 22

Hello,

I am stuck on something that seems simple, but i don't know how to achieve it.

I have a powerapp for sharing information on social media (specifically Twitter). This app will be used by multiple users who will be sharing some information from sharepoint list on their individual Twitter accounts. My dilemma is, i want to track which users have shared a particular item and i have a column called 'SharedBy' that should hold this information. This is populated by the logged in user on the powerapp end who shares a particular message found on our sharepoint list. Unfortunately, currently my 'SharedBy' column keeps on being overwritten by the latest user who shares the message ending up losing data on all users who previously shared the same message.

The only way i can think of is creating a new item every time a user clicks on the 'Share Message' button. I am not sure how to do this (creating a new item based on selected item values, and the only different value is the 'SharedBy' column detail which will be the user().fullname). Kindly advice on how to approach this and also if there is another way of tracking that doesn't involve creating new record everytime a message is shared.

Categories:
I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    155,315 Most Valuable Professional on at

    Hi @Saya ,

    You need a separate list and simply set the reference to the ID of the main item. You need only two columns - one Text for the user name and one numeric for the ID. The code you need to update is something like (change the names to suit)

    Patch(
     YourOtherListName,
     Defaults(YourOtherListName),
     {
     IDRef:ThisItem.ID
     SharedBy:User().FullName
     }
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Saya Profile Picture
    22 on at

    Thank you so much @WarrenBelz . Your suggestion worked perfectly well.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 936

#2
Valantis Profile Picture

Valantis 604

#3
11manish Profile Picture

11manish 518

Last 30 days Overall leaderboard