cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
andfer
Helper I
Helper I

SubmitForm y TextInput to save sharepoint


very good day, I am trying to save information in sharepoint with

SubmitForm(EditForm1)

and


Patch(Database;

{'CONTAINER NUMBER':TextInput1}

);;

 

I want to know if it is possible to do both at the same time to save information in the same list

 

andfer_0-1659973750227.png

 

 

4 REPLIES 4
Nogueira1306
Super User
Super User

Why dont you use only patch or only SubmitForm?

 

To use patch you need to do like this:

 

//CREATE NEW

 

Patch(DataSource,

Defaults(DataSource),

{

'CONTAINER NUMBER':TextInput1.Text

}

)

 

//UPDATE

 

Patch(DataSource,

LookUp(DataSource; ID = ThisItem.ID),

{

'CONTAINER NUMBER':TextInput1.Text

}

)

 

https://www.matthewdevaney.com/everything-you-need-to-know-about-power-apps-patch-forms/

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,

Gonçalo Nogueira

Check my LinkedIn!

Buy me a coffee!

Check my User Group (pt-PT)!

Last Post on Community

My website!

DavidZoon
Resolver III
Resolver III

Hello,
Add .Text after TextInput1 🙂

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily.

 

 

@Nogueira1306 

I just want to know if it is possible and know how to do it

andfer
Helper I
Helper I

solved

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (4,037)