Questions tagged [schema]

a schema is the organization or structure for a database. The activity of data modeling leads to a schema.

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

error in Parse JSON Step in MS Flow

Sorry for the long question, but I wanted to include all the JSON to get the best help. we are getting an error parsing JSON from an HTTP Get request in our flow. Here is the schema we are using in ...
3
votes
0answers
60 views

PNP Provisioning - WelcomePageView in Document Sets

I see that this is now supposed to be supported through the 2018/07 schema? There is at least something there. <XmlDocument NamespaceURI="http://schemas.microsoft.com/office/...
0
votes
1answer
254 views

Create Managed Metadata Column in SharePoint Hosted Add in

I am creating a SharePoint Hosed Add-In and my requirement is, add a managed metadata list column through list schema.xml. Anyone has any idea?
4
votes
2answers
455 views

Fields missing from folder content types

I have several content types based on Folder with a couple of fields. Some of them are experiencing some strange behavior. The fields are there, and the data is being saved, because I can see them ...
2
votes
0answers
63 views

add Control on field date time

Is there a way to add a control on field datetime in schema.xml file without javascript and without c#. For exemple my date file cant be less than the current date . od date 2 must be more than date 1....
1
vote
1answer
401 views

use JSOM to get all fields and views in a list

I know how to make multiple/different calls to get details about all the fields and views in a list but I was wondering if there is a way to do it with one call. I know I can use get_fields() and ...
2
votes
0answers
322 views

SPO - Render ListView in XsltListViewWebPart and Query(limit rows to current user)

I created following listView through Visual Studio in my List on SharePoint-Hosted Add-in project: Where i created listView - Generated xml like this: <View BaseViewID="2" Name="2930629c-f218-...
1
vote
0answers
62 views

Customise SharePoint Lists' EditForm & NewForm

I want to merge the EditForm or the NewForm of two Lists into One. For exemple :NewForm of List A and NewForm of List B The List A has an lookUP item from List B. Following the traditional Way , I ...
1
vote
1answer
516 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
0answers
139 views

Auto Minify files on publishing SharePoint hosted app

I have created SharePoint Hosted app with some list, scripts and css. Now I want to minify my files. Can we automate minification of files on deploying or on publishing? Also can we apply ...
0
votes
1answer
151 views

Copy List Schema across farms

I have a site in a DEV SharePoint 2013 farm that I would like to move four lists, and all their dependencies (Content Types, Forms, Site Columns, etc.) to the TST SharePoint farm. The data in the ...
0
votes
1answer
181 views

caml query pass username dynamically in sharepoint hosted app

In my hosted app I have one text field which contains username. I have write following query in lists schema.xml <View> <Query> <Where> <Contains> ...
0
votes
1answer
4k views

caml query for text field(Title field) contains username in SharePoint hosted app

In my hosted app I have one text field which contains username. I want to apply filter on a view which on filtering gives me data related to current user. <Field ID="{fa564e0f-0c70-4ab9-b863-...
2
votes
1answer
63 views

Sharepoint Hosted app update issue

I have deployed my hosted app in test site environment with version 2.0.0.0 In the same version I have one list named Employee. Now I renamed the list name as Employees raise the version 3.0.0.0 and ...
0
votes
0answers
173 views

Changes not update for schema.xml on SharePoint hosted app update

I have done my changes in my list's schema.xml. I have added extra view over existing list. I have also publish my app earlier but when I update my app over existing one it will reflect all changes ...
-1
votes
1answer
2k views

Is it possible to lookup people picker type field [duplicate]

Is it possible to lookup a people picker type field from a list. I have tried OOTB as well. But I couldn't do it through OOTB even. I need something like as following: Here "Person" is a people picker ...
3
votes
1answer
1k views

Update choice field SchemaXml using powershell

I want to change the choice field from drop down to MultiChoice. How to Update choice field SchemaXml using powershell. Also how to get SchemaXml property.
1
vote
1answer
3k views

Restore-SPSite : <nativehr> error and Content DB schema different

We have 3 SP2013 on-premise standard farm in the company. One for development, one for test and then production. We deployed the 3 farms at the same time and all of them have patched to "June 2014 CU"....
0
votes
1answer
298 views

ViewData filed in the Schema.xml is not defined in the JSLink script

I have defined a site column which is rendered based on another column's information. Since I am not going to show that other column I define it in like: <ViewData> <FieldRef Name="...
2
votes
1answer
65 views

What is PreviousID

I have a field in my list and not sure why it has PreviousID attribute. I have the same list in the same farm but in the different web application and does not have this attribute. <Field Type="...
0
votes
1answer
161 views

SP 2013 - Search Schema - People Result Query

I added a field to "Manage User Properties" in user profile. The field name is Exclusion and it's boolean to exclude certain users from people search. I have a powershell that uses some logic and ...
0
votes
1answer
1k views

Update schema version in order to BackUp/Restore

I have two different SharePoint farms. One's schema version is 15.0.4420.1017 and the new one is using 15.0.4569.1000. The oldest is hosted on W2008R2 (all-in-one server), and the new one is hosted ...
5
votes
1answer
2k views

What is purpose of 'View' with 'BaseViewID' set to '0' in schema.xml of List Definition?

In Visual Studio 2010 when I create a List Definition the schemal.xml file looks something like this: <Views> <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE"> ...
1
vote
1answer
8k views

New line break in SharePoint column description

I am provisioning a list declaratively in Visual Studio. In the schema for the list I want to include a field that has multiple lines of text for its description. Currently I have this in the schema....
1
vote
1answer
1k views

Adding a Custom Form to an Existing List Schema

Scenario A list is deployed using the OOB forms. Production data is added. We now need to add a custom form to the list. The forms are added using this approach: <Forms> <Form Type="...
4
votes
1answer
636 views

What is diffrence between SPContentDatabaseSequence and SPContentDatabaseSequence2

When i am inside Mange Content Database settings page inside my farm, i see 3 different Schema Version for my content db as follows: I understand the first listing that is Microsoft.SharePoint....
3
votes
0answers
760 views

Disable search on file content

I have to refine my search schema to not search for the content of files (e.g. Excel file). I only want it to search for the metadata I have defined for the files. How do I do this? There are tons of ...
0
votes
1answer
2k views

Where are List View definitions stored?

Where can I find the raw definition within the Content database of a View on one of my Lists. I've found the list in AllLists and the View, I think, in AllDocs. But from there the trail is cold. I ...
0
votes
1answer
89 views

Playing with SP Database, will it break SP directly?

I am ready about SharePoint databases and what could happen if someone messes with them, all I've seen is that they can affect the upgrade of SharePoint because messing with them could change the ...
1
vote
0answers
151 views

How to get SPFeatureDefinition for Generic List in sandboxed solution

When creating custom list programatically from schema Add method needs SPFeatureDefinition object of the base list used. SPListCollection.Add method (String, String, String, String, Int32, String,...
2
votes
1answer
4k views

How to display thumbnail of image in picture library view?

I have created a view in Picture Library's schema file. I want to display the thumbnail of the image with fields. My code for view is: <View BaseViewID="13" Type="HTML" WebPartZoneID="Main" ...
3
votes
2answers
6k views

Custom composed look do not appear in “change the look”

I've got: - custom master page - custom color palette - custom font schema - and made a preview file --> deployed to farm In the "composed look" list everything looks right. But when I go to "...
4
votes
3answers
4k views

List schema.xml, change newform.aspx to custom layouts file

I have created 'myUI.aspx' file @ /_layouts/myproject/myUI.aspx. This application page(aka LayoutPageBase) is used as a dialog across the farm just for creating new items in my list. As such I would ...
0
votes
1answer
43 views

How can I make sure that if the startdate column is null in the list view display the item anyway in the schema file

I have a list with 2 different views one that shows all items and one that shows current items. But if startdate is null the item wont show up on current view. startdate should be nullable. How can i ...
0
votes
1answer
95 views

Develop Custom List in VS2010 with checkboxes from another list

I am developing a custom list definition within Visual Studio 2010 for SharePoint 2010, I have ran into a problem with adding a field which will be choice and will use items from another list on the ...
2
votes
2answers
1k views

List Instance of Survey

So far I manage with the below sample to deploy a list instance of survey from VS2012, how ever I cannot seem to add the question in the Im getting always when deploying "Error occurred in ...
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". ...
1
vote
1answer
642 views

ampersand (&) in list definition custom form URLs

I want to use more then 1 query param for custom list form. So, this is XML definition: _layouts/MyPage.aspx?param1=x&param2=y When custom form is called for new listitem it sending ...
1
vote
0answers
69 views

Getting custom form to work in Sharepoint 2010

I built a custom new form for a page and in the schema file I did the following: <Form Type="NewForm" Url="NewForm.aspx" WebPartZoneID="Main" /> So it looks for my custom form. It works fine ...
0
votes
1answer
95 views

Full schema for View

How would I fetch all Fields for specified View via web-service? P.S. When I call GetView on Views.asmx, only visible Fields appear. [EDIT] I fetch schema for my list (with Lists.asmx#GetList), ...
1
vote
1answer
237 views

Customactions not binding to content type

Facing a strange and frustrating issue just before Christmas :-( Heres the scenario: I've got a custom content type, list schema , the whole works all exported from another site using the Sharepoint ...
5
votes
4answers
4k views

Can't rename “Title” field in List Definition

I can't rename "Title" field to "Unit Type" Here is my Schema.xml: <?xml version="1.0" encoding="utf-8"?> <List xmlns:ows="Microsoft SharePoint" Title="PrCenter - StatisticsDef" ...
11
votes
3answers
13k views

Sharepoint 2010 XsltListViewWebPart on site definition template

Im having a problem placing the XsltListViewWebPart on my Default.aspx template (relevant code bellow) <WebPartPages:WebPartZone runat="server" ID="NewsItemsList"> <ZoneTemplate> ...
3
votes
1answer
2k views

How do you clear the list schema cache for a re-deploy without rebooting the SharePoint server(s)?

In our development environments we need to re-deploy our codebase on a regular basis. We go through a deployment process where we do the following steps (all through PowerShell): Delete our old site ...