Stump the Panel » End Users and Information Workers

Custom Content Types Not Working?

(5 posts)
  • Started 3 weeks ago by mbunting
  • Latest reply from mbunting
  1. mbunting
    Member

    I have set up a calendar with three content types, the "unhidden" base Event and two custom types that derive from it. The two custom event types have their own custom site columns added. I also set up separate "NewForm" pages for each of the types by using a Custom List Form control. The problem is, that no matter which form I use, it will always submit the "event" as the default content type. It also doesn't seem matter which of the three content types is set to the default. The default "NewForm" will submit the correct type, but I need to be able to hide some of the fields that will be auto-populated via a workflow.

    Any ideas?

    Posted 3 weeks ago #
  2. So, you created custom forms using SharePoint designer? In SPD, right click the name of your list, and go to Properties. Click on the Supporting Files tab. That's where you have to pick your custom forms that you want it to use for editing.

    Laura Rogers

    Posted 2 weeks ago #
  3. mbunting
    Member

    Those are set. I just can't figure out why my custom forms ignore the configuration of the Custom List Form control and submit every new calendar item as the default content type (doesn't matter which of the three).

    Posted 2 weeks ago #
  4. AdamCarr
    Member

    I believe the content type is derrived by a query string in the URL. The query string will be ContentTypeID=xxxxx where xxxxx is the ID of the ContentType.

    The URL will be URL encoded so some characters wont be displayed correctly. (a quick google search for URL decoder will provide you will an online tool).

    Check that SharePoint is passing the correct ContentTypeID to the form. Apart from that I dont know what else it might be.

    Adam

    Posted 2 weeks ago #
  5. mbunting
    Member

    SCORE! That works, now to figure out why the Quick Launch menu is stripping off the query string....

    Thank you!

    Posted 2 weeks ago #

RSS feed for this topic

Reply

You must log in to post.