InfoPath and SharePoint (1) InfoPath and SharePoint List, infopathsharepoint
InfoPath and SharePoint List
InfoPath can use an existing SharePointList as the data source. Without writing code, the data in the List can be displayed on the InfoPath form.
First, create a List and some items. I have created a List of storage areas and created some provinces as Item:
Create an InfoPath form template:
Select the target website to be submitted:
Here you can choose to create a new List or use an existing List:
Click Finish.
Simply modify the form and add two rows. One row selects the province. Add a Dropdown List. In the pop-up data source, select "Look up choice from a SharePoint list ".
At this time, InfoPath will automatically load the list and column under the site. Select the created List:
In this way, the Drop-Down List is added:
Release to SharePoint and create an item:
The advantage of doing so is that if you want to modify the province in the future, you only need to modify the list, and you do not need to modify the InfoPath template.