08.08.2017 Views

designer

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

178 Chapter 6 Working with Data Sources<br />

1. In the Navigation pane, click Data Sources.<br />

The Data Sources gallery page is displayed in the workspace.<br />

2. In the workspace, under Lists, click the icon to the left of Announcements, and<br />

then on the Data Sources tab, click Copy and Modify in the Actions group.<br />

Copy and Modify<br />

Always Show pin<br />

The Data Source Properties dialog box opens.<br />

3. Under Query, click Fields to open the Included Fields dialog box.<br />

4. In the Included Fields list, hold down the Shift or Ctrl key and click all but the ID<br />

field. Click Remove so that only ID appears in the list.<br />

5. In the Available fields list, hold down Ctrl; click Title, Body, and Modified By;<br />

and then click Add.<br />

6. Click OK to close the Included Fields dialog box.<br />

7. In the Data Source Properties dialog box, click the General tab. In the Name box,<br />

type AnnouncementsTitleBody.<br />

8. Click OK to close the Data Source Properties dialog box.<br />

The AnnouncementsTitleBody data source appears under Lists on the Data Sources<br />

gallery page.<br />

9. If you are able to see the hidden URL structure of your site, hover the mouse<br />

pointer over All Files in the Navigation pane, and click the Always Show pin that<br />

appears.<br />

In the Navigation pane, the pin remains permanently visible to the right of All Files.<br />

The All Files mini-gallery appears below the Navigation pane and displays the hidden<br />

URL structure of the Web site.<br />

10. In the mini-gallery, click the + sign to the left of _catalogs and click the + sign to<br />

the left of fpdatasources.<br />

The fpdatasources library appears, containing AnnouncementsTitleBody.xml.<br />

11. In the All Files mini-gallery, right-click AnnouncementsTitleBody.xml, click Open<br />

With, and then click SharePoint Designer (Open as XML).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!