Skip to main content

Questions tagged [list-definition]

A list definition defines a schema for a SharePoint list. It contains information on what views are being used, which columns and content types are being used, and other metadata information.

0 votes
0 answers
111 views

How to add an Enterprise Keywords column to a custom list?

I have a custom solution that includes Site Columns List item Content Types List Definition List Instance(Both List & Document Library) Now I want to include a column of type "Enterprise ...
One Developer's user avatar
3 votes
1 answer
120 views

SharePoint 2016 not able to create the column name with Restricted?

I was a created a Document Library all fields creating with no issues. only problem with Restricted field name. I was created a Restricted field as choice field but it was coming as lookup field.(...
elina's user avatar
  • 441
0 votes
2 answers
73 views

save custom list definition so it can be recreated using JavaScript?

I've got multiple custom lists with a lot of fields and formulas. I know I can save the list as a template but I was wondering if there is anyway to use JavaScript to save the list definition as a ...
IMTheNachoMan's user avatar
3 votes
2 answers
337 views

Add item to sharepoint list definition

I need to add some items to sharepoint list definition, so I need to have the list with columns and items, and then allow users to create the list from the UI. How do I include items in list ...
Jacky's user avatar
  • 319
3 votes
1 answer
419 views

How to package a workflow with a list definition in a Visual Studio feature?

Here is the scenario: I have created a custom list definition in Visual Studio 2015, and I'm packaging it in a Site scoped feature (Farm solution). I have also created an event receiver that will ...
Dylan Cristy's user avatar
  • 12.9k
3 votes
1 answer
593 views

Updating fields display names in Schema.xml of list definition is not working

I have created a list and deployed it to the SharePoint site. (It is SharePoint 2010 on-premise, but I think the process is same the for 2010 and 2013) Later on client wanted to change the display ...
Aks's user avatar
  • 487
3 votes
1 answer
410 views

Lookup column field is empty after item is added in list (l created using list definition)

This is the code I used in Schema.xml <Field Name="employee" ID="{44678273-e07d-43de-8096-dc2ce3c105cf}" DisplayName="employee" Type="Lookup" List="Lists/Employee" ShowField="Address" ...
rajeshg's user avatar
  • 31
0 votes
0 answers
26 views

Sharepoint List Definition with custom column

Im working on Sharepoint 2010 project. I created farm solution with some list definitions. Now i would like to use Autocomplete Lookup Field in one of list definition. But if I look on Schema.xml ...
PeterMacko's user avatar
0 votes
1 answer
247 views

Two SharePoint lists with different names, but same contents error

I have written a SharePoint solution which should create two SharePoint lists with completely different list definitions. If I deploy the solution, I get a strange behaviour. There are two different ...
Philipp Eger's user avatar
1 vote
1 answer
1k views

Change Field's DisplayName in a List in view

I have view with following fields <ViewFields> <FieldRef Name="DocIcon" /> <FieldRef Name="Title" /> <FieldRef Name="Modified" /> </ViewFields>...
Alex Zhukovskiy's user avatar
0 votes
0 answers
209 views

List instance in not created after deploying a feature which has this list definition and instance

I have a site definition: inside that I am creating a list definition & instance, one visual web part. I am creating a feature and putting all these list definition, instance and visual web part ...
Gokul's user avatar
  • 37
0 votes
1 answer
368 views

How to Use List View Web Part in List Definition / List Template?

Currently trying to import List View WebPart, and use that Code in List Definition/List template. So For That added List View Web Part Manually on a Publishing Page,Trying To import web Part,But There ...
Akshay Dattatray Nangare's user avatar
1 vote
0 answers
136 views

Creating List definition for Survey list in SharePoint 2010

I wanted to create a Survey List definition through visual Studio. But when i tried creating it - there was no option available to create list definition for Survey List Please let me know how to go ...
Sachchin's user avatar
0 votes
1 answer
1k views

Custom Assets Library List Definition

I need to create a custom list definition for "Asset Library" in SharePoint 2013. Eventually i need to add my custom content type to it. Hence the reason for the custom list definition. The custom ...
dotsa's user avatar
  • 562
2 votes
1 answer
429 views

How to hide inherited fields in the custom list definition?

I have defined a Site Content Type which has inherited fields (inherited from parent content type). Also, created new custom list definition that uses the content type created. I want to hide the ...
ShpUser's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
10