Microsoft Office Tutorials and References
In Depth Information
An uploaded file in
WHAT’S THAT SAMPLE FILE?
You may have noticed there was already a file in the library that we didn’t upload. Actually, I
uploaded that file, named sample.txt, in Chapter 4, “Introduction to the SharePoint Interface,”
to demonstrate how the interface works.
In a standard list, if you click the linked field of an item, it will open the item’s View page and
display that list’s field contents. But because a library is so focused on the files associated with
the library item, the linked field is linked to the file , not the library item itself. So in this case, if
you click that library item’s linked field, it will trigger the appropriate application to open the
file and allow you to work on it. To see the fields of the actual library item, you must specifically
select View Properties from the item’s drop-down menu.
In addition to the Name field, there are the Modified Date and Modified By fields, which
are automatically filled in upon creation of the library item and when any edits are made to
the item or its attached file. There are other fields that can be used for an item in this library
as well, such as for the item ID, file size, or version, but they are not available in the default
All Items view for document libraries (I mention them in case you’d like to use them in a
custom view of your own).
By default, the Shared Documents document library uses a Word 2007/2010 document
template. This is why, while working in the Shared Documents library, I will be working with
documents. But keep in mind that you can have a document library focused on PowerPoint
presentations just as easily as you can Word documents. Then you would be creating and working
on presentations instead of documents. Don’t be limited by the name of the type of library or
my simple example; document libraries can use other kinds of templates and therefore focus on
other kinds of files.
Creating a new Document
When you create a new document in a library rather than uploading an existing one, it creates a
new file based on the template associated with the library, opening the file in the correct
application (you must have that application installed locally). When you save the file to the library for