Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [custom-schema]

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

5
votes
1answer
1k 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
votes
0answers
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
1answer
369 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 ...
1
vote
0answers
227 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 ...
1
vote
1answer
472 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 ...
1
vote
1answer
35 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. ...
1
vote
0answers
47 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,...
0
votes
1answer
369 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 ...
0
votes
2answers
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". ...