Book Image

SharePoint Designer Tutorial: Working with SharePoint Websites

By : Mike Poole
Book Image

SharePoint Designer Tutorial: Working with SharePoint Websites

By: Mike Poole

Overview of this book

Table of Contents (17 chapters)
SharePoint Designer Tutorial
Credits
About the Author
About the Reviewer
Preface
Index

Adding and Deleting Records


Modifying records is all very well but we also usually like to give our users the ability to insert and delete records.

To change our data view so that users can insert or delete records, we do the following:

  1. Click on our data view.

  2. Click on the arrow in the top right-hand corner of the data view. This will show the Common Data View Tasks list. (We will cover the features in this list in more depth in the next chapter.)

  3. Click on the Data View Properties link.

  4. Select the Editing tab.

  5. We will check the Show delete item links and the Show insert item links check boxes.

  6. Click OK.

The following image displays the editing link options:

It should be noted that when working with a, SQL data source, we are also given the option to auto-synchronize the update, delete, and insert commands with the edit, delete, and insert controls that appear in the data view.

If we now browse to our site, we see that insert and delete links have been added to our form, allowing users to perform...