Questions tagged [xml]
XML is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.
288 questions
11votes
4answers
6kviews
How to avoid _metadata in a REST response (listData.svc)
I am pulling data from a SharePoint list with listData.svc, and _metadata represent more than half of the response content. Is there a way to return list fields only, without the metadata? Below an ...
10votes
3answers
5kviews
How to add list web part to the SharePoint page using Managed Client Object Model?
I am trying to add new web part to the SharePoint page using Managed Client Object Model that will display a list. I can't seem to be able to figure out the code of the web part's XML that is ...
10votes
1answer
252views
SP2010 custom ranking model filetypes
I have a custom ranking model which works great. But is it possible to give some page layouts higher ranking than others? I started trying this with file types as a lot of the examples are using ...
8votes
3answers
13kviews
Deploying List Instance - LookupMulti Type Column in XML
So I have been able to populate rows with Lookup type fields as such: <ListInstance ... > <Data> <Rows> <Row> <Field Name="LookupColumn">2;#...
8votes
6answers
17kviews
Set "Allow management of content types?" set to "Yes" within a Content Type or List Definition
How do you set "Allow management of content types?" to "Yes" within a Content Type or List Definition?
7votes
1answer
2kviews
Pnp provisioning : Provision a 2 List Webpart Page using jslink with xml template
I have the big question for you : How to provision a simple page with 2 ListView Webpart? What i want : I am provisioning a simple page (using OneColumns layout) via pnp and remote provsionsing. My ...
6votes
1answer
557views
SharePoint XML Web Part dynamically adding xml link
Is there a way to dynamically insert a variable in the <XMLLink> --variable here--</XMLLink> tag? I'm trying to read an URL parameter which will contain the xml files path. What I am ...
5votes
3answers
9kviews
Javascript to get GUID from SharePoint
I am newbie to SharePoint and I am uploading a file to the server using javascript. Now the task is to get the GUID of that file and display it ({alert(guid); is fine). I don't even know where to ...
5votes
1answer
2kviews
Download RSS feed as xml file from Sharepoint Online using PowerShell
How it is possible to download xml file out of this feed (website) using PowerShell? I can authenticate with sharepoint using CSOM but do not what to do next. As service user is not administrator I ...
5votes
4answers
3kviews
403 Forbidden on Web Service
I am trying to consume a SharePoint Web Service GetListItems. The below is the XML request from SoapUI: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="...
5votes
1answer
577views
SP Online: Can you map a crawled property to a refinable managed property using export/import or PowerShell?
We have a SPFx solution and a requirement for which we need to map a crawled property to a RefinableDateXX managed property. We would like to ensure the proper search schema upon deployment, even if ...
5votes
1answer
3kviews
How to retrieve webpart xml-definition programatically
I have a Custom Webpart deployed in the Site, to which I need to retrieve the XML definition programmatically using Client side object model, can anybody help? EDIT: I used the following code. ...
4votes
1answer
586views
Online Prayer Time in Sharepoint
I need to get online prayers time for where ever city user is sitting and accessing application. and after that i need to customize it(getting prayer values and implement) Can you please help me with ...
4votes
2answers
5kviews
Set column order in contenttype
I've added some site columns with an xml file and also created my contenttype in the xml. After deploying, a feature creates a lookup to another list (with c# code). How can I set te column order in ...
4votes
1answer
4kviews
Dynamically setting Default Value in ParameterBinding through Javascript
To make a long story short (too late), we have a dropdownlist that is populated through a list of items. We want to use this dropdownlist to filter the list in a data view web part. This works ...