Solved

Create New Item to different Content Types

Posted on 2011-03-25
6
607 Views
Last Modified: 2012-06-27
In Sharepoint 2010 I have a list that consists of different Content Types. When setting up the Content Types on a list one of then is set as default. This "Default" CT is the one that the "Create New Item" is linked to.
To create a list item of another type you must click the pull down on the "New Item" button at the top.

Is it possible to create a link (url) that opens the pop-up form for a specific Content Type? I would like the "Create New Item" to behave differently depending on the view I have open...
0
Comment
Question by:Wassini
6 Comments
 
LVL 14

Accepted Solution

by:
KoenVosters earned 500 total points
Comment Utility
Out of the box that is not possible based on the view. The only way I see would be to have some javascript / jquery logic that modifies the behavior of the ribbon depending on the view, but in my opinion that would be hard to implement. Can you tell me what business reasons there are behind this?
0
 

Author Comment

by:Wassini
Comment Utility
Ok! Let me refrase it:

I need the format of the URL to open the correct form so I can make my own links. Something like

_Layouts/OpenForm.aspx?ID=MyList&CT=xxxxx

or whatever. Then I can just create my own page with a link on...

I can't see the URL from the pull-down menu of the button.
0
 
LVL 8

Expert Comment

by:nsyyoung
Comment Utility
Do mean: open a blank form and copy the URL that is then in the address bar?  You can copy that link and create a shortcut or email it.  That works in 2007, not sure about 2010.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 6

Expert Comment

by:Rafael I
Comment Utility
What would you like the popup form to point to, or what new document will you want to be created if they pick different content types?
0
 

Author Comment

by:Wassini
Comment Utility
nsyyoung: That opens the form in a new page, and I would like to have the form to be shown as a pop-up in 2010-style.



rawsteak: If I have a list that contains 3 different content types there is a form for each content type. I would like to have a link or a button to each content type. Instead of a "Create New Item", I would like to have three links: "Create New CT1", "Create New CT2", "Create New CT3". To create these three links, I need the URL formatting.
0
 

Author Comment

by:Wassini
Comment Utility
The reason for wanting this is that I have a list that contains several different hardware devices (servers, laptops, desktops, printers, switches etc) and I use the Content Types to inherit different attributes for each hardware type

Hardware > Network  Device

Network Device > Computer

Computer > Servers
Computer > Desktops
Computer > Laptops

Network Device > Switch

etc...

Then I have a link to each top-level device that points to a filtered list - BUT in every one of these lists, the "Create New Item" is opening the "Default" form. This means that the correct attributes are NOT visible.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Note:  There are two main ways to deploy InfoPath forms:  Server-side and directly through the SharePoint site.  Deploying a server-side InfoPath form means the form is approved by the Administrator, thus allowing greater functionality in the form. …
The Scenario: Let’s say you have a quote worksheet in Excel that you use to work up sales figures and such for your clients. You utilize SharePoint to manage and keep track of these documents. You would like values from your worksheet to populate Sh…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now