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 / Two fields feeding one...
Power Apps
Unanswered

Two fields feeding one SharePoint list column

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I have a generated powerapp attached to a SharePoint list. One column in the SP list is called "Comments". 

 

Can we have two field within the PowerApp, always be blank, and be able to send information to the one SP list column, then for that information to be displayed as a read only in a separate space within the powerapp.

 

 

MattBH_0-1669597377909.png

 

Categories:
I have the same question (0)
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @Matt-BH ,

    If you would like to combine/concatenate Date and Comments and add it to Comments column in your SP list, it can be done by using below formula on Update property of Comments Datacard -

    DatePicker1.SelectedDate & " : " & TextInput1.Text
    Where DatePicker1 control will have Date and TextInput1 control will have Comments added by the user.
    You can add these 2 controls onto your form and make the visibility of Comments DataCard to false or make the display mode to view.

    OR

    If you have 2 columns in SP List named Date and Comments and you would like to show the result of these columns in your power app form, then you can add a TextInput control in your form with below formula in Default property of it - 

    ThisItem.Date & " : " & ThisItem.Comments

  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Matt-BH ,

     

    For SharePoint integration, you can use custom field cards along with Patch function OnSave/OnSuccess of the control. Please follow below steps:

    1. Add two custom cards in SharePointForm1:

    vjefferni_0-1669615601566.png

     

    2. Copy the controls from the two default cards

    vjefferni_1-1669616189935.png

     

    3. Change OnSuccess of SharePointForm1:

    Patch(SPListName,SharePointForm1.LastSubmit,{comments:"Concatenate inputs of controls in custom cards"});ResetForm(Self); RequestHide()

     

    4. Set Display Mode of Comments Data Card Value to DisplayMode.View

     

    5. Remove the two system Cards from SharePointForm1, save and publish.

     

    Note:

    This should only work for create new items, edit exists need use another edit form and link OnNew and OnEdit with different forms. The reason is on editing exists need to modify the saved comments.

     

    Best regards,

     

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 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard