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 :
Power Platform Community / Forums / Power Apps / SharePoint comments fi...
Power Apps
Answered

SharePoint comments field incorrectly adding comments to all items in the list

(0) ShareShare
ReportReport
Posted on by 5

i have a 4 screen SharePoint integrated PowerApp. that has a html comments page that is suppose to allow users to comment on gallery selected or sharepoint selected items. it will show the comment has been saved but append it to  all the items in the list not just the selected one 

 

here is my patch command for the submit button 

RoderickF01_0-1681163671888.png

 

here is the htmlcomments box 

RoderickF01_1-1681163811048.png

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @RoderickF01 ,

     

    There are a few points that may need attention:

    1\galleryName.Selected cannot be empty or blank

    2\There is a problem with the syntax of If 

    right syntax

    If( 
     Condition1, 
     ThenResult1, 
     Condition2, 
     ThenResult2,
     DefaultResult 
    )

    3\There is a problem with the syntax of Patch

    vbofengmsft_3-1681177634679.png

     

    Please try this formula:

    Patch(
     'DataSource',
     If(
     IsBlank(SharePointIntergration.Selected)||IsEmpty(SharePointIntergration.Selected),
     galleryChangeRequestLog.Selected,
     SharePointIntergration.Selected
     ),
     {
     'QA XX':XXX
     }
    )
    

     

    Best Regards,

    Bof 

  • RoderickF01 Profile Picture
    5 on at

    this worked well thanks for catching this 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard