Posts

SharePoint: Site Templates, Site Definitions and Themes Explained

SharePoint uses site definitions, site templates and themes for customization. While there are similarities in each, they are all very different and very powerful in their own right. Understanding each of these is key to customizing SharePoint. SharePoint Themes Difficult Level: Easy/Moderate SharePoint themes are a collection of stylesheets and images which basically skin a site. While they do not control the layout they can be edited to customize the look and feel of a sites fonts, background colours, borders, links etc. For example: If you wanted to change the border around a web part, or the title bar of a web part you would customize it via the theme. By default there are several global stylesheets applied to all sites. This is true for both SharePoint Portal Server 2003 and Windows SharePoint Services. (Example: OWS.CSS, MENU.CSS and in Portal Server’s case SPS.CSS). The global stylesheets are stored on the server in the following location C:\Program Files\Common Files\Microsoft ...

Ways of moving Site Structure/ Content from one site to another

Web Package (.fwp file): This feature is used when we want to share or reuse Web pages or a site, list, or library structure. With Web packages, we can either package an entire site or choose just the specific pages, lists, or libraries that we want. Web packages are a great way to duplicate site structure, but they cannot include list data, subsites, or security and permissions settings. Also, a Web package can include custom link bars. After we create a package, we can import and deploy the file into as many Web sites as we want. This can be done with the help of Share Point Designer. Backup and Restore (.cmp file) : We use this feature when we want to make a backup copy of an entire site or subsite, or when we want to move an entire site or subsite to another server or location. Unlike Web packages, content migration packages include list data, and we cannot choose to include only specific site elements. some customizations or settings can be lost in the process. For example, the b...

Introduction to Content Type in MOSS

Content Type Definition : A content type is a reusable collection of settings we want to apply to a certain category of content. Content types enable us to manage the metadata and behaviors of a document or item type in a centralized, reusable way. Problem that can be solved with Content Type: Suppose we want to store two entirely different kind of documents such as software specifications and legal contracts in the same document library. The metadata we would want to gather and store about each of these document types is also very different. In addition, we want to assign very different workflows to the two types of documents. Solution with the content Type : Content types enable us to store multiple different types of content in the same document library or list. In the preceding problem statement, we could define two content types, named Specification and Contract. Each content type would include different columns for gathering and storing item metadata, as well as different workflo...

SharePoint Terminology

Here are some important terms pertinent to SharePoint Technology: Application page : Allows the use of inline custom code. Application pages or "_layout" pages are stored on the SharePoint Web server and made available via a Microsoft Internet Information Services (IIS) virtual directory. Though application pages behave much like other ASPX pages and allow the use of inline custom code, they differ from content pages in that they cannot be used to host SharePoint features such as dynamic Web Parts and Web Part zones. Content type : A reusable collection of settings to apply to a certain category of content such as documents and folders. Content types are designed to help users organize their SharePoint content in a more meaningful way. Custom action : Represents a link, toolbar button, menu item, or any control that can be added to a toolbar or menu that appears in the UI. We define custom actions by using a custom action element within a feature definition file. We can bind ...

Some Important Tables with SharePoint 2007

Here is the list of some important tables in SharePoint Content DB: Sites: This Table holds information about all the site collections for this content database. Webs: This Table holds information about all the specific sites (webs) in each site collection. UserInfo: This Table holds information about all the users for each site collection. Groups: This Table holds information about all the SharePoint groups in each site collection. Roles: This Table holds information about all the SharePoint roles (permission levels) for each site. AllLists: This Table holds information about lists for each site. GroupMembership: This Table holds information about all the SharePoint group members. AllUserData: This Table holds information about all the list items for each list. AllDocs: This Table holds information about all the documents (and all list items) for each document library and list. AllUserData: This table has all the metadata which user provides in a document library. RoleAssignment: This...

Introduction to Social Networking Web Parts in SharePoint 2007

Colleagues Web Part: This web part helps users to present their colleagues to visitors. The colleagues list is a presentation of other organization members that the specified user works closely with in terms of organizational structure, interaction (that is, e-mail and instant messaging conversations) and memberships. Users can also manually add and remove colleagues. Colleague Tracker Web Part: This web part enables organization members to privately view their list of compiled colleagues and to modify their views and inclusion in their colleagues list. The colleague tracker Web Part enables the presentation of recommended colleagues and enables the user to modify colleague tracking by profile information. For example, users can modify the colleague tracker to present updated colleagues when anniversaries, profile properties, authored documents, and blogs change. Additionally, scoping the presentation can occur when users choose to view colleagues specifically for the user’s workgroup ...

Playing Audio / Video files within SharePoint

Image
To play the Audio/Video files in SharePoint follow these steps: 1. Upload the file into a document library. 2. Add a content Editor Web Part to your site. 3. Add the code in the HTML: Notes: 1. CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" is the class id for Windows Media player. 2. URL will point to the location of the file. Upload this file to document library and put the URL for that file. 3. autoStart specifies value indicating whether the current media item begins playing automatically. 4. uiMode specifies which controls are shown in the user interface. Possible values: invisible, none, mini, full. 5. PlayCount specifies the number of times a media item will play. Minimum value of one.