Archive for May, 2008

 

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

 
 

Banksy – 英國街頭藝術家

 
Banksy 是一個英國的"塗鴉"藝術家, 他反戰, 反權威, 崇尚人權, 愛好和平… 不過目無法紀(隨處塗鴉可是犯法的東西, 大家不要亂學. 欣賞塗鴉則沒問題 ). 不單英國街頭會出現他的"墨寶", 連以色列, 法國 甚至倫敦國家藝術館裡 (他自己偷偷放入) 也能看到他的作品. 他其中最為人津津樂道的系列是數幅塗在 "以巴圍牆" 上的作品 (註: 2), 目的都是宣示反對以色列建圍牆及反戰的意想. 至於對他人指他 "破壞" 圍牆的指責, 他則認為 "How illegal is it to vandalize a wall, if the wall itself has been deemed unlawful by the International Court of Justice?" 本來都是在做著不見得光的勾當 (畫的時候不見得光), 想不到竟有人想出高價買他的 "塗鴉". [...]

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

 
 

Development/Deployment Steps of Workflow in MOSS 2007 and WSS 3.0

 
Overview Both MOSS 2007 & WSS 3.0 supports workflow features. However, the steps in developing and deploying workflow in them are quite different. This is because two different types of Visual Studio Project templates are provided for MOSS 2007 and WSS 3.0 separately. According to my experience, MOSS 2007 can use both types [...]

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