1
vote
1answer
160 views

Error occurred in deployment step 'Activate Features': Cannot complete this action

In my SharePoint 2013 solution (created from visual studio), I created a project that contains all the artifacts form my solution: I put in this project custom fields, custom content types as well as ...
0
votes
2answers
366 views

Rename “Title” column on multiple lists

I have 3 or 4 lists where the title column is not required. Hence I started renaming the Title field to any other text field that I have in the list per the below blog. ...
0
votes
1answer
546 views

Create Calendar view using list definition with visual 2010 (sharepoint 2010)

I'm a newer in sharepoint 2010 .I want to create calendar view for my list definition using list definition. I think i need to do something in schema.xml file, but i can't find any document talk about ...
0
votes
1answer
124 views

View and Edit SP list from another site with Sharepoint 2010?

I have been searching for a way to view my SP list into another site. I want the members to be able to delete items so the list changes on my site. I tried to create a view of the list and created a ...
1
vote
2answers
2k views

Fail to export custom SPList to Excel

Im trying to export a SharePoint-List(created from a custom Listdefinition) to Excel by using the "Export to Excel"-button on the ribbon. It works when im trying with other default SharePoint-lists ...
1
vote
2answers
533 views

Custom list definition using OOB Site column causing problem

I have a custom list definition where i want to use the OOB URL site column plus a site column that i created in another list definition. When i do it and try to display the All Items view it says it ...
2
votes
1answer
455 views

Change Add new Item Text

I've developed a ListTemplate via ListDefinition in SP 2010 using Visual Studio. Nearly everything works fine, but the Link at the bottom of my ListInstance is missing the Text "Add new Item". Is ...
1
vote
3answers
304 views

how to get guid in list definition

I have noticed that many examples of internet which show creating the list definition have a GUID in the id of the field. How is this ID got? e.x. Where is this GUID got from?
0
votes
1answer
241 views

Programmatic Setting List Options

In the list definition, is there a way to programmatically set the "Dialogs" parameters? I see available parameters such as OnQuickLaunch, as well as the parameters listed: ...
0
votes
1answer
76 views

Creating a New list based on previous List Definition

I have a List definition with following files Feature.xml <?xml version="1.0" encoding="utf-8"?> <Feature Id="GUID" Title="abc" Description="mmmmmmm." Version="1.0.0.0" ...
3
votes
2answers
2k views

error activate feature list template/instance in site definition

i've created a SiteDefiniton project and a Sharepoint ListDefinition project. In the SiteDefinition I created a listinstance of my template, but in deployment the activation of the ListInstanceFeture ...
1
vote
2answers
382 views

Limiting List Permissions Programmatically

Scenario: When a User (let say Controller 1) creates a site using a site definition, "which already has a Custom List definition in it and different other things(like lists, webparts)" Custom List: ...
0
votes
1answer
61 views

Limiting a List (Listview webpart) to a single User

I have a List Definition and I want to limit only 1 specific user to "add new items" to this list, oh by the way its a custom list definition, I was wondering what are the possible ways to accomplish ...
1
vote
0answers
1k views

An item with the same key has already been added when trying to recover my list using Linq (SPMetal)

I have a problem with my application SharePoint. The problem is that I added a List in my SharePoint site (directly in SharePoint), then I used SPMetal LINQ to generate a File in which I can recover ...
3
votes
1answer
1k views

How to determine the List Template (SPListTemplate) that was used to create a list?

I am using the following code to create a custom list from a custom list definition. Is there a way, after the list is created to determine which definition it was created from? SPListTemplate ...
3
votes
2answers
5k views

How can I provision a list with a calculated field?

I am trying to create some fields, a content type, a list definition and a list instance in Visual Studio. All of my fields are working, showing up in the list etc. except for calculated fields. What ...
0
votes
1answer
463 views

SPMetal, lookups without EntityRef

I defined site definition with two content types and two list definitions. I have lookup site column <Field ID="{4318c52f-11c6-129a-b832-5ab22450b17c}" Type="Lookup" ...
1
vote
0answers
60 views

Same custom button on 2 totaly different lists

Is it possible to have just the same custom button, show on 2 totaly different lits? Because when i use the same type for the lists TemplateType="10777" then the list have the same fields. So i need ...
2
votes
1answer
682 views

Custom list definition shows title even if it is not declared in schema

I created an own list definition with list instance in the project. I described all the fields in the schema which should be shown. ANd it is ok, after deploying when i visit the list it show all mine ...
4
votes
3answers
761 views

What options are available to me to find lists that were created using a specific list definition?

I have many lists, some of which were created using a custom and now-obsolete list definition. I need a programmatic way of finding out which lists were created using that old definition. Currently ...
1
vote
1answer
443 views

Using an imported list template's (build in SP designer) xml as the basis for a new list definition in VS

I'm a SP 2010 beginner (although a long time ASP.NET developer) and I thought a good learning exercise would be to: Create a list template in SP Designer Import that list into VS 2010 Create a new ...
1
vote
0answers
568 views

Creating Custom List Definitions that Use InfoPath Forms - Deploy everything using Visual Studio 2010

I'm trying to create a list instance from a list definition, all from a VS2010 solution and want to have custom InfoPath forms for the list instance. This article keeps popping around in my searches: ...
1
vote
0answers
31 views

How do I import a spreadsheet to create a list, but specify which column should be the “title”?

I'm not a programmer, just a frustrated user. Is there a way for me when I create a custom list by importing a spreadsheet to specify which column should become the "title" for each row in the list? ...
1
vote
1answer
5k views

Add a last modified date column for each row in Sharepoint 2010 list

I have a list where I have some columns, my requirement is that I need to add a column, which will update the last modified date for each row. That is if I edit one row today, add today's date to ...
0
votes
1answer
280 views

Custom List Definitions - Remove the standard create item menu option

I'm creating a custom list definition in SharePoint 2010 by following this article. It works well but I need to remove the default create list item option and only keep that for Bug Item. How can ...
1
vote
1answer
996 views

Updating a content type via feature receiver at the list definition level

Problem is I am trying to update a content type (created within a list definition, going into a new list instance) and it is not liking the ID I pass in code. I tried passing JUST the child ID, ...
1
vote
1answer
548 views

Provision list instance with title and description from resources issue

I have created feature which contains list definition and list instance based on that definition. I also added feature resource files to localize it. I created invariant and pl-PL resource files. When ...
1
vote
1answer
569 views

Xml defintion of Field and FieldRef elements and the precedence of attributes

Anybody out there with a good understanding or a good reference of how the attributes that make up a custom list definition apply to the list columns when you define Fields and FieldRefs in multiple ...
1
vote
1answer
232 views

How do you decode the Flag attribute on the List element?

How to decode the Flags attribute of a SharePoint List? What does 4104 mean? <List DocTemplateUrl="/SiteAssets/Forms/template.doc" DefaultViewUrl="/SiteAssets/Forms/AllItems.aspx" ... ...
2
votes
1answer
556 views

List instance not working after solution retraction

I have a project with a Content Type A list definition based on the Content Type A list instance When I deploy this solution, it all works fine. To my knowledge, when this solution is retracted, ...
3
votes
3answers
2k views

Display an SPFieldUrlValue property from a BCS Model

I have a pretty simple BCS model: public Guid Id { get; set; } public SPFieldUrlValue Url { get; set; } public string Description { get; set; } public string Owner { get; set; } public DateTime ...
2
votes
0answers
514 views

ListInstance not firing all item event receivers [closed]

I have a feature that defines a number of list instances to provision whenever a new site is created using a particular site definition. The list template for one of these instances has an item event ...