1

I created a custom content type called "test".

The columns are:

  1. Title
  2. Publisher

The column "Publisher" is already a column which comes from SharePoint itself.

I changed the default value to "afraIT" and published the content type. I also started the process "Content Type Hub" and "Content Type Subscriber".

The content type is available in my library, but the default value (afraIT) is not set.

I can change the description. That is working, but the default value is still empty.

Any ideas?

UPDATE: I found this link: http://sweechingho.blogspot.de/2008/07/sharepoint-site-column-default-value.html

They mention that you have to set the content type as default. Only then, the default value is shown. I tried it and it works.

Is this really the only way Microsoft?

  • Any errors in the Content Type Publishing Log? – Jussi Palo May 17 '16 at 8:33
  • No, but I found this: sweechingho.blogspot.de/2008/07/… and it is working. So if I want to have the default value, the content type has also to be the default content type? Really? – Patrick May 17 '16 at 8:34
  • It's SharePoint, so no doubt someone in the product team has thought it to be a brilliant idea. – Jussi Palo May 17 '16 at 8:42
1

Yes. Either You have to set default content type to shown content type columns while adding new item OR you can select the content type while adding new item from ITEM TAB --> New item --> Select Content Type in Ribbon.

Thanks,

0

As of today (Feb 2017) I'm facing the same behavior for SharePoint Online - can't set the default value for column which is not in default CNT. Possible workarounds: 1. workflow (set value based on content type) 2. JSLink (connected to New/Edit forms) 3. Set default column value based on folder name (the folder per content type is needed)

  • could you be so kind and share th JS with all of us? That would be great! – Patrick Feb 8 '17 at 6:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.