Solved

Create New Item to different Content Types

Posted on 2011-03-25
6
619 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
ID: 35215262
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
ID: 35215298
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
ID: 35215369
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 6

Expert Comment

by:Rafael I
ID: 35316680
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
ID: 35321373
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
ID: 35819486
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently came across an issue with a MOSS 2007 deployment where access into some sub-sites were denied, even for the MOSS farm administrators. A bit of background to the setup of this MOSS farm; this was a three server setup, consisting of a fr…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 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

13 Experts available now in Live!

Get 1:1 Help Now