Tags » SharePoint

Web Design and SharePoint coming up soon.

Hi Share your requirements for web pages and SharePoint issues here, we will soon be providing solutions so get connected with us.


SharePoint - Programatically Starting a Workflow

Here is a code snippet I recently developed for starting a sharepoint workflow from code behind.

public void StartWorkFlow(string strListName, int intCurrentItemID, string strWorkflowName)
        using (SPSite objSite = new SPSite(SPContext.Current.Site.Url))
            using (SPWeb objWeb = objSite.OpenWeb())
                objWeb.AllowUnsafeUpdates = true;
                //get list
                SPList list = objWeb.Lists;
                //get list item
                SPListItem lstItem = list.GetItemById(intCurrentItemID);
                //obtain an instance of SPWorkflowManager which will be used to start the workflow
                SPWorkflowManager manager = objSite.WorkflowManager;
                //get all workflows associated with the list
                SPWorkflowAssociationCollection associationCol = list.WorkflowAssociations;
                //iterate through all the workflow and lookup for the workflow to be started
                foreach (SPWorkflowAssociation association in associationCol)
                    if (association.Name == strWorkflowName)
                        //get workflow association data
                        string associationData = association.AssociationData;
                        //start the workflow
                        manager.StartWorkflow(lstItem, association, associationData);                                
                objWeb.AllowUnsafeUpdates = false;

Evento: DotNetToscana - Creare App per Office 365 e SharePoint 2013 con ASP.NET MVC 5

La community DotNetToscana ha organizzato questo ottimo evento, in cui verrà illustrato il nuovo “App-Model” introdotto dalla nuova versione di Office 365 e da SharePoint 2013… 97 more words


Configure Trusted Certification Between SharePoint 2013 Farm

1. Exporting and copying certificates consuming farm using PowerShell

1.1 To export the root certificate from the consuming farm

$rootCert = (Get-SPCertificateAuthority).RootCertificate

$rootCert.Export(“Cert”) | Set-Content <C:\ConsumingFarmRoot.cer> -Encoding byte…

360 more words

Resources for Learning SharePoint

So what exactly is SharePoint? Maybe you’ve heard about it at work or seen it in a job listing. For starters, it’s a business product from… 389 more words