SharePoint 2013 – Get TemplateID for starting a workflow from the ribbon in SharePoint 2013 workflow

Background To start a workflow from a SharePoint ribbon a URL needs to be build up in the following format: The problem: The problem however is how do we get the TemplateID all the other bits of the URL can be resolved with variables that are filled in dynamically but the Template ID is a … Continue reading SharePoint 2013 – Get TemplateID for starting a workflow from the ribbon in SharePoint 2013 workflow

Advertisements

SharePoint 2013 – Workflow Manager 1.0 – How to publish a list workflow programmatically

So I had a reusable SharePoint Designer workflow deployed in SharePoint 2013. The process that I'm implementing is creating project sites using web templates created in Visual Studio 2013. When a list item is created my web template created a document library and also activates a feature to enable my reusable workflow. First I created … Continue reading SharePoint 2013 – Workflow Manager 1.0 – How to publish a list workflow programmatically

Content types in SharePoint

Content types in SharePoint can be extended by creating a new feature which deploys an element file with the following content: <Elements xmlns="http://schemas.microsoft.com/sharepoint/">     <ContentType ID="GUID"         Name="Text"         Group="Text"         Version="0">         <FieldRefs>             <FieldRef ID="GUID" Name="Text"/>         </FieldRefs>     </ContentType> </Elements> The content type Id includes the GUID of the Parent content type. … Continue reading Content types in SharePoint