Archive

Archive for the ‘SharePoint’ Category

Display PDF File in SharePoint Page

March 9th, 2009 meher Comments off

By using “Content Editor Web part” we can display PDF File in
SharePoint site.

  1. Add a “Content Editor Web part” to your SharePoint page.
  2. Click on the “Open the Tool Pane”, click on “Source Editor” to place the HTML source.
  3. Place the following piece of code in to the Source Editor and click ok
    <embed height=”500px” width=”500px”
    src=”http://siteurl/test.pdf” type=”application/pdf”>
Categories: SharePoint Tags:

Differences between WSS and MOSS

February 5th, 2009 meher Comments off

While WSS and MOSS are both pieces of software built by the Microsoft Office team.

Windows SharePoint Services 3.0

  • WSS is included as a part of the Windows Server 2003 operating system
  • WSS as the underlying platform
  • WSS does not have its own licensing model. Instead, the use of WSS is controlled through Windows Server 2003 licenses.
  • It has the core document management and collaboration platform features With WSS, the average information user can build web-based business applications without numerous technical resources.

MS Office SharePoint Server 2007

  • MOSS is a separate product with its own SKU
  • MOSS is a value-added set of components and services that has been built on top of this WSS.
  • MOSS has its own licensing model that includes server-side licenses and client access licenses (CALs). The MOSS licensing model is further broken out into a Standard Edition and an Enterprise Edition.
  • MOSS 2007, is the nexus of the Microsoft Office system It delivers the robust, enterprise-targeted features of SharePoint Products and Technologies, which accelerate business processes across the intranet, extranet, and Internet.
Categories: SharePoint Tags:

Ghosting and Unghosting

February 4th, 2009 meher Comments off

Ghosting means process of requesting  an uncustomized page instance by using a page template loaded into memory from the file system of the front-end Web server. These Ghosted pages are pulled from the cache at runtime and therefore it will increase the scalability from the system.

All uncustomized pages are reused across all the sites and there is no unnecessary data storage or retrieval.

Ghosting eliminates the need to transfer the contents of a page definition file from the SQL Server computer with the content database to the front-end Web server computer

For example, the default home page is a ghosted page. Any web part pages created via New Web Part Page user interface also ghosted.

Unghosting means that the site has been customized. When you customize a site in SharePoint Designer, or you add custom fields to a Document Library, or create sites using that template; then the changes that you made are stored in the database as a difference and that is referred to as Unghosted.

A request for a Customized (Un-Ghosted) page returns a response which is a combination of data from both the file system and the database.

All Unghosted sites are based on a Site Definition.

Categories: Others, SharePoint Tags:

How to use STSADM Commands

January 29th, 2009 meher Comments off

Using  STSADM :

Microsoft Office SharePoint Server 2007 includes the Stsadm tool for command-line administration of Office SharePoint Server 2007 servers and sites.

  1. We can use Stsadm from the command line or with batch files or scripts.
  2. To use Stsadm commands, user must be a member of the local Administrators group on the Server.
  3. Stsadm commands must be run on the server itself.
  4. Invoking stsadm commands is by supplying operation and set of command line parameter from the command prompt.
    Please follow the steps below to invoke stsadm commands in the SharePoint server.

    1. Open Dos command prompt.
    2. Browse to the directory that you can access stsadm.exe. The default location in version 3.0 is
      C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin
    3. Type the stsadm commands, When you invoke Stsadm, you supply an operation and a set of command-line parameters in the form:

      stsadm.exe -o <operation>
      e.g., stsadm.exe –o addsolution -filename E:\test.wsp

      Stsadm Help: stsadm.exe –help <operation>
      e.g., stsadm.exe –help backup

    cmd

Categories: SharePoint Tags:

How to create RSS Feeds as Ticker in SharePoint 2007

January 19th, 2009 meher Comments off

Using RSS or XML web part in Moss 2007 we can create News ticker.

Steps to create News Ticker.

  1. Add a new RSS or XML web part to page.
  2. Copy the below code in XSL editor
    <xsl:stylesheet xmlns:x=”http://www.w3.org/2001/XMLSchema”
    version=”1.0″ exclude-result-prefixes=”xsl ddwrt msxsl rssaggwrt”
    xmlns:ddwrt=”http://schemas.microsoft.com/WebParts/v2/DataView/runtime”
    xmlns:rssaggwrt=”http://schemas.microsoft.com/WebParts/v3/rssagg/runtime”
    xmlns:xsl=”http://www.w3.org/1999/XSL/Transform” xmlns:msxsl=”urn:schemas-microsoft-com:xslt”
    xmlns:rssFeed=”urn:schemas-microsoft-com:sharepoint:RSSAggregatorWebPart”
    xmlns:rdf=”http://www.w3.org/1999/02/22-rdf-syntax-ns#” xmlns:dc=”http://purl.org/dc/elements/1.1/”
    xmlns:rss1=”http://purl.org/rss/1.0/” xmlns:atom=”http://www.w3.org/2005/Atom”
    xmlns:itunes=”http://www.itunes.com/dtds/podcast-1.0.dtd”
    xmlns:atom2=”http://purl.org/atom/ns#”>
    <xsl:output method=”html” indent=”no”/>
    <xsl:template match=”/” xmlns:x=”http://www.w3.org/2001/XMLSchema” xmlns:d=”http://schemas.microsoft.com/sharepoint/dsp”>
    <xsl:call-template name=”ticker”/>
    </xsl:template>
    <xsl:template name=”ticker”>
    <xsl:variable name=”StyleName”>Table</xsl:variable>
    <xsl:variable name=”Rows” select=”/rss/channel/item”/>
    <xsl:variable name=”RowCount” select=”count($Rows)”/>
    <xsl:variable name=”IsEmpty” select=”$RowCount = 0″/>
    <xsl:choose>
    <xsl:when test=”$IsEmpty”>
    <xsl:call-template name=”empty”/>
    </xsl:when>
    <xsl:otherwise>
    <table border=”0″ width=”100%” cellpadding=”2″ cellspacing=”0″>
    <tr>
    <td width=”75px”
    style=”font-family:Tahoma;font-size:11px;color:#333″><strong>Head Lines:
    </strong>
    </td>
    <td>
    <marquee direction=”left” scrollamount=”3″ >
    <xsl:call-template name=”tickerBody”>
    <xsl:with-param name=”Rows” select=”$Rows”/>
    <xsl:with-param name=”FirstRow” select=”1″/>
    <xsl:with-param name=”LastRow” select=”$RowCount”/>
    </xsl:call-template>
    </marquee>
    </td>
    </tr>
    </table>
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    <xsl:template name=”tickerBody”>
    <xsl:param name=”Rows”/>
    <xsl:param name=”FirstRow”/>
    <xsl:param name=”LastRow”/>
    <xsl:variable name=”GroupStyle” select=”‘auto’”/>
    <xsl:for-each select=”$Rows”>
    <!– insert your own preferred image here –>
    <img src=”_layouts/images/navlink.gif” mce_src=”_layouts/images/navlink.gif”
    border=”0″/>
    <img src=”_layouts/images/blank.gif” mce_src=”_layouts/images/blank.gif”
    height=”1″ width=”6″ alt=”Icon” border=”0″/>
    <a style=”display:{$GroupStyle}” target=”_blank”>
    <xsl:attribute name=”href”>
    <xsl:value-of select=”link”/>
    </xsl:attribute>
    <xsl:value-of select=”title”/>
    </a>
    <img src=”_layouts/images/blank.gif” mce_src=”_layouts/images/blank.gif”
    height=”1″ width=”20″ alt=”Icon” border=”0″/>
    <!– add this line below for up marquee <br/> –>
    </xsl:for-each>
    </xsl:template>
    <xsl:template name=”empty”>
    <xsl:variable name=”ViewEmptyText”>There are no current announcements.</xsl:variable>
    <table border=”0″ width=”100%”>
    <tr>
    <td >
    <xsl:value-of select=”$ViewEmptyText”/>
    </td>
    </tr>
    </table>
    </xsl:template>
    </xsl:stylesheet>
  3. Copy your RSS link in “RSS FEED URL” text box
    Ex:
    http://www.ibeesolutions.com/Templates/feed.aspx

    and click ok
Categories: SharePoint Tags: