Assign new default forms to list causes other content types forms to fail.

I have a list with multiple content types and I want to modify the forms.   I've created new forms but when I assign them as default and go back to the new item menu, no matter which item I select I get the new default form.  If I set the
NewForm.aspx back as default everything works.
How can I modify for one content type and ensure the forms are not affected?
By modify I mean I want to put a hyperlink on one of the forms but not the other.

Form libraries can be very painful if you can't foresee the direction that the form will be evolving over time.  I've run into times when users have been using a form for months - years, and then a sudden change is needed (such as a change in calculations)
that they want to show ONLY in new forms, and the old calculations (for the same calculated fields) to show up in the old form, and you can't have 2 different versions of the same form working on a library unless you use content types. 
You also, however, need to plan for columns and column types because of limitations around the number of Int columns or date/time columns, etc... that are allowed in a list.  If you plan on using content types, I would say use a base content type (if
the content types will have the same fields) and then the fewer fields are different, the fewer columns are required on the library.  In different content types, you can use different forms, and then you can make different calculations within the forms
for the same field (if that is ever a requirement). 
Its best to plan this out ahead of time, because switching strategy after running for a while can create monstrous headaches.

Similar Messages

  • List with Multiple Content Types and Making new Forms...

    I go to create custom forms based on content types.  After I create using the wizard in the list it always shows the same form no matter which content type I pick.
    what am I doing wrong?
    David Jenkins

    You can change the custom form on content type through SharePoint Designer. Do not change it on the content type directly, when you add content type in a list/library, then open list's content types in SP Designer and then select your content type and modify
    the URLs of your custom display form.
    I have updated a document in gallery for
    step by step development of custom workflow and custom task form. In this document you can find the association of custom form with content type using SP Designer.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • Restore SharePoint Database to new server - What to do about external content type?

    I currently run SharePoint 2010 and have a content database back-up which I want to restore to a new server.
    I was able to restore to a new server and everything seems to be working, except that I have one list in my previous site which had an external content type in it linking to a database for our ERP system. The ERP system's database will also be located on
    the new server (same as the new location for the content database). How do I link the external content type from my list to the new location of the ERP database?
    One thing which I've tried is to create a new BDC and set up a new external content type within the list. That seems to point to the new location just fine, except that I would have to remap all every single item in the list individually.
    Any help would be appreciated.

    You will need to modify your BCS Model to reflect the new location of your ERP database. Another option is to use SQL Aliases, which will allow SharePoint to think the new location is still by the old name.
    http://mmman.itgroove.net/2012/07/setting-up-a-sql-server-alias-with-sharepoint-server-2010/
    This is assuming that you are retiring the old database server.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • SharePoint 2010 Present Wrong Timezone for External List of External Content Type

    External content is hosted on an independent SQL server DB from the SharePoint server. External content lists shows datetime fields 5 hours earlier as opposed to Eastern standard time but Web parts display data correctly.
    Yes, timezones on both servers are correct. Timezones settings in SharePoint have been checked and all appear correct. There are several places for settings. Is there a checklist in case something was missed. Our SharePoint administrator has
    looked for the cause and cannot determine.
    I poured through other blogs and issues with external content and timezone on this site including "External Content Type Saving Dates in UTC".
    Please provide a list for timezone settings such as global settings for a site, collection, external content, SharePoint 2010 designer settings, Central Administration settings, etc.

    Hi Benjamin,
    Please test the following approach for your issue, exporting the BDC Metadata Model from SharePoint Designer and change the normalization to use local time, and let us know the results.
    http://sharepoint.stackexchange.com/questions/91516/timestamp-in-sharepoint-external-content-type-not-matching-value-in-sql-table
    http://www.shillier.com/archive/2010/09/01/why-are-my-date-fields-wrong-in-business-connectivity-servces.aspx
    https://calshare.berkeley.edu/Blog/Lists/Posts/Post.aspx?ID=9
    Thanks
    Daniel Yang
    TechNet Community Support

  • Preset default value of DropDown based on Content Type selection in the SharePoint 2010 library

    Hi,
    I have three site content types (Admin, Technical & Well) derived from base content type "Base" and added this content types to "Documents" library. I also have one site column "Category"(Dropdown) with values (Admin, Technical
    & Well) which is available in all the content types.
    Now, when i try to create a document based on "Admin" content type then "Category" value should be preset to "Admin", similarly when i select "Technical" content type then "Category" should be preset to "Technical"
    and same with "well".
    Can some one provide me how i can achieve this?
    I am working in the SharePoint 2010 environment.
    Regards,                                                                      
                                          Chakradhar

    My understanding is that , you have to display the category in all the content types.
    So in that case create a content type like
    Create a base content type -- with column category.
    Create a Admin content type based on base content type as parent. By default ,the category column is available in admin content.
    Create a Technical content type based on base content type as parent. By default ,the category column is available in Technical content type.
    Create a Well content type based on base content type as parent. By default ,the category column is available in Well content type.
    Do you want to create using sharepoint ui or code(visual studio)?

  • Assign new default RSS reader in Mountain Lion

    How do I change the default RSS reader under Mountain Lion and Safari 6?
    Removing the configuration preference from Safari 6 was a BAD IDEA!
    Anyway, any help will be deeply appreciated.  Thanks.

    Use whatever RSS reader you prefer from the very many that currently exist. Find them at MacUpdate or CNET Downloads . You can also find them on the Mac App Store. A good one is NetNewsWire 3.3.2. It's also free.

  • How do i ADD a file type (such as Quicktime mov) that is NOT listed in the Content Type list?

    All the instructions I find when searching for how to ADD a file type just explain how to manage how Firefox handles that file type. And that is not possible when the file type is not in the list.

    Usually MOV is played by the QuickTime plugin. Some other plugins also may handle MOV. This is handled by entries in a hidden database, but you can view the contents if you type or paste about:plugins in the address bar and press Enter.
    In looking at your plugins list under "More System Details" I don't see QuickTime. Is it disabled (set to "never activate") on the Add-ons page? Missing?
    Tools menu > Add-ons > ''in the left column, click'' Plugins

  • Choose a content type when creating a new list item

    Hi,
    I would like to know if there is a way how to change the "New" link in a SharePoint list.
    Problem:
    I have a list with free content types. If I click an existing item a form appears where I can change the content type. But if I create a new item by click the "New" link (directly to the link, not to the little arrow), I am automaticly creating the default content type (the first one).
    This is confusing for users. Can I change it so a user can choose a content type after he or she clicks the "New" link?
    Thanks for any advice.

    Hiya,
    I have a solution!
    If you have three set content types for a list, rather than encouraging people to click the arrow by the new button put three links on a new page that link to the new form for each content type.
    <a href="http://site/Lists/test/NewForm.aspx?ContentTypeId=CONTENTTYPEID1">Create a new item with content type 1</a>
    <a href="http://site/Lists/test/NewForm.aspx?ContentTypeId=CONTENTTYPEID2">Create a new item with content type 2</a>
    <a href="http://site/Lists/test/NewForm.aspx?ContentTypeId=CONTENTTYPEID3">Create a new item with content type 3</a>
    The main problem with this is that if you add new content types to the list, you have to add new links to the page.
    Mike
    The only thing I would add is that, the content type ID is a number (1, 2, 3.....) based on the order that the content types were added to the SP list.

  • Creating custom form with content type list - Shaepoint 2013 list

    Hi All,
         I have a list with a content type. So basically i have the default content type and another custom one.
    I would like to customize the forms and taught of using sharepoint designer.
    Is this a good approach or is it better using infopath.
    When i try using infopath i don't know how i can using content type to create forms.
    I basically have 2 forms based on the content types how can i separate this when using custom forms and what would be the best practice?
    Cheers and thanks in advance

    Hi Patrick,
    According to your description, you want to create a form for each content type in a custom list with multiple content types. Is it right?
    If we use Infopath to customize forms for a list with multiple content types, it only customizes the default content type, the forms for other content types don't have changes.
    For your requirement, I suggest you use SharePoint Designer to create forms for content types.
    More information about how to create forms using SharePoint Designer 2013:
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2012/09/20/how-to-create-custom-forms-using-sharepoint-designer-2013.aspx
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to assign a default value to a column ?

    Hi
    In the Object browser is it possible to modifiy a column in order to assign a defalut value to the column ?
    I have a table FICHE in which I want to assign a default value 0 to a column which type is NUMBER.
    Thank you for your kind answers.
    Christian.

    Hi Christian
    For one reason or the other you can't do that using 'Create Column' or 'Modify Column'. You can only do that by issuing a SQL command : alter table fiche modify column( <column name> default 0)
    HTH
    Roel

  • List with multiple custom content types - Show content type selection option in the list newform page

    In my project I am using SharePoint Online 2013 and there is a custom list with two content types. While creating a new item in that list, can we show the content type drop down list along with other columns? While editing an item I am able to view the content
    type dropdown in the edit form associated with the list. Can we enable the same for the default newform as well?

    In my project I am using SharePoint Online 2013 and there is a custom list with two content types. While creating a new item in that list, can we show the content type drop down list along with other columns? While editing an item I am able to view the content
    type dropdown in the edit form associated with the list. Can we enable the same for the default newform as well?

  • Issue with New Document in a document library with multiple content types

    Hi,
    I have a created a custom list definition based on a document library. I added 3 content types in this list, one is a document set (lets call it DOCSET), the two others are content types inheriting from Document (DOCA and DOCB).
    I deployed the list definition with a site scoped feature and the list instance with a web scoped feature. After activating the two features, the list is created and the content types are present in the list.
    When I click in the New Document button and choose either the DOCA or DOCB content type, a Word document opens and the DOCA content type is always associated to this Word document.
    With SharePoint Manager 2013 I saw that the template.dotx document was not in the Forms/DOCA or Forms/DOCB folder.
    So I decided to remove all the content types from the list definition and add them by code with the ListAdded event receiver. I used list.ContentTypes.Add to add the content types to the list.
    With this method the templates are correctly copied from the template.dotx in the RootFolder/Forms folder of my list. These templates have the rights content type id, but the New Document button still does not work properly.
    So I looked at the Content Types inside my library and saw that the DocumentTemplateUrl linked to the RootFolder/Forms/template.dotx and not the RootFolder/Forms/DOCA/template.dotx or RootFolder/Forms/DOCB/template.dotx.
    I debugged my code to look closer and see that right after the list.ContentTypes.Add, the DocumentTemplateUrl is correclty set but when my EventReceiver finishes, the DocumentTemplateUrl get back to the RootFolder/Forms/template.dotx.
    Have you any idea why this is not working ?
    Regards

    Hi,
    Per my understanding, there is an issue about the DOCA and DOCB content types which inherits from Document Content Type in your custom list definition.
    By default, if there is a custom content type inherits the OOTB Document Content Type, it will also inherits the template.dotx file from the OOTB Document Content Type.
    The template URL of a custom content type which inherits the OOTB Document Content Type:
    If you want to specify different templates for different content types, the code demo below would be helpful:
    http://www.learningsharepoint.com/2010/07/14/programmatically-create-a-new-content-type-in-sharepoint-2010/
    Thanks
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to customise and navigate Content Type - SharePoint 2013 List

    I need some advice here. I'm customizing forms that have list built using Content Types. I noticed the difference in the links is something like this below I have one default content list type called item and the other one is called College Form
    Item is ContentTypeId=0x01003FF12EB7EAB88340BEE53D34C38A906200147E508F34B9164ABE555FF698569C27
    College Form is ContentTypeId=0x01003FF12EB7EAB88340BEE53D34C38A906200147E508F34B9164ABE555FF698569C27
    When doing my customization of the form I would like to hide some fields and show some based on the content type. I know by default the content type does that. But im using JS to hide some fields but don't know how i can do this or what values to use to
    make this happen.
    Any ideas and thanks in advance

    WPQ2FormCtx.ItemContentTypeId will give the content type ID of the item in each of the forms newform.aspx, ediform.aspx and displayform.aspx. You can also use WPQ2FormCtx.ItemContentTypeName, if you want to compare name instead of Id. Here is a JQuery
    code to hide fields in the forms:
    <script type="text/javascript">
    jQuery(document).ready(function($) {
        if(WPQ2FormCtx.ItemContentTypeId == '0x010400C36D463A4788AD4AAF5F85C02DA29F8E') {
        $("h3.ms-standardheader:contains('Body')").closest("tr").hide();
    </script>
    Note that this script assumes the JQuery is already referenced in the site. You can place above code in Script Editor web part in each of the forms. 
    Also, beware that this way you can hide the field from UI, but user can still open the page source and find the actual information in the hidden field. 
    If the requirement is to completely hide the field data then you will need to set the field properties like showInEditForm, showInDisplayForm and showInNewForm
    Nadeem Yousuf

  • Incorrect Infopath content type update in form library after modifying Infopath form and publish it

    I have an admin approved InfoPath form. I added new fields to that form and mapped those new fields with site columns. After uploading updated published form through CA, I noticed InfoPath Site content type for that form got updated (with newly added fields)
    under Microsoft_Infopath group. This content type is also added in form library but somehow the new fields are updated incorrectly for this content type existing in form library (it doesn't show new fields, and shows one new field which is incorrectly
    mapped with other column this is happening only in library). 
    Things I tried:
    - Activate/Deactivate that content type feature
    - Deactivated feature, removed form from CA, re uploaded and activated feature
    - Removed those new fields and published and uploaded InfoPath form and then added those new fields and published and uploaded again.
    -Deleted those fields from InfoPath and readded new fields and published and uploaded form but still the problem persists.
    Any help will be appreciated.
    Dhaval Raval

    Hi Thanks for the response,
    But Update all content types inheriting from this type is already checked.
    That form library has multiple content types associated with it , different infopath forms get submitted there. What I noticed is that when I change the form and publish it, its corresponding site content type gets updated but the same content type used
    in form library doesn't get updated properly. I went to form library and checked that erroneous content type, there were some columns missing and one column was mapped incorrectly. When I clicked on "Parent" content type, it was showing all the new Infopath
    fields(updated content type). So I figured that Infopath site content type was getting updated correctly but it was not able to propagate those updates (in a correct way) to the form library. I also tried to edit that content type and tried adding existing
    site columns which were missing but surprisingly it was not showing those site columns either, which were mapped from Infopath publishing.
    The cause for this behavior is : changes/updates to the Infopath content type are not getting propagated to the form library and this is happening for only one infopath content type but other Infopath content types are getting updated.
    I had to delete all the forms using that erroneous content type and then had to delete that content type from the library and then re-added that Infopath content type to the library and this time it was having correct content type (updated columns).
    This is not a perfect solution for the production environment, sounds like it is a bug.
    Dhaval Raval

  • Is there a way to know if my Content Type's fields are a Site columns or List columns

    I am totally confused about Site columns, list columns and content types. as seems i will have the same column name , sometimes dealt with as site column while the other as list column. for example i created a new Issue tracking list which comes with the
    following columns:-
    now i realize that the Description column is a list column (not site column) because if i rename the site column named Description, this list column will not get affected, while column such as "Issue status" is a site column because if i rename
    the site column named "Issue Status" the column inside the "Issue" content type will get affected. while there are two site columns named Description but none of them are used insidie the "Issue" content type, and the Description
    field in the above picture is a list column !!
    so can anyone advice from where i can differentiate if a column inside the Issue content type is a site column or is a list column ???
    Thanks

    Hi John,
    Thanks for posting your issue, Kindly browse the below mentioned URL to identify the site columns and Content Type in your Top level site
    http://www.kalliance.com/blog/tips-tutorials/microsoft/identifying-site-columns-content-types/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

Maybe you are looking for