Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

No workflow being created on library from custom template

$
0
0

Hi,

I've created site columns and added them to a custom Content Type.

I've then associated a reusable workflow against this content type and then setup a document library using the newly created content type and saved it as a template.

Finally I've written C# logic to create a document library from this template and the library gets created as expected along with the correct content type, however there is no workflow being associated to the content type.

Why would this be the case?

Note: If document library is created using SharePoint UI then the workflow is associated and shown under the content type.

Thanks


Viewing all articles
Browse latest Browse all 7589

Trending Articles