Adding a drop-down menu to InfoPath using SharePoint list data

In this recipe, we will add a drop-down menu that uses data provided by the custom list we created previously in the Creating a SharePoint list to provide drop-down menu data to InfoPath recipe.

Getting ready

For this recipe, we should have a SharePoint list created to retrieve data from.

How to do it...

Follow these steps to create a drop-down menu that uses SharePoint list data:

  1. Create a new form template or open an existing one in Microsoft InfoPath Designer 2013.
  2. Select From SharePoint List from the DATA tab present in the ribbon as shown in the following screenshot:
    How to do it...
  3. Provide the URL to ...

Get SharePoint 2013 WCM Advanced Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.