1

Let's say I have a Library A, and this library has B and C as content types. B and C have their own custom forms.

So When a Library has more than one content type in the (default) form of the default CT you will see a dropdown where you can choose what CT you are using for that specific document.

How can I get that dropdown if I'm using custom forms?

2
  • If "A" is a Document Library, have You (in Advanced Settings for the library) activated "Allow management of content types"?
    – Magnus G
    Commented Aug 5, 2015 at 7:49
  • Yes I have it activated... The thing is I'm using custom forms... What is the internal name for that dropdown? So I can call it throught my form
    – yngrdyn
    Commented Aug 5, 2015 at 13:19

1 Answer 1

0

After some research time I found the way to show that little dropdown :) You have to include in your custom form this:

<SharePoint:ChangeContentType runat="server" id="ContentType_" ControlMode="Edit"/>

In order to be able to select the content type you want for your item

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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