Monthly Archive for August, 2008

Sharepoint Workflow Toolbox

SharePoint Workflow Activities in the Toolbox

When you create a new SharePoint Sequential Workflow or SharePoint State Machine Workflow project, no SharePoint Workflow activities appear in the Toolbox.

You need to add these activities manually in the Beta 1 release of Visual Studio Code Name Orcas Tools for the Microsoft Office System. Use the following instructions to do this:

1. Add a tab to the Toolbox. You can name this tab whatever you want. For the purpose of this example, name the tab SharePoint Workflow.

2. Right-click the SharePoint Workflow tab, and then click Choose Items.

3. In the Choose Toolbox Items dialog box, click the .NET Framework Components tab.

4. In the Filter box, type Microsoft.SharePoint.WorkflowActions.

5. Select all the components that are in the Microsoft.SharePoint.WorkflowActions namespace, and then click OK.

SharePoint workflow activities are added to the SharePoint Workflow tab of the Toolbox.

Check your availability report on IIS Server

Below are the information that you can get from IIS Server to see your server availability. Health of the IIS Server depends upon the health of the websites. Health of the Website depends upon attributes that are mentioned below:

  • Bytes Transferred : Bytes Sent Per Second, Bytes Received per Second, Bytes Total Per Second

  • Files Transferred: Files Sent Per sec, Files Received Per sec, Files Transferred Per Sec

  • Connection Statistics: Current Connections

  • Anonymous Users: Current Annonymous Users, Anonymous Users per Second

  • Non Anonymous Users: Current NonAnonymous Users, Non Anonymous Users per Second

  • so from now use your log parser tool to see how health your server

    (^_^) v

    How to: Insert Multimedia Files into WSS

    This morning marketing department inform me to inform all employees through INTRANET Portal about some competition inside frisian flag. They want to display information in flash format and video in Windows Media format inside sharepoint.

    below is the step to display *.flv into sharepoint

    Best way that I know of is clicking Site Settings, Edit Page.
    Then, click Add Web Part, and add a Content Editor Web Part
    In there, click Edit,  Modify Shared Web Part, and then click the “Source Editor” button.
    In there put your HTML code that would normally embed the SWF file in a normal webpage. Example being…

       1: <OBJECT classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″
       2:  codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0″ 
       3: WIDTH=“180″ HEIGHT=“180″ id=“logo” ALIGN=“”> 
       4: <PARAM NAME=movie VALUE=“http://yourdomain.com/SiteCollectionDocuments/swf/whoa_logo.swf”> <PARAM NAME=quality VALUE=best> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src=“http://yourdomain.com/SiteCollectionDocuments/swf/whoa_logo.swf” 
       5: quality=best wmode=opaque bgcolor=#FFFFFF  WIDTH=“180″ HEIGHT=“180″ NAME=“logo” ALIGN=“” TYPE=“application/x-shockwave-flash” PLUGINSPAGE=“http://www.macromedia.com/go/getflashplayer”></EMBED></OBJECT>

    now the step to display *.wmv into sharepoint

    1. upload video file you would like to play on your web into a document library on your Sharepoint server. Remember its URL for later use
    2. add Content Editor web part on the web page where you want to play video
    3. click Modify web part and then Source editor
    4. paste there this code

       1: <OBJECT id=“VIDEO” width=“320″ height=“240″ 
       2:       style=“position:relative; left:0;top:0;”
       3:       CLASSID=“CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6″
       4:       type=“application/x-oleobject”>
       5:       <PARAM NAME=“URL” VALUE=“/DocumentLibrary/video.mpg”>
       6:       <PARAM NAME=“SendPlayStateChangeEvents” VALUE=“True”>
       7:       <PARAM NAME=“AutoStart” VALUE=“True”>
       8:       <PARAM name=“PlayCount” value=“1″>
       9:       <PARAM name=“uimode” value=“mini”>
      10:       <PARAM name=“enableContextMenu” value=“true”>
      11: </OBJECT>

    5. edit parameter URL by specifying your library and video file names (URL from step 1). You could specify full URL like http://DocumentLibrary/video.mpg
    6. Save it
    7. That’s it