Questions tagged [custom-schema]

An attribute of the ListInstance element, CustomSchema specifies the custom schema to use for the list instance.

Filter by
Sorted by
Tagged with
2 votes
0 answers
504 views

Defining field UserSelectionScope dynamically

I'm using a Visual Studio SharePoint Solution to create my list instances manually and want to define the UserSelectionScope for a field in a list like this (in the Schema.xml file): <Field ...
  • 131
1 vote
1 answer
698 views

Difference between Elements.xml and Schema.xml

Let's say I have following elements in my solution: Site Column: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Field ...
6 votes
1 answer
2k views

create custom content type from schema.xml using csom and powershell

I need to create a content type from my schema file which containe all my fields this is how to create a basic content type: function Add-metaXmlFields-ToContentType($ctx, $xmlFilePath, $CT_id) { ...
  • 2,183
1 vote
1 answer
662 views

How to create List and libraries using existing Schema Xml with JSOM in sharePoint 2013?

I am developing SharePoint Hosted app and I want to create lists. I have lists schema XML files. I want to use that schema and create list using JavaScript. I have tried the following code function ...
0 votes
1 answer
436 views

SharePoint mixing list schema

I've a solution for SharePoint 2013 where I created several list and added them to a feature. When I deploy the solution to my dev environment every list has the same schema (the same columns). They ...
1 vote
1 answer
40 views

ListInstance with CustomSchema ignore field Resources

I have ListInstance element with CustomSchema attribute. In schema I use fields with resource display name. But after creation of this list all fields are in default language without translation. ...
2 votes
0 answers
2k views

Custom List schema.xml with custom content type - attribute code duplication

I made a custom content type with several custom site columns, all defined in a Elements.xml <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- Customer --> <Field ...
1 vote
0 answers
50 views

AllItems customization

I have a custom list definition where I have defined a view with BaseViewID = 1 (AllItems.aspx) <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,...
  • 141
0 votes
2 answers
2k views

HierarchyTasksList with a custom schema and extra view gives error list not found

I am creating a HierarchyTasksList with a custom schema. When I add an extra view with a BaseViewId="10" or any other not used number I get an error. However when I change the BaseViewId to "1". ...
  • 3,257