Archive for the "SharePoint Server 2007" category

 

Customizing Web Parts Outlook with XSL Editor

 
Overview Out-of-the-box web parts in MOSS is very useful in development. However some of their looking might not fit your needs. However, the looking and style of web parts can be customized by editing the XSL(Extensible Stylesheet Language) file. Steps Navigate to the Page containing the Web part you [...]

Continue reading

 
 

Embed SQL DB connection ID & password into BDC Definition File

 
Overview (From MSDN: BDC Overview) Business Data Catalog (BDC) is a new business integration feature in Microsoft Office SharePoint Server 2007, it enables Office SharePoint Server 2007 to surface business data from back-end server applications without any coding. Business Data Catalog provides built-in support for displaying data from databases and Web services. That [...]

Continue reading

 
 

Using Features and Solutions to do Deployment in MOSS / WSS

 
Overview "Feature" is a new concept in MOSS / WSS 3.0, it defines a collection of functionality or site customization in a SharePoint site (For example, adding "Content Type", "Columns" or "Workflow"). Feature can be installed into a specific server machine, and then be activated or deactivated on specific sites. A Feature must [...]

Continue reading

 
 

Working with InfoPath Repeatable Table/Section in MOSS workflows

 
Overview With an InfoPath form as a workflow list item, we can gain access to its data via workflowProperties.Item. However, there is no native support in MOSS workflows for repeating table/sections. So we developers have to write custom helper method to gain this function. Reference Julie’s Office Dev Blog : InfoPath 2007, [...]

Continue reading

 
 

Adding Workflow Task Link in Auto-generated Email

 
Overview Sending Email is a common activity in MOSS workflows. When alerting the task assignee to finish the task, it is quite a normal thought to include the Workflow Task Link in the Email. Below is how to do this. Reference Task URL in workflows.. Code Snippet [...]

Continue reading

 
 

Custom ‘Save’ Button in InfoPath Form to save into MOSS Document Library

 
Overview I always try to hide the Top and Bottom Toolbar (the one showing "Save", "SaveAs", "Close") in my Browser-enabled InfoPath Forms. But how can I let the user to save the Form into a Document Library without showing the toolbar?. The answer is to submit the form to the destination MOSS Document Library. [...]

Continue reading

 
 

How to embed browser-enabled InfoPath Forms into Webpart

 
Overview To have a browser-enabled InfoPath Form is nice, but to have an InfoPath Form embed webpart that can be put at anywhere in your page is even more nicer!!! The following PDF file by Nick Grattan Consultancy Limited will shows you how to used out-of-the-box "XmlFormView" Library as a webpart container of browser-enabled [...]

Continue reading

 
 

Copying Files between Document Libraries in WSS 3.0 Workflow

 
Overview Sometimes you would need to move/copy files to different Document Libraries during a workflow process, but when using ‘File.CopyTo’ or ‘File.MoveTo’ method there may be build errors. If this is the case, then you can use the following snippet (Copied from ‘cwogle’ ) to manually ‘copy’ a file to the destination Document Library. [...]

Continue reading

 
 

Update Workflow Task properties with ‘UpdateTask Activity’

 
吹水 OK~ 之前幾個post打左咁多英文, 都係時候講下廣東話啦… :p 話說我今個星期接到單非常好玩既job, 就係無人做過既 WSS/MOSS Workflow 啦~ 個期仲要鬼咁急, 不過只係做demo啫~ 由於我係用 Sequential Workflow + Looping  + Create / Update / Delete Tasks, 所以出現好多問題, 最後我用左個折衷方法就係只用一個task, 靠update佢既 "Title" 同 "AssignedTo" properties 黎 "扮" 不同既 tasks. 不過最後我發覺原來要 update 一個 task 既 properties 係幾煩既…. Reference Task reassignments [...]

Continue reading

 
 

Accessing Data from Workflow Association and Initiation Forms in Windows SharePoint Services 3.0

 
Reference  Accessing Data from Workflow Association and Initiation Forms in Windows SharePoint Services 3.0 Overview It is often that a Workflow template would need some initial parameters when it is first associated to a document library or started by an event. In SharePoint Products, it is supported by adding Association and [...]

Continue reading