I am gathering data into a SharePoint list.
Some options are multi-select drop-downs.
The form I am using is necessarily split between 25 pages.
This is a door-to-door COVID survey, and I want to ensure that no data is lost, so I am saving all data to both the collection and to a local file.
I need to do three things with the data:
On navigating away from every page of the survey that has questions,
1. Save that page's data to a collection, and ...
2. Save the data to a local file.
2. On pressing the Upload button at the end of the survey, all data is to be posted to the SharePoint list. Because some surveys might have been done offline, there may be more than one record to upload. All records saved to the local the file are uploaded to the SharePoint list; as you have intuited, this app will need to run offline, thus the use of the local file, ... or that's what I learned yesterday, anyway.
My question is, what is the correct syntax for saving this data, page by page, to the collection?
In the spirit of helping the community, I will add what I have learned, so far:
Checkbox values need to have single quotes areound the column name:
'columnName': 'checkBoxCardName'.Value
Single-select drop-down value:
ColumnName: DataCardName.Selected.Value
LanguageIssue: DataCardValue58.Selected.Value
And that's about it for what I have had success with; when it comes to text and multi select data entries, I have not been able to find the solution I need.
The question:
How to I correctly save data from a question in a form that has been split to two of more pages to both the local collection and the local file?
Her is what I have:
Collect(colCovidTeamSavedItems,{'PreviousCOVIDIsolateSafely': DataCardValue104.Selected.Value });
SaveData(colCovidTeamSavedItems, "CovidTeamSavedItems")
And, if that looks right, here is the code that is not working for my "Single line of text" fields:
StreetAddress: DataCardValue48.Text
Also, this does not work:
StreetAddress: {Value: DataCardValue48.Text}
Neither of the above formulas are flagged by Power Apps, but their functionality is wanting.