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 [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.

2
votes
1answer
681 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-...
1
vote
1answer
92 views

SharePoint 2010 RSS Viewer Web Part Accepting .XML File

I am trying to use the RSS Viewer web part on a team site and it accepts Feed URLs that end in .rss but when I insert one that ends in .xml, it doesn't load the content. Has anyone else experienced ...
1
vote
1answer
123 views

Can't find field data in Sharepoint list using SOAP

I'm stuck trying to find some data in a Sharepoint list. I have the list ID, using the List Service GetList method I can see that the field I'm looking for is attached to the list. When I try to use ...
1
vote
1answer
825 views

importing HTML into Sharepoint

I'm successfully importing an XML files into Sharepoint as wiki pages, following this template. However, the HTML that's in the XML is being imported as text, so my page reads "<p>Hello World<...
1
vote
1answer
76 views

Create a Cross Site Lookup in a declarative way

I can declare a lookup field with this line: <Field ID="{3EA24157-1C11-41CB-AA01-5EEEF93C2603}" Name="NewField" DisplayName="New Field" StaticName="NewField" ...
1
vote
1answer
481 views

Programatically remove “custom xml data” from Office docs in SP?

In Word 2013, if you open a document there's an option to "Check for Issues" and this gives you the option to remove custom XML data. Is there a way to achieve this programmatically with powershell? ...
1
vote
1answer
212 views

Unable to get “Description” into SharePoint 2010 search results XML

I'm failing terribly at adding a field to my search results. The fields (external) name is "description" and is, to my knowledge, not custom made but out of the box. The Webpart settings already ...
4
votes
0answers
163 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 ...
2
votes
0answers
55 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....
2
votes
0answers
73 views

How to apply conditional formatting to multiple checkboxes?

For each entry there are about 20 checkboxes ( yes or no ) across. How do I apply conditional formatting to set a style depending on whether the value is yes or no across multiple checkboxes? At the ...
2
votes
0answers
307 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
16 views

Exporting Sharepoint online XML file to external database

To start, I am currently using SharePoint Online. I want to connect to Edge Technologies. Heres what I want to happen: 1. XML file is uploaded to a sharepoint document library on a sharepoint site 2. ...
1
vote
0answers
27 views

Taxonomy for Single line of text

I'm building a FAQ Accordion with SharePoint lists and I have the previous metadata working with TaxonomyFieldType but how do I target a single line of text? Column title: FAQKeywords ( Single line ...
1
vote
0answers
467 views

VBA: Get request on a SharePoint list

I'm trying to get elements of a Sharepoint list with VBA to show and use them in an Excel sheet. The normal get request on MSXML2.ServerXMLHTTP60 Dim xmlObj as Object Dim sUrl as String sUrl = "...
1
vote
0answers
39 views

Searching for attribute value from XML document using Search

I have around 500 XML documents in SharePoint Library and I need to search content in files. I am able to search for values from nodes. But I am not able to search for attributes of nodes and ...
1
vote
0answers
76 views

Can not load rss in SharePoint 2013 project

I have webpart which render the last news from rss channel with url: http://habrahabr.ru/rss/company/my_company/blog. I use: var doc = new XmlDocument(); doc.Load(...
1
vote
0answers
127 views

strip out div and CDATA in Sharepoint Online list XML

I have used PowerShell to export the SharePoint list to the XMl. The data from the list are tagged inside "<description><![CDATA[<div><b>"; Is this normal ? Is there anyway to ...
1
vote
0answers
77 views

Two columns under one groupheader in a Summary Links WebPart 2013

Does anyone know how to have two columns (.dfwp-list) under one .groupheader in a summary links webpart? It seems that with some HTML, a table could be created with two columns, but not sure how to ...
1
vote
0answers
291 views

Lookup site column created using powershell will have an empty source list

I am working on a sharepoint server 2013 on-premise. and i run the following power-shell script to create a lookup column :- #Create site column from XML string $web.Fields.AddFieldAsXml($fieldXML) ...
1
vote
0answers
337 views

Add a link to display form on custom column using powershell?

I read several solutions that advice to use SharePoint Designer to modify the column xml definition. I would like to know if there is a way to do the same by using PowerShell. I have a really large ...
1
vote
0answers
58 views

What is the best practice to build some timer job in Azure to read xml and create list item?

I have some businese case where I need to build some timer job. This timer job will be scheduled 1 time each day. It will read in some folder all xml files. For each xml file the job needs to get some ...
1
vote
0answers
121 views

What is needed to provision a list with a ratings column? (Average rating)

I am trying to create a page library with a ratings columns. I've been able to create other columns just fine, but the ratings one is giving me issues. var context = new SP.ClientContext(...
1
vote
0answers
43 views

I am unable to compile the audience targeting while creating a new rule by using powershell script and xml?

I am unable to Compile the audience targeting while creating a new rule by using PowerShell scripts and XML file. I selected SPS-location property. while complying It throws an error message An ...
1
vote
0answers
565 views

PnP : Error in OfficeDevPnP.Core.dll : Object reference not set for ListProvisioning

Working on Sharepoint Online with PnP Provisioning Schema of 2015/12 (here). When provisioning my website with Libraries, I'm stepping into some error that i don't understand. What i have : a web ...
1
vote
0answers
131 views

Remove CDATA tags when importing HTML into Sharepoint

I want to import HTML into Sharepoint AS HTML. Right now, Sharepoint is wrapping my text in CDATA tags. I'm creating an enterprise wiki page, then assigning $wikiPage["PublishingPageContent"] = $...
1
vote
0answers
582 views

Reading Each XML Node in Powershell to create list in SharePoint

I have an XML file which I got from running webservices of below format. It contains each List name in the site collection under node. Now using this file I have to create lists in another site ...
1
vote
0answers
244 views

CAML query results multiple row for people picker field with multiple value in SharePoint webservices

Below is the SharePoint web service I am using to get list items from a SharePoint 2007 calendar list. The calendar list has a people picker field which can have more than one user. Now as I run the ...
1
vote
0answers
237 views

Creating XML file from document library document properties

I have many documents in document library with different content types. For each document metadata (document properties) in the library i want to create XML file. How can i create XML file from each ...
1
vote
0answers
461 views

Search Results XSLT add filename property and render document link

I'm attempting to configure the custom XSL for core results search web-part in 2010. The goal here is: Include File name property as a search target Display Link directly to the file I've ...
1
vote
0answers
141 views

SharePoint 2013 Online o365 and Very large external data for a Data dictionary solution

We have a very large SQL data source. That SQL database in on Prem and really secured tight - no update allowed. It's one of many data sources we plan to use to produce an enterprise wide Definition ...
1
vote
0answers
837 views

Execution of scripts was prohibited. Use the XsltSettings.EnableScript property to enable it

I have created a custom field in SharePoint 2010. I have a xsl file which does the Xslt rendering for item display in list view. I need to add some C# code to the xslt code. So I included code as ...
1
vote
0answers
63 views

What is SPXmlDocCache & SPXmlDocCacheRefreshSentinel

I am getting UpdatedConcurrencyException: The object SPXmlDocCacheRefreshSentinel was updated by another user. in ULS during a web application scoped feature uninstall (as part of a solution uninstall)...
1
vote
0answers
444 views

update xml file within doc library using jquery ajax

I can read values from xml files that are posted within a document library using jquery ajax, but can I update those values then save/post them back into the document. i.e. can I update the contents ...
1
vote
0answers
87 views

Wierd format of Modified date and PublishingStart

Iam having trouble with date formats of these two fields: Modified and PublishingStartDate. They are different in format. Iam attaching how they display on my computer. I have regional settings set to ...
1
vote
0answers
344 views

Automatically create a list based on dynamic xml

I am trying to set up a SharePoint page as follows (using SPdesigner), but don't know if it is possible and where to start. We want a page where a list is displayed, and the content of the list ...
1
vote
0answers
399 views

Load full list XML into JavaScript variable via CEWP

Currently I am using the lists.asmx webservice to POST a soap envelope and return specific list items. I really want the whole contents of the list. I realize how large that might get, but if this ...
1
vote
0answers
339 views

Rules for Transforming List Column Names into XML Element Names

I am using the ListData.svc service to pull data from several lists. Many of the column names have punctuation and spaces, so their names are transformed as they're rendered as Atom in the ListData ...
0
votes
0answers
14 views

Retrieve csv file data using sharepoint webservices with foramt

i have access to our sharepont via webservices , using OAth2 i retrieve the token first , then using the token i will retreve the data of a csv file. but while retrieving the data of the csv file am ...
0
votes
0answers
12 views

Provisioning Quicklinks

I have a request to create a template that includes a QuickLinks web part. I noticed that PNP exports the web part like this: </pnp:CanvasControl> <pnp:CanvasControl WebPartType="QuickLinks" ...
0
votes
0answers
24 views

Combine PnP templates with master template

I would like to create a smart way to manage large templates with as less manual work as possible. So, I created a small script to export different parts of a site collection like: $parts = "Lists","...
0
votes
0answers
173 views

How to Install and deploy a custom XML indexing connector for SharePoint Server 2016

I have gone through the link https://blogs.msdn.microsoft.com/xml_connector_for_sharepoint_2013/2012/10/01/create-a-custom-xml-indexing-connector-for-sharepoint-2013/ and trying to implement the ...
0
votes
0answers
143 views

JS File in custom ribbon button loads on all pages

We have a custom ribbon button and we have added code to refer JS file in it. The ribbon button is bound to content type. <CustomAction Id="MyProject.RibbonButton" Location="ScriptLink" ScriptSrc ...
0
votes
0answers
257 views

Issues exporting “Person or Group” type column to XML - SharePoint 2010

We are trying to export SharePoint List to XML by building an url of the format - http://{0}/_vti_bin/owssvr.dll?Cmd=Display&List={1}&XMLDATA=TRUE {0} – The URL to your site. This could be ...
0
votes
0answers
196 views

Need to get folder,file items using REST

I have used REST url as: _api/web/Lists/GetByTitle('MediaGallery')/Items?$expand=Folder,File&$select=Title,FileSystemObjectType,Title_Ar,Folder/ServerRelativeUrl,Folder/Name,File/Name,File/...
0
votes
0answers
1k views

Caml LookupId and LookupValue

I need to get the LookupId value and the lookup text value by CAML. With this query I get the ID but I can not get the value text anymore. <RSSharePointList xmlns:xsi="http://www.w3.org/2001/...
0
votes
0answers
113 views

Fieldref - open in new window

I want to know how to make in SharePoint so that a link by FieldRef opens in new window. I have got some column and one with a link which opens, but only the same window. Sharepoint 2013 <View ...
0
votes
0answers
908 views

How to do a Drop down list in ribbon?

I use SharePoint Online and Visual Studio 2013 and have created a Ribbon Custom Action. How do make it into a ribbon dropdown list? Would be helpful if you can post things that I can use in my XML &...
0
votes
0answers
224 views

Can you set field properties in Custom List View declaratively?

Background, I created a custom list view. FriendlyDisplayFormat on "Modified" is set to Unspecified so the result is that we get as seen in the first image: But if we change the value of the to ...
0
votes
0answers
95 views

Create multiple data records in one go in SharePoint 2007 (storage in an XML Data Source)

what I'd like to do is to create multiple data records (of one type) in one call to the server. The solution needs to work in SharePoint 2007 and the data is stored in an XML Data Source, i.e. an XML ...
0
votes
0answers
660 views

XML Viewer Web part: filter/setting/javascript/jquery to dynamically point to xml file

perhaps this is a silly question, but is there a way to use a filter, or some script, or a setting or something like that, in SP2010 to allow a user to select various xml documents from a library and ...