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.
150 questions
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 ...
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.(...
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 ...
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 ...
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 ...
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 ...
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" ...
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 ...
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 ...
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>...
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 ...
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 ...
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 ...
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 ...
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 ...