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 / Add new row to a share...
Power Apps
Unanswered

Add new row to a sharepoint list

(0) ShareShare
ReportReport
Posted on by 250

Hey guys.

 

Am trying to do this: Insert rows by the press of a button to a sharepoint list

loopingmurdock_0-1660902795276.png

 

PS: easier by illustration.

Categories:
I have the same question (0)
  • Gochix Profile Picture
    1,935 Moderator on at

    Hi @loopingmurdock ,

     

    By your illustration that's a column you are trying to add.. Or that's a bad illustration.

     

    This new row/column contains any data and you trying to add by press of a button inside a Power App I believe?
    Please give us more information what you are trying to achieve.

     

    On the moment I don't understand what's the issue here..
    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    To add a new row, you can use Patch function -

    Patch(DatasourceName, Defaults(DatasourceName), {Title: TextInput1.Text})

     

  • loopingmurdock Profile Picture
    250 on at

    Yes sorry, a new column. and the header will be the date of the today, the cells will be updated in the day by the user

  • Gochix Profile Picture
    1,935 Moderator on at

    Then you don't need to insert a new column using your App.

    Go to your SharePoint list and create a new Date column.

    Screenshot 2022-08-19 at 11.07.44.png

    Then using the formula that @NandiniBhagya20  provided you can patch a new row in the list.

     

    Patch(DatasourceName, Defaults(DatasourceName), {YourNewDateColumn: Now()})


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

     

  • loopingmurdock Profile Picture
    250 on at

    I get error, that "newcolunm" does not exist

    Patch('Test-Row-calcul', Defaults('Test-Row-calcul'), {NewColunm: Now()})

     

  • Gochix Profile Picture
    1,935 Moderator on at

    After creating a new column try to Refresh your datasource and try again..

     

    a small typo mistake in your code maybe?

    Patch('Test-Row-calcul', Defaults('Test-Row-calcul'), {NewColumn: Now()})


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

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