I am facing this strange behaviour on my SharePoint Farm 2013 On-Premises. Below are the steps I followed:
I create a new Site Content type which have the Issue content type as its the parent.
Now based on the customer requirements, the Item titles had to be system generated.
So I set a default value for the Title Site Column where I entered
', and I wrote an event receiver which will set the item title. and I left the Title Site Column as required.
Then in my custom content type i set the Title as hidden.
And then, in a sub-site I created a new custom list >> I set its content type as my new custom content type, and I remove the "item" content type from the list.
I did a test , where i added a new item >> the title was hidden from the create form, and the event receiver set the item title value. and everything was working well.
So at that stage I have the following settings:-
The Title site column at the site level, has the following properties:-
- Required (this is default).
- I set a default value for it =
'. so the ER will update the Title based on certain criteria.
Now I save the Site as Template, then I created a new site based on the template. But on the new site I have noted that the Title will be shown inside the Create form and also the "Editor comments" field, although I set it a hidden inside the content type.
So can anyone please share an advice on this ? Why the Title Settings are not being preserved inside the Site Template ???
Now I know that I can go to the Site Content Type and set the Title to be hidden again and have the result on all the underlying sites, but I need this to be preserved inside the Site Template.