August 2008 - Posts
Following code launches/initiates a workflow. Well I think I dont have to write "Programmatically Lunches" it cz its a code snippet so i guess its understood.... :) //GUID of the wokflow... you can get this from your workflow.xml file const string WF_GUID_STRING
Read More...
Following code snippet adds a Folder type "Custom Content Type" in a Document Library SPListItem myFolder = myDocLib.Items.Add(myDocLib.RootFolder.ServerRelativeUrl.ToString(), SPFileSystemObjectType.Folder, "New Folder"); SPContentType itemtype = myDocLib.ContentTypes["Name
Read More...
I have also worked on IBM FileNet Content Engine’s Events so I used the same technique in MOSS to debug EventReceiver. Yes the same old “Writing in Text File” trick.. public override void ItemAdded(SPItemEventProperties properties) { try { if (properties.ListItem.ContentType.Name
Read More...
I was reading some posts on MOSS workflows and came across a post which gave me a clear decision parameter. As I am new to Windows Workflow Foundation so I was unable to decide which type of workflow should be used for a certain problem. And now I am
Read More...