locked
Content Type Question RRS feed

  • Question

  • Hi,

    I have a general Content Type question.

    I have a custom list with 10 fields. I know I can have one content type that contains all these fields but I was wondering if there is any way to have two content types associated with these fields: five with one content type and five with the other. I want to have one user update the five fields and another user the remaining five. I just don't want all the fields to show up on one entry form.

    Is that possible? I don't think it is, but I would appreciate any direction if I'm wrong.

    Thanks much

    Costas

    Tuesday, May 8, 2012 1:06 PM

Answers

  • Hi Costas ,

    When using twoo content types you cannot bind one item to two content types .You can use a content type with two edit forms with different fields on each form .

    1. Open the list in SharePoint Designer .Create a Edit Item form for the list .Set this edit item form as default form for the selected type .
    2. Open the form and delete the columns which you don't want to show in the first edit form .
    3. Create another edit item form to hold the other five fields .
    4. Then create a custom action callled Edit 2 .
    5. Choose the action as Navigate to form .Type in the URL to the second edit item form created in step 3 (You can also choose to Create link in List Item Menu and Ribbon when create the edit item for instead of creating custom actions) .

    In this way ,the item can be edited in two different edititem forms .Each edit form will only hold five fields .

    Thanks

    Entan Ming

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contacttnmff@microsoft.com.


    Entan Ming

    TechNet Community Support


    Thursday, May 10, 2012 1:40 AM
    Moderator

All replies

  • Hi Costas,

    That should be doable. From the advanced settings of the list, enable management of content types. Then back to Settings page of the list, you'll see both of your content types listed above the fields/columns you've added. Click on each of the content types and it should allow you to choose certain fields/columns to be associated with the selected content types. Now, if you check the new/edit form, you'll only see fields/columns that you've associated with the selected content types.


    Pman
    http://www.pmansLab.com/

    Tuesday, May 8, 2012 5:00 PM
  • Hi,

    This is possible but some fields like Title will be common in both of them.

    Create two content types and in list under advanced settings enable management of content types and add your content types accordingly.

    I hope this will help you out.


    Thanks, Rahul Rashu

    Wednesday, May 9, 2012 3:19 AM
  • Thanks for the responses...

    I guess that's where the problem is.. since the Title will be unique in each content type, each one will create a different row/record in the list...  I was hoping some how to be able to edit one record with two content types but different fields....

    Any thoughts?

    Thanks

    Wednesday, May 9, 2012 8:45 PM
  • Hi Costas ,

    When using twoo content types you cannot bind one item to two content types .You can use a content type with two edit forms with different fields on each form .

    1. Open the list in SharePoint Designer .Create a Edit Item form for the list .Set this edit item form as default form for the selected type .
    2. Open the form and delete the columns which you don't want to show in the first edit form .
    3. Create another edit item form to hold the other five fields .
    4. Then create a custom action callled Edit 2 .
    5. Choose the action as Navigate to form .Type in the URL to the second edit item form created in step 3 (You can also choose to Create link in List Item Menu and Ribbon when create the edit item for instead of creating custom actions) .

    In this way ,the item can be edited in two different edititem forms .Each edit form will only hold five fields .

    Thanks

    Entan Ming

    TechNet Subscriber Support in forum

    If you have any feedback on our support, please contacttnmff@microsoft.com.


    Entan Ming

    TechNet Community Support


    Thursday, May 10, 2012 1:40 AM
    Moderator