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

Offline Capabilities Error when using patch: the type of this argument does not match the expected type Text found type Table

Good day,

 

I am trying to add offline capabilities to my application.

Here is the code im using to save:

 

If(
Connection.Connected,
SubmitForm(EditForm1),
Collect(
TempCollect,
{
BowserName1: DataCardValue10.SelectedText.Result,
LocKey1: DataCardValue11.SelectedText.Result,
VehicleNumber1: DataCardValue12.SelectedText.Result,
DriverFN1: DataCardValue13.SelectedText.Result,
DriverSN1: DataCardValue14.SelectedText.Result,
Odometer1: DataCardValue15.Text,
OpeningBowser1: DataCardValue16.Text,
ClosingBowser1: DataCardValue9.Text,
Litres1: DataCardValue18.Text
}
);
SaveData(
TempCollect,
"Temp"
)
);
Im loading it and then trying to patch it to my share-point list, attached is a screen grab please see.

 

I receive the error outlined in the Subject line, I understand what its trying to tell me but I cant figure out what im doing wrong.

 

Any help will be greatly appreciated. 

1 ACCEPTED SOLUTION

Accepted Solutions
MatthewLeslie
Helper I
Helper I

Forgot my ForAll( TempCollect,

View solution in original post

2 REPLIES 2
MatthewLeslie
Helper I
Helper I

Forgot my ForAll( TempCollect,

v-siky-msft
Community Support
Community Support

Deleted

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,114)