Hi im currently working on making my apps offline,
I would like for my apps to save to the database when connected to the internet and if not connected send to collections and when reconnected to the network send the data, i have the following error.
If the collection has multiple entries all the entries are sent as the same entry? See the syntax below
If(Connection.Connected, Patch('TEST', Defaults('TEST'),
{Assetid: Assetid_Dropdown.Selected,
starthours: Value(DCV_starthours.Text)}));
If(!Connection.Connected, Collect(OFFTESTCOLLECTION,
{Assetid: Assetid_Dropdown.Selected,
starthours: DCV_starthours.Text}))
Hi @Anonymous
Please send a picture of the error.
One thing I did notice is that the collection is not setting the value for StartHours as a numeric value as it is done with the patch. This can cause problems when you are trying to path the collection back to the data source.
Value(DCV_starthours.Text)
twitter: @dawidvh
youTube: https://www.youtube.com/channel/UCIMe_ErQZP5chbI9UyW0xLw
>>If you found this reply helpful, please mark this as the answer to close the topic and make it easier to find for other people with similar questions.<<
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
180 | |
46 | |
46 | |
34 | |
33 |
User | Count |
---|---|
259 | |
87 | |
79 | |
68 | |
67 |