Book Image

SharePoint 2013 WCM Advanced Cookbook

By : JOHN CHAPMAN
Book Image

SharePoint 2013 WCM Advanced Cookbook

By: JOHN CHAPMAN

Overview of this book

Table of Contents (19 chapters)
SharePoint 2013 WCM Advanced Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a SharePoint list to provide a drop-down menu data to InfoPath


InfoPath can use data from SharePoint and other sources, such as web services, to populate choices in data-driven controls such as drop-down menus. In this recipe, we will create a simple SharePoint list to provide data to InfoPath for the next recipe, adding a drop-down menu to InfoPath using SharePoint list data.

How to do it...

Follow these steps to create our SharePoint list:

  1. Navigate to the SharePoint site in your preferred web browser.

  2. From the Settings menu, select Site contents.

  3. Select Add an app and then click on Custom List.

  4. Provide a name such as Categories for the custom list in the Name field.

  5. Select the newly created list on the Site contents page.

  6. Add new items to the list such as Customer Request, Internal Request, and Automated Request.

How it works...

InfoPath form templates have the ability to communicate with SharePoint to retrieve list data. Like SharePoint Designer, InfoPath communicates with SharePoint using...