cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Submit a Collection to a SharePoint List

I am currently working on App designed to log an outbound call and record data. It has multiple DropBoxes, comboboxs, a date picker, and a text input for comments about the call. Many of the DropBoxes contain info from different sharpoint lists. I have a collection created so that once everything is entered the employees can submit the data.

 

I want to send the collection to a SharePoint list so that I can use that info to make monthly reports, graphs, etc... Is there anyway to do this? Any advice would be greatly appreciated.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User
Super User

Re: Submit a Collection to a SharePoint List

Hi @Anonymous

 

You would set up a Sharepoint list (for example named CallLog with all of the fields that you want to collect and specify the type of data you will be collecting. Then, on a blank screen, insert the appropriate controls: Dropboxes, Comboboxes, TextInput boxes, etc.  You would add a button with its OnSelect property Patch(CallLog,Defaults(CallLog),{datefield: DatePicker1.SelectedDate, employee: Dropdown1.Selected.Value,message: TextInput1.Text,etc.})  For more information on the Patch command, see https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-patch.   Also an excellent resource for creating your own forms can be found at https://baizini-it.com/blog/index.php/2017/09/28/powerapps-101-create-your-own-forms/

 

Tip: For the most efficient way to work with data from other lists, save the ID instead of the Value and use the LookUp function in Galleries and DataTables to display the names.

View solution in original post

1 REPLY 1
Highlighted
Super User
Super User

Re: Submit a Collection to a SharePoint List

Hi @Anonymous

 

You would set up a Sharepoint list (for example named CallLog with all of the fields that you want to collect and specify the type of data you will be collecting. Then, on a blank screen, insert the appropriate controls: Dropboxes, Comboboxes, TextInput boxes, etc.  You would add a button with its OnSelect property Patch(CallLog,Defaults(CallLog),{datefield: DatePicker1.SelectedDate, employee: Dropdown1.Selected.Value,message: TextInput1.Text,etc.})  For more information on the Patch command, see https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-patch.   Also an excellent resource for creating your own forms can be found at https://baizini-it.com/blog/index.php/2017/09/28/powerapps-101-create-your-own-forms/

 

Tip: For the most efficient way to work with data from other lists, save the ID instead of the Value and use the LookUp function in Galleries and DataTables to display the names.

View solution in original post

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

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