I am using visual studio to create a custom content type. On the project site, I added the content type to the task list and unchecked all other content types, when I edit the task item I want to open a custom page but not working. I test the content type in the sharepoint site collection not "project server site collection" it is working properly, so I want to know what I missing ?? the content type code as below :
<?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Parent ContentType: Workflow Task (SharePoint 2013) (0x0108003365C4474CAE8C42BCE396314E88E51F) --> <ContentType ID="0x0108003365C4474CAE8C42BCE396314E88E51F000D78E6BAB56647FFAA187FE0FC6566E5" Name="ct_customform" Group="custom group" Description="custom content type" Inherits="TRUE" Version="0"> <FieldRefs></FieldRefs> <XmlDocuments> <XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"> <FormUrls xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms/url"> <Edit>pages/customform.aspx</Edit> </FormUrls> </XmlDocument> </XmlDocuments> </ContentType> </Elements>
I fixed this issue by doing the following:
false
true
1.1k questions
679 answers
459 comments
193k users
Related Activities
Categories
Most popular tags