Nishand's Blog

Welcome to my personal blog, All the information in this bogs is my ideas,findings and thoughts on .Net, Asp.Net and SharePoint. ALL POSTING ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND

August, 2008

Posts
  • Nishand's Blog

    How to implement custom User Profile handler?

    • 2 Comments
    1: namespace MyNewProfileHandler 2: { 3: public class MyUserProfileHandler : MySiteProfileHandler 4: { 5: public override void SetMySiteOwner(Microsoft.Office.Server.ServerContext context, UserProfile profile, string newOwner) 6: { 7: base .SetMySiteOwner...
  • Nishand's Blog

    How to add, remove and start workflow programmatically?

    • 3 Comments
    Removing Association 1: SPSite site = new SPSite( "http://localhost" ); 2: SPWeb web = site.OpenWeb(); 3: SPList list = web.Lists[ "Shared Documents" ]; 4: SPWorkflowAssociation _association = null ; 5: foreach (SPWorkflowAssociation association in list...
  • Nishand's Blog

    How to change the Workflow History list programmatically?

    • 2 Comments
    1: SPSite spSite = new SPSite( "http://localhost" ); 2: SPWeb spWeb = spSite.OpenWeb(); 3: SPList spList = spWeb.Lists[ "Shared Documents" ]; 4: SPList workflowlist = spWeb.Lists[ "NewHistoryLibary" ]; 5: SPWorkflowAssociation association = spList.WorkflowAssociations...
Page 1 of 1 (3 items)