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 / Added new column to li...
Power Apps
Unanswered

Added new column to list, power add not patching to new column

(0) ShareShare
ReportReport
Posted on by 16

Hi 

I have a power app and sharepoint list, when data is added to the boxes in the power app, a new line is created in the list with all the relevant columns. 

 

I have just added a new column called Name and set it as a text value of single line. 

 

I have gone into the power app and added a new card to the data form, by adding a new field and selecting Name. I then put a textinput box into that data card, but when I fill out the form, the name is not patched through the list and the new column remains blank. 

 

How do I get a new column to be added to when using the app.

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,223 Super User 2025 Season 2 on at

    Hi @MeganH , Are you using Patch function to create record in SP list or using SubmitForm function? Please share the screenshot also.

     

    Thanks,

    ANB

  • MeganH Profile Picture
    16 on at

    Hi, thanks for your response. 

     

    I unfortunately can't upload a screenshot sue to company policy. 

     

    But when the save button is pressed, this is the instruction so no I am not using the patch function:

    Collect(
    SavedForms,
    DataCollectionForm.Updates
    );
    SaveData(
    SavedForms,
    "LSSavedForms"
    );
    If(
    varMode = "Edit",
    Navigate(scrSuccessEdit),
    varMode = "New",
    Navigate(scrSuccessNewRecord),
    "error"
    )

     

    The function I have put in the textbox itself is parent.default, as that is what each of the other text boxes that are working has. When I view the list as a table from powerapps, the column 'Name' is there.  I did not make the app, I am handling it for someone else and just need to make this update to collect some extra information.

     

    Do you know why it would no be syncing?

  • MeganH Profile Picture
    16 on at

    Hi, the app has an edit function where users can change an entry they have made. When I select to edit an entry, the 'site name' (the main title column, labelled 'site name', has been automatically input into the 'Name' card as well as the site name car.d.

  • ANB Profile Picture
    7,223 Super User 2025 Season 2 on at

    Hi @MeganH , As per the code that you have shared, you are using SaveData function which is basically used to stores a collection for later use under a name.  And collection are locally store. Below is the syntax:

     

    SaveDataCollectionName )

     

    Reference:  https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-savedata-loaddata

     

    SaveData will not save data to SP list. Use the SubmitForm function in the OnSelect property of a Button control to save any changes in a Form control to the data source (SharePoint List).

     

    Reference: https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-form

     

    I would suggest you watch this video which can help you for the same: https://www.youtube.com/watch?v=cuiwB00p1T8

    https://www.youtube.com/watch?v=S0Zs66RVka4

     

     

    -----------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    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.👍

    Thanks,
    ANB


  • MeganH Profile Picture
    16 on at

    Thanks for your response, the save data function has indeed been saving the data to the sp list fine, I can't really explain why. I have fixed the problem now thank you!

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard