1

I have three content types attached to a custom list. I would like to display them as a drop-down when clicking on "New Item" similar to what you see when using a Document Library with multiple content types. Does anyone have some sample code that does this? See Screenshot. enter image description here

Thanks, Bismarck

0

You can gain this functionality in the menu ribbon under the 'New Item' option there without code by ensuring that your content types are enabled to be "Visible on New Button" in the Content Type section of your list settings (see screenshots). Does this meet your needs?

Example of Content Type options in New Item option in the menu ribbon

Example of Content Type settings for making them visible in the option above

Cheers,

-Drew

  • Not exactly meets my needs. Users will click on "New Item" which will use the "default content type", However, I have three content types and they would like the "New Item" to act as a drop-down so they can choose the correct content type (without using the Ribbon) – Bismarck Sep 7 '18 at 18:16

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.