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.

Filter by
Sorted by
Tagged with
10
votes
3answers
4k views

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 ...
10
votes
3answers
4k views

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 ...
10
votes
1answer
239 views

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 ...
8
votes
5answers
15k views

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?
7
votes
3answers
11k views

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;#...
7
votes
1answer
2k views

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 ...
5
votes
3answers
8k views

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 ...
5
votes
1answer
1k views

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 ...
5
votes
1answer
2k views

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. ...
5
votes
1answer
457 views

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 ...
5
votes
0answers
192 views

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 ...
4
votes
1answer
258 views

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 ...
4
votes
2answers
5k views

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 ...
4
votes
1answer
3k views

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 ...
3
votes
5answers
584 views

Proxy page for Office 365

I am working on an Office 365 (SharePoint Online) website, and I am looking for a way to retrieve data (xml, json) from remote sites that don't necessarily support JSON-P or CORS. I could use an XML ...
3
votes
2answers
2k views

Error while adding a Calculated column to a list using Client Object Model

I am trying to add some fields to list using the client object model. Everything is working except the Calculated field. Every time SharePoint gives the error: An error occurred while parsing ...
3
votes
2answers
1k views

What is the best practice to implement search to index XML files?

In our SharePoint solution we need a service which can search and index XML files. At this moment we are using FAST, but are there other tools / applications / solutions which are free and easy to ...
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.
3
votes
1answer
2k views

Managed Metadata field full path

I've added a custom Managed Metadata field in my custom contenttype but need to show the full path. Anyone knows how to do this? (if possible with xml, else with c#) XML so far: <Field ID="{...
3
votes
1answer
537 views

How to recreate a view by xml?

I can retrieve the xml data of a view which is stored in the [WSS_Content].[dbo].[AllWebParts] table. example of decompressed content of a view: <root> <ViewFields> <FieldRef ...
3
votes
1answer
71 views

SharePoint Online Add-In: Initialize List with DateTime Field: String was not recognized as a valid DateTime

I want to initialize a list in a SharePoint Online Add-in with the following XML: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> &...
3
votes
2answers
2k views

Listdata service with managed metadata or multivalue columns

The PowerPivot team just posted a white paper on Using SharePoint List Data in PowerPivot, which is awesome. Now I can slice, dice, and analyze the contents of a document library I manage. Except… ...
3
votes
1answer
188 views

Using Values from an XML File as Variables in a Workflow?

I'm trying to create a workflow for a list that will automatically take two values from an XML added to the list and set them as variables in SPD. The ultimate goal of this is to assign tasks to ...
3
votes
1answer
648 views

How to create view declaratively for sharepoint list?

I have a web part in which I am displaying the item title as a link. I want user to redirect to the custom view which displays only that product information. I need to pass the query string parameter ...
3
votes
2answers
614 views

CAML query not filtering data on search

I have a code with an XML query that I believe is correct but for some reason, when I type anything into the web apps search textbox, it appears to filter but actually just pulls 100 of the rows at ...
3
votes
2answers
133 views

Updating SharePoint artifacts declaratively

Content types cannot be updated declaratively. In other words, if a content type is a part of solution package, deploying new version of the content type will not make any changes to existing content ...
3
votes
4answers
2k views

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="...
3
votes
1answer
711 views

CAML batch query - valid XML?

The standard format of a CAML batch query is as follows: <?xml version="1.0" encoding="UTF-8"?> <ows:Batch OnError="Continue"> <Method ID=""> <SetList>288a3dfc-ec52-45aa-...
3
votes
0answers
299 views

Custom XML Document Content Type with ASP.NET Forms in MOSS 2007/WSS 3.0 [closed]

I'd like to create a custom content type in SharePoint 2007 (WSS 3.0) that inherits from the existing XML Document content type (i.e. an InfoPath form) but I want to use custom ASP.NET forms to edit ...
2
votes
1answer
757 views

How to partial disabling 'Open to Explorer' Ribbon Action

I'm disabling, for all user Rights, the 'Open with Explorer' button in the SPRibbon with the following code: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft....
2
votes
2answers
561 views

Configuration File for Features

I am creating some features in SharePoint 2010. I need to have some settings for all the features that I intend to keep in a xml file that should get deployed to 14 hive. On feature activation, ...
2
votes
2answers
3k views

Is it possible to style mobile list views?

I have been working on a task to style mobile lists views and since then, I have been unable to find a solution in terms of how I could get the views styled. So I am starting to wonder if is it really ...
2
votes
2answers
3k views

How to retrieve the OOB Xml field with powershell?

In Sharepoint there are many OOB list with a field "Xml". For example, by running this: $url = http://sharepoint.domain.com $site = Get-SPSite $url $site.rootweb.lists["User Information List"]....
2
votes
1answer
3k views

The DataSourceID of 'V4QuickLaunchMenu' must be the ID of a control of type IHierarchicalDataSource

I am trying to make a left navigation bar to SharePoint 2010 with this teckniq=http://www.helpmeonsharepoint.com/2012/03/custom-sharepoint-top-menu-and.html I Have got this Error massage: The ...
2
votes
1answer
2k views

How to get site ID without access to central admin or powershell

I was trying to follow this post for setting the owner of a SharePoint group using client side code. Evidently the REST /_api/web/sitegroups(id)/owners endpoint isn't functional. The XML formatting ...
2
votes
1answer
507 views

Set Sharepoint online document columns filled by XML file

Is there any way how to set metadata of specific document by XML file? For example We have OCR system which can store information about document in XML file (invoice number, supplier, date, etc.) ...
2
votes
1answer
781 views

InfoPath - Populate text box from dropdown list

I've been playing around with info path, watched countless YouTube videos but I cant seem to find a way to populate two text boxes that are linked to a drop down selection. I would like the user to ...
2
votes
1answer
657 views

How can I save SPList in XML?

I have some SPLists in my SP. I take some one List like that Guid listGuid = Guid.Parse(listID); and watch id SPList list = web.Lists[listGuid];. But i don't know how i can save list in xml file in ...
2
votes
1answer
601 views

SharePoint 2013 Custom Ribbon Action inside Custom Group

I am trying to make a Custom Ribbon Action within Visual Studio. This works perfectly fine but I would like the Custom Action to reside in a custom group. I've seen lots of helpful(ish) threads/videos ...
2
votes
1answer
2k views

SharePoint 2013 Custom Action Menu Item Logo?

I am wrapping up the development of a custom action on a menu item within SharePoint and have a requirement to add a logo to it. I have done some reading on this and it doesn't appear to be as ...
2
votes
2answers
11k views

Populating a Sharepoint list column from an XML file?

I have an XML file of currency conversions: https://www.dropbox.com/s/jhv6ms2v6s796z0/Screenshot%202013-11-29%2009.51.46.png I need to pull in a couple of these live to a Sharepoint list (this XML ...
2
votes
3answers
789 views

Site doesn't allow anonymous login but I want a public RSS feed

I am trying to figure this one out. My site is configured not to allow anonymous login. That said, I want to provide an XML file of list items to be consumed by a public website on another server. ...
2
votes
1answer
463 views

Overriding search control, contextual scope as default

I have a strange problem regarding the overriding of search delegate control in SharePoint 2007. The purpose of why i override it is to set drop down mode to show contextual scopes as default aka ...
2
votes
2answers
848 views

How do I prevent SharePoint Designer from adding a Byte Order Mark to my XML files?

We have some hand crafted XML files we use for various rss needs. Whenever a dev updates the file, SharePoint Designer adds an UTF-8 byte order mark to the beginning of the file causing some parsers ...
2
votes
2answers
1k views

XML view on SharePoint 2010

I exported the XML file of the metadata of a GIS database. I want to view this data on SharePoint 2010. I don't want to see the code, I want to actually see the way it looks in ArcCatalog. How can I ...
2
votes
1answer
144 views

Custom Action XML, add Ribbon button to calendar

Can You help to add custom button to Calendar. I have code for Document Library, but have no clue how to do same for Calendar. I see ribbon names in DevTools and tried to change groups and xml ...
2
votes
1answer
263 views

how to create a calculated fields programmatically

I need to create a calculated item , which has: the ID of the item, the created date and title. How to do this combination in xml. i tried this code : <Field Type="Calculated" DisplayName="$...
2
votes
2answers
375 views

jquery to get xml, file urls ending with x_.000 instead of file name

I'm trying to return the URL of some attachments for a topic. I try to do the following to receive the url: $(document).ready(function() { GetFiles(); }); function GetFiles() { ...
2
votes
1answer
1k views

How to show XML weather in sharepoint?

I'm quite a newbie with sharepoint and especially in XML. I would like to show this weather info in my Sharepoint. I'm using XML web part & XSLT formatting. http://api.openweathermap.org/data/2.5/...
2
votes
1answer
802 views

Hiding Fields in Forms in List Instances Based on List Definitions

I have a list definition that I've created in XML, and multiple list instances based on that definition. On the base list definition I am hiding certain fields from the new item form in the list ...