Ask Your Question
0

How can a collection of multiple lines from a TextBox be exported to a SharePoint List using PowerApps?

asked 2021-07-06 11:00:00 +0000

pufferfish gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-07-08 03:00:00 +0000

woof gravatar image
  1. First, create a SharePoint List with the necessary columns to store the data from the TextBox.

  2. In PowerApps, create a new screen and add a TextBox to it.

  3. Next, create a button and add an action to it. Select the SharePoint connector and choose the "Create Item" action.

  4. In the "Create Item" action, select the SharePoint List that you created in step 1.

  5. Add the columns from the SharePoint List as fields in the "Create Item" action.

  6. To export the multiple lines from the TextBox to the SharePoint List, use the "Split" function to split the text into an array of lines.

  7. Use the "ForAll" function to loop through each line in the array and create a new item in the SharePoint List for each line.

  8. Set the values of the columns in the SharePoint List using the data from the TextBox.

  9. Save and test your app. When you enter multiple lines in the TextBox and click the button, the lines should be exported to the SharePoint List as separate items.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-07-06 11:00:00 +0000

Seen: 10 times

Last updated: Jul 08 '21