Creating controls to add and delete documents
The SiteList XPage lets you see and edit documents in the application, but we need to add controls to create and delete documents.
Procedure
- On the SiteList XPage, click inside the first column (the column, not the header) so it is in focus.
-
Under
Properties
, click Display. -
Check
Check box
.This puts a check box at the front of each row. The user can select a row by checking a box. - On the XPage, click at the ending of the title and press Enter to put a blank line between the title and the view control.
- If you don't see the list of controls in the right pane, click the Controls tab or click .
-
Drag a
Button
control onto the empty line under the title and do the following:The dialog box should look like this. - Click OK.
-
Drag a second
Button
control alongside the first and do the following:The dialog box should look like this.
- Click OK.
- Press Ctrl+S to save the page.
- Preview the page as desired.
-
Close the
SiteList
XPage by clicking the X at the upper right of the center pane.
Results
SiteListFinal
which you can
open for comparison.