Just another WordPress.com weblog

Archive for January, 2011

Web Parts specific to WSS and MOSS 2007

Web Parts in common with WSSv3
Content Editor Web Part Use for formatted text, tables, and images.
Form Web Part Use to connect simple form controls to other Web Parts.
Image Web Part Use to display pictures and photos.
Members Use the Members Web Part to see a list of the site members and their online status.
Page Viewer Web Part Use to display linked content, such as files, folders, or Web pages. The linked content is isolated from other content on the Web Part Page.
Relevant Documents Use this webpart to display documents that are relevant to the current user.
User Tasks Use this webpart to display tasks that are assigned to the current user.
XML Web Part Use for XML, and XSL Transformation of the XML.
List View Web Part A list view web part is provided for every list created in a site (a list template may include more than one view). The list view renderes the CAML markup defined in the view.
Data View Web Part This web part is configured with SharePoint Designer. It can use a wide range of data sources including XML files, web services, SQL and Oracle databases and SharePoint list/library content. The rendering is XSLT driven with SharePoint Designer providing a drag-and-drop interface to generate the XSL.
Web Parts specific to MOSS 2007
Business Data (Enterprise CAL)
Business Data Actions Display a list of actions from the Business Data Catalog.
Business Data Item Display one item from a data source in the Business Data Catalog.
Business Data Item Builder Creates a Business Data item from parameters in the query string and provides it to other web parts. This web part is only used on Business Data profile pages.
Business Data List Display a list of items from a data source in the Business Data Catalog.
Business Data Related List Display a list of items related to one or more parent items from a data source in the Business Data Catalog.
Content Rollup (Standard CAL)
Colleague Tracker Displays your list of colleagues and any recent changes they made have had.
Memberships Displays your site and distribution list memberships.
My Links Use to display your links
My SharePoint Sites Use to display documents authored by you on sites where you are a member and sites of your choice.
My Workspaces Displays sites created under your My Site.
Site Aggregator Use to display sites of your choice.
Table of Contents You use the Table of Contents Web Part to automatically generate a site map that point to various parts of your Office SharePoint Server 2007 site collection. You can specify which part of your site collection the Web Part should generate links to, how the links are presented, and how the links are organized.
Dashboard (Enterprise CAL)
Key Performance Indicators Shows a list of status indicators. Status indicators display important measures for your organization, and show how your organization is performing with respect to your goals.
KPI Details Displays the details of a single status indicator. Status indicators display an important measure for an organization and may be obtained from other data sources including SharePoint lists, Excel workbooks, and SQL Server 2005 Analysis Services KPIs.
Other
Excel Web Access Use the Excel Web Access to interact with an Excel 2007 workbook as a Web page. (Enterprise Feature)
I need to… Displays tasks and tools from a list
IView Web Part Displays iViews from SAP portal servers. (Enterprise Feature)
RSS Viewer Renders RSS Feed
This Week in Pictures Use to display the images library in the News web
WSRP Consumer Web Part Displays portlets from web sites using WSRP 1.1. (Enterprise Feature)
Filters
Authored List Filter Filter the contents of web parts using a list of values entered by the page author.
Business Data Catalog Filter Filter the contents of web parts using a list of values from the Business Data Catalog.
Current User Filter Filter the contents of web parts by using properties of the current page.
Date Filter Filter the contents of web parts by allowing users to enter or pick a date.
Filter Actions Filter Actions
Page Field Filter Filter the contents of web parts using information about the current page.
Query String (URL) Filter Filter the contents of web parts using values passed via the query string.
SharePoint List Filter Filter the contents of web parts by using a list of values from a Office SharePoint Server list.
SQL Server 2005 Analysis Services Filter Filter the contents of web parts using a list of values from SQL Server 2005 Analysis Services cubes.
Text Filter Filter the contents of web parts by allowing users to enter a text value.
Misc
Contact Details Use to display details about a contact for this page or site
Outlook Web Access
My Calendar Use to display your calendar. This part works with Microsoft Exchange Server 2003 and above.
My Contacts Displays your contacts using Outlook Web Access for Microsoft Exchange Server 2007.
My Inbox Displays your inbox using Outlook Web Access for Microsoft Exchange Server 2003 or later.
My Mail Folder Displays your calendar using Outlook Web Access for Microsoft Exchange Server 2000 or later.
My Tasks Displays your tasks using Outlook Web Access  for Microsoft Exchange Server 2003 or later.
Search
Advanced Search Box Entry point for advanced search
People Search Box Entry point for people search
People Search Core Results Web part to display the people search results.
Search Box Entry point for search.
Search Core Results Web part to display the search results.
Search High Confidence Results Web part to display the special term and high confidence results.
Search Paging Displays search paging.
Search Statistics Displays search statistics.
Search Summary Displays search summary.
Site Directory
Categories Displays categories from the Site Directory
Sites in Category Displays sites in the Site Directory
Top Sites Display the top sites from Site Directory
Publishing
Content Query Displays items from any site in current site collection based on site, list, column criteria

 

WSS Vs MOSS

Windows SharePoint Service(WSS)

WSS is a collaboration platform, primary used for sharing and managing information and documents via a web site

WSS comes as a free download if you have Windows Server 2003 or 2008

WSS 3.0 offers all the standard site templates to build team sites, document workspaces, blank sites, blogs, wikis, and meeting workspaces

The following are the most essential features:

  1. Site provisioning – WSS acts as a site provisioning engine that simplifies the process of creating new web sites. These sites can be provisioned via site templates or site definitions.
  2. Document management – WSS provides support for document checkout before editing, the ability to view revisions to documents and restore to previous versions. Figure 1 shows sample document library.
  3. Web Parts Infrastructure – web parts are special controls which can be added to certain areas of a web page (Web Part Zones). These controls enable end users to modify the content, appearance, and behavior of Web pages directly from a browser.
  4. Integration with Word, Excel, Access, Outlook –  users can directly open a document from the server, without the need to download it first.
  5. Wikis, Blogs – wikis are supported as a site template, which allows you to create new pages quickly and easily, provides automatic linking and WYSIWYG editor. Blogs are supported as a site template as well, which provides features for article posting, reader comments and RSS feeds.
  6. Email integration – document libraries, discussion boards, calendars, and announcements can be configured to send emails upon new postings.Limited search support – WSS is is limited to showing results from the site and all of its subsites.
  7. Basic workflows support – you can create workflows, but you will need external tools like Visual Studio to do so. WSS is just a container that executes your workflow.
  8. Mobile devices support – the information is rendered using simplified text format.
  9. Server Farm – if you need high scalability, you can install WSS in a server farm mode which means that several machines will run the stateless presentation layer and all of them will be connected to the same SQL Server database.

Microsoft Office SharePoint Server 2007 (MOSS)

(MOSS) is a separately purchased product that offers richer features for business(Standard & Enterprise etc…)

  1. My Site personal site – each user has a site where the user can control the public and private content. It provides other users with the ability to learn about the user and the user’s areas of expertise, current projects, and colleague relationships. ‘My site’ acts as a central location  to view and manage all of a user’s documents, tasks, links, calendar, etc.
  2. Extended workflow support – some existing workflow templates come with MOSS. If you want, you can create your own with tools like SharePoint Designer or Visual Studio.
  3. Site Directory – MOSS automatically creates a site map and presents it in an easy-to-use format.
  4. Business intelligence – MOSS provides support for business intelligence dashboards, Key Performance Indicators (KPI), Business Data Catalog (BDC), etc. BDC integrates external data into MOSS.
  5. Search – MOSS overcomes the limitation of WSS to search only within the current site and its subsites. You may search over file shares, web sites, etc.
  6. Enterprise Content Management – approval workflow allows web content to be sent for approval prior to publishing. Content deployment to production sites can be scheduled by setting up jobs.
  7. Audience targeting – the content inside lists, libraries, web parts, etc can be targeted to appear only to users who are members of a particular group or audience. The audiences can be identified via SharePoint groups, Distribution lists and Security groups.
  8. InfoPath Forms – allows you to design forms in Microsoft Office InfoPath and distribute them via MOSS. Users will fill the form in the web browser without downloading the form.
  9. Excel Services – allows you to publish excel files so the user can view them in web page without the need of Microsoft Office Excel installed on his machine. You can control what part of the excel file to be visible and which part can be editable.

The MOSS is distributed in several editions:

1. Office SharePoint Server 2007 for Search, Office SharePoint Server 2007 Standard and Office SharePoint Server 2007 Enterprise

 

To view all running applications in my local computer

  1. Goto Start > Run > cmd
  2. Type C:\WINDOWS\system32>iisapp.vbs
  3. You well get the result as follows…
    W3WP.exe PID: 7048   AppPoolId: abc- 2336
    W3WP.exe PID: 6104   AppPoolId: SharePoint App
  4. Advantage: While debugging  the Sharepoint Application(webpart, workflow, …) in Visual Studio, to select the current web application to attached process

Deploy/Retract the SharePoint Solution Package(.WSP File) in SharePoint

1.Open the run>cmd prompt, and start type the below code

Deploy Solution

@echo off
ECHO Press any key to start automated of your webpart
PAUSE

SET SPAdminTool=%CommonProgramFiles%\Microsoft Shared\web server extensions\12\BIN\stsadm.exe

echo Adding solution….
“%SPAdminTool%” -o addsolution -filename “CustomMenu.wsp”

PAUSE

echo Deploying solution….
“%SPAdminTool%” -o deploysolution -name “CustomMenu.wsp” -immediate -allowGacDeployment -url http://server2/ -force

PAUSE

echo Activate the feature
“%SPAdminTool%” -o activatefeature -name CustomMenu\feature.xml -url http://server2

Retract Solution

echo  Deactivating  Solution….
“%SPAdminTool%” -o deactivatefeature  -name CustomMenu -url http://server2

echo  Retracting  Solution….
“%SPAdminTool%” -o retractsolution -name CustomMenu.wsp -url http://server2

echo Delete Solution…
“%SPAdminTool%” -o deletesolution -name CustomMenu.wsp

Add custom menu under Site Actions in SharePoint

Using Features makes it easy to add actions to menus and the Server ribbon in . The following examples show how to add actions to various menus through a Feature. Each example uses the same project created in SharePoint development tools in Microsoft Visual Studio 2008.
Create the SharePoint Project

1.Start SharePoint development tools in Visual Studio 2008.
2.On the File menu, point to New, and then click Project.
3.In Project Types, under Visual Basic or C#, select WSPBuilderProject.
4.Type CustomMenu as the project name. Click OK.
5.Right click on the CustomMenu project in the Solution Explorer and choose Add then New Item.
6.In the Add New Item dialog, choose the Blank Feature template. Enter CustomActionFeature as the Name.
7.Then select the scope as site
8.Open the Elements.xml file.Copy the below code
<CustomAction
Id=”myCustomAction”
GroupId=”SiteActions”
Location=”Microsoft.SharePoint.StandardMenu”
Sequence=”1000″
Title=”Open Custom Page”
Description=”Open my custom page”
ImageUrl=”_layouts/CustomMenu/Images/myimage.PNG”>
<UrlAction Url=”~site/_layouts/CustomPage.aspx”/>
</CustomAction>

For more Default Custom Action Locations and IDs refer below url

http://msdn.microsoft.com/en-us/library/bb802730.aspx

9.Save it.
10.Build the project.
11.Right click on the CustomMenu project in the Solution Explorer and choose WSPBuilder>BuildWSP
12.Finally deploy the WSP file
13.You will get the new menu called “Open Custom Page” under the site actions

List of Master Pages in SharePoint

Following list of master pages are available in MOSS 2007

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\ADMIN

  • admin.master
  • popup.master

Global branding for all site and system pages requires developing custom versions of the following pages, the original copies of which are found in \Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\GLOBAL:

  • Default.master
  • MWSDefault.master

Global branding for the LAYOUTS pages requires developing custom versions of all 4 OOTB LAYOUTS master pages:

  • Application.master
  • Simple.master
  • Dialog.master
  • Pickerdialog.master

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\MySiteStaplee

  • minimal.master