.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Removing "External List" option from Custom Lists?

Posted By:      Posted Date: October 22, 2010    Points: 0   Category :SharePoint

We are in the process of upgrading from SharePoint 2007 to SharePoint 2010.  Our business users have noticed a new option of creating a new "External List" under the Custom Lists heading.  Is there any way to remove the External List option without having to customize the create.aspx page?

Andy Kreider | Principal Financial Group | Des Moines, IA, USA

View Complete Post

More Related Resource Links

Quick Note: Create Lists with Custom Content Types in SharePoint 2010

Learn how to create a list in SharePoint Server 2010 and associate it with a new content type. Next, you disassociate the list from the content type and then delete the list.

List Event Receivers firing for all custom lists

Hello, I have a site with two custom lists, and I have created an EventReceiver class to handle the ItemAdded event for custom lists. I have modified the EventReceiver's Elements.xml file to only handle items added to one of the custom lists instead of all custom lists, by changing: <Receivers ListTemplateId="100"> to <Receivers ListUrl="/Lists/MyCustomList">   however, when debugging, the ItemAdded method is being fired when an item is added in both custom lists. I have had to work around this by checking within the ItemAdded method for the list that fired the event:        public override void ItemAdded(SPItemEventProperties properties)        {            base.ItemAdded(properties);            if (properties.ListTitle.Equals("My Custom List")) { ... } I thought the ListUrl attribute of the Receivers element specifies the event to only fire for the specific list with that url? (see http://msdn.microsoft.com/en-us/library/ms431081.aspx). Is there somewhere else I should be checking?   Thanks

custom sharepoint lists programatically with the forms?

hi,     can any one give a link to a post for creating Sharepoint Lists from scratch. i would like to know about creating custom lists from scratch like the NewForm.aspx, EditForm.aspx,AllItems.aspx .  i know we can create list from OOTB but i would like to know using object model please help.

Unable to Customize Custom Lists. Sharepoint Error: User cannot be found.

I am not sure what the best way to put/describe my issue . I am unable to customize my custom list. Steps: 1. Login to sharepoint site. 2. Site Actions -> Site Settings 3. Under Site Administration -> Site Libraries and lists 4. Clicked on a custom list.   Error: Error User cannot be found.   Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 4063bf58-9cb7-4204-8cc4-cc2889abffe3 Date and Time: 9/9/2010 5:51:58 PM   I figured this may be an issue with site permissions, so I have went into site permissions and removed and re-added Administrator into Homeowners group.   Thank you in advance.   Howie

Custom masterpage Layout works fine, but WIDE sharepoint lists flow through, over design

Hello all, and thanks in advance for any help. We've built a custom masterpage layout and so far it works great.  We have specified a layout based on tables that fix the width at 960pixels.  The tables are centered on the screen and have a particular background that is different from the page's background to make the content pop.  It works fine in most cases and still displays all MOSSs dynamic contents like the quicklaunch bar at left, etc.  The theme sort of looks like this : http://www.sharepointpackages.com/index.php?main_page=product_info&cPath=65&products_id=268&zenid=a045f5b7dba91fdab94d754569e0b611 The problem is that when a list has too many columns and is therefore wider than the 700 or so pixels that are left over for the placeholders inside the table, the list continues on, but does not affect the table itself.  In other words it appears as if the content was placed OVER the tables in the layout.  This is odd first of all, but it is actually bad in a way, because even if I use styles on the table cells that hold these placeholders, and have the overflow use scrolls, the table ACTUALLY does not see an overflow and the contents continue to run through without activating the scrollbars (they don't even show up).  Can anyone help.  Please, Please, I've been looking at HTML for two days straight now trying to fi

Creating a generic template writer that can handle drop downs and option lists


If I have a the following model

public class User
		public List<Company> Companies;
		public string Login { get; set; }

		[DisplayName("First Name")]
		public string FirstName { get; set; }

		[DisplayName("Last Name")]
		public string LastName { get; set; }

		public string Password { get; set; }

		private int Company { get; set; }

And the following generic control template writer (which would have to be extended appropriately)

<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<% foreach (var prop in ViewData.ModelMetadata.Properties .Where(pm => pm.ShowForEdit && !ViewData.TemplateInfo.Visited(pm))) 
{ %>
	<div class="SD_FieldItem">
		<% if (!String.IsNullOrEmpty(Html.Label(prop.PropertyName).ToHtmlString()))
			switch (prop.ModelType.Name)
				case "Boolean":

						<div class="SD_BoolField">
							<%= Html.CheckBox(prop.PropertyName) %>
							<%= Html.Label(prop.PropertyName) %>
							<%= Html.ValidationMessage(prop.PropertyName, 

"More" option for Summary view on lists


I'm not sure if this is the correct area to post this question or if it's more of a design question but...

I noticed with 2010 that when lists such as announcements and links get beyond a certain quantity that the Summary view within the webpart shows a "More" link even if the webpart is set to only show say 5 items.

I've checked the XSL stylesheets and can't find any entries that would specify to show the More link once a list grew to a certain point. I've also checked the web part, list, and view settings to no avail. Any suggestions?

Sharepoint Foundation - Create and deploy custom edit/view forms for external lists


Firstly, we are using sharepoint foundation so Infopath forms are not an option for us.

We have a Visual Studio sharepoint project which deploys a complete sharepoint site. The site contains a number of external lists and we want to be able to create customised view/edit forms for these lists and add them to our Visual Studio project so they can be deployed as part of the new site. The idea is that we can deploy the solution to a fresh site with a default set of forms which can then be customised for different implementations of the site.

Here's the steps we have been using to try and do this:

1. Deploy the base project (BDC) to the sharepoint site

2. Create external lists based on the BDC content types

3. Use Sharepoint Designer to create new edit/view forms for the lists and set these as the default forms for the list

3. Save the site as a template

4. Import the template into a new Visual Studio project and select the lists we require. This gives us a List Definition, a pages module (with element file), an elements file and a schema file (both for the List Instance).

5. We then add the contents of the imported project to our main solution as follows:

  • Create a new List Definition (including List Instance)
  • Copy the contents of the imported Elements.xml to the Elements file for our List Instance.

.NET Interface to Create/Maintain Custom Lists in SSAS


I would like to create a .NET interface to Create and Maintain Custom Lists in SSAS Cubes.  Would anyone know if there are any source code projects going in this direction?? If not, some direction on how to accomplish this?  Anyone have existing code/samples to.. Ex. Create lists from MDX scripts wrapped in Stored procedures 

Any help would be greatly appreciated


Why am I missing option to delete lists and libraries?


I just setup my first SharePoint 2010 site using the Publishing Site template. I seem to be missing the option to delete libraries. From what I understand, the option should be listed under Permissions and Management Settings on the List/Library Settings page. However, I don't have this option... I am logged in with an account that has Full Control permission.

What am I missing? Thanks!

How to associate Custom Form with External List?



I've been trying for several days now to figure out how to programmatically associate a custom form with an external list.  Currently I'm creating an external content type + external list programmatically (in Visual Studio) when my feature activates.  I now want to define some custom forms for viewing/editing the list items in my external list.  I cannot figure out the right approach to make this work.  I can create and associate the custom forms with the external list in SharePoint Designer, so I know its possible, I just can't figure out how to do this in Visual Studio.

In Visual Studio I can provision an aspx file and have it deployed to my list's folder, but when I try to set that aspx file as the list's default display form it tells me the page is not a valid form.  For example...

myList.DefaultDisplayFormUrl = "Lists/LocationsList/MyDisForm.aspx";

...will fail even though that page exists at that url.  It think it fails because the list does not contain an item in its Forms collection with that url.  All my attempts to modify the list's Forms collection have failed.  It appears to be read-only.

Anyone have any ideas?



Removing Distribution lists from 'Memberships' section of Profile Page


We are using SharePoint 2010 with User Profile Service and My Site enabled. And we do not want to display 'Distribution Lists' in the Membership's section of Profile Page.

We have done UPS -> Manage Policies -> Distribution Lists (Edit) ->

Policy Setting - Disabled

Default Privacy Policy - Only me. (Because we did not find other suitable option)

But still DL's are appearing in the Profile Page.



Removing standard text from custom feedback process email notification


My workflow has a Start Feedback Process action, which contains some pre-defined instructions. One of my instructions is to use a particular link to open the workflow history page – I have added this to force the user to open the form via the workflow history page (we're using Forms Services) because the email’s default link opens the form in the InfoPath client, not the browser. It also allows the user to be returned to the page where they will complete their workflow task (we're trying to make navigation as easy for them as possible).

Although I have defined my own set of instructions, the email notification I receive includes some standard text that links to the InfoPath form’s xml file. I don’t want users inadvertently clicking the “To complete this task…” link at the bottom of the email and having the form open in InfoPath. Here is an example of the email I’m referring to:


kpi not showing up in Custom Lists

I'm not seeing KPIs showing under the custom lists. The site was setup as a Collaboration/Blank Site.

EventReceivers firing on all custom lists


Hi everyone, I've come here as a last resort before I find a revolver and a barn. I've struggled with this problem for weeks, even though it should in theory be a ridiciously simple thing.

My problem is that I have build a eventreceiver in VS2010 which for some reason is triggered on more lists than I specify. When I modifiy a list, the itemadding/added/updated/deleted-event is triggered for all the lists in the site. I don't have a clue why this happens, and I will provide code below. I have looked into the possibility that older versions/eventreceivers have been in action, hence I've deactivated all solutions and all, but a couple of integrated features. I've also started a new project in VS several times, and copied only the code over to the new project.

Obviously I've removed the ListTemplateId from the Receivers in the Elements.xml file. I should mention though, that my eventreceivers were still called even if I didn't assign them to any list in elements.xml, or if I specified ListUrl="myList" for example. The result is that the itemadding/added/updated/deleted-event is triggered for all the lists in the site.

My elements.xml file is as below:

<?xml version

Sharepoint Designer 2010 - How to add custom columns to lists



When creating a new view - I would like to add an extra column which I could use as a custom hyperlink to fire up the EditForm.aspx or my on custom ediform.  I would like it.  Is there a step by step that shows hwo to do wthis with SP 2010 and SPD 2010?

Thanks in advance



Deploy Custom Lists



I have custom lists created in WSS 3.0 and also workflows created using Sharepoint designer 2007. I need to deploy this into production. I am new to sharepoint and I need some help in doing so.

What would be the best method for deployment? We did not use VS2005 / VS2008. I guess the deployment also should not use that.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend