Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
11 views

Deployment Error in SharePoint APP SPFx

Additional article idea i've made two XML File: one for elements and the other for the schema. Elements.xml: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft....
0
votes
0answers
17 views

Rollup image showing html code instead of physical image in list view

I have some code(Sharepoint 2013 high trust provider hosted add-in) that creates a list and adds some fields to it. One of the fields is a rollupp image/Publishing Image that i add with this xml ...
1
vote
1answer
118 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 ...
1
vote
0answers
15 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 ...
0
votes
1answer
13 views

Query.RankingModelID - empty

In SharePoint KeywordQuery, if query attribute RankindModelID will have empty string assigned to it - will search engine use default ranking model for given search application instead?
1
vote
2answers
48 views

How to get ErrorCode value using jQuery from bellow SPServices xml response

How to get ErrorCode value using jQuery from bellow SPServices xml response: <Results xmlns="http://schemas.microsoft.com/sharepoint/soap/"> <Result ID="1,Update"> <ErrorCode>...
0
votes
1answer
355 views

Pnp provisioning a sharepoint list

I am new to PnP. I have an existing site collection in SharePoint Online, however I want to add site columns and create new custom lists in it through template.xml. I do not want to change anything ...
0
votes
1answer
16 views

having trouble loading XML into dropdownlist control

I'm working with a GridView table and have a dropdown control inside of it. my main task here is create a cascading dropdown with a webpart I'm designing. to that end, the XML file is supposed to ...
1
vote
1answer
54 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
31 views

whats difference between xml query with sql query?

I need to know advantages and disadvantages XML query and SQL query for SharePoint report.when we have large data which one has best performance? which one is faster?
3
votes
0answers
127 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 ...
0
votes
1answer
387 views

SharePoint O365/Online Default value for Person or Group field with XML or CSOM

I am trying to put a default user into a People or Group data type into a SharePoint Online list. Is this possible using CSOM or the XML definition? This is what i have tried: - XML <Field ...
0
votes
0answers
83 views

SharePoint XML Visualization

I have a SharePoint document library with about 40 XML files of the same datatype. I would like to visualize the contained data within SharePoint. The requirement is that I click on a button or link ...
1
vote
0answers
323 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
34 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 ...
0
votes
1answer
74 views

SP13: Custom Advanced Searching Web Part Options

using SharePoint 2013 and editing advanced searching web part Scenario: I know you can disable some of the things that appear as advanced searching options in the properties window but I want to add ...
0
votes
2answers
308 views

Sharepoint XML export to Excel - can you convert?

There are some data stored in sharepoint List which uses XML as the source. I used javascript to make it look good on sharepoint BUT when exporting to Excel - obviously - it does not copy the format ...
3
votes
1answer
48 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/"> &...
1
vote
1answer
609 views

How to get webPart XML with powershell from SharePoint WebPart Gallery

I want to get web part XML from SharePoint Web Parts Gallery(not locally) for add webpart into a List page. This is my code: $spWeb = Get-SPWeb $webURL $spSiteCollection = Get-SPWeb -Identity $...
1
vote
1answer
68 views

SP16 - Cannot create Calculated column with Powershell

This XML syntax is working: $HolidayWorkID = "<Field Type='Number' Name='HolidayWorkID' DisplayName='HolidayWorkID Group='Holidays' />" But this doesn't working: $HolidayReportMonth =...
2
votes
1answer
220 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="$...
0
votes
1answer
159 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?
1
vote
1answer
395 views

How to check in file in SharePoint using R?

I am able to upload a file to SharePoint folder through a shiny app from a Rshiny server. However, I am not able to check in the file. Any advice please? I am not able to implement the suggestion ...
0
votes
1answer
47 views

Generate a excel with data from multiple lists?

we have a requirement , need to generate a excel report from multiple SharePoint lists(SharePoint 2013). can any one help on this what is the better approach to do or any reference URLs available. ...
2
votes
1answer
269 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 ...
2
votes
1answer
279 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.) ...
1
vote
0answers
54 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(...
3
votes
2answers
103 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 ...
1
vote
0answers
107 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 ...
0
votes
1answer
19 views

How to deploy different files in single feature for mulitple subsites?

I need to deploy different images into picture library for different sub sites in a single feature, I mean I have five images, I need to deploy the first two image in the site collection, third image ...
0
votes
1answer
172 views

Set no to Allow this site to appear in search results using XMl and c#?

I need to set No for Allow items from this list to appear in search results? for my custom list, so I achieved this by following PowerShell scripts //Get the list which was created SPList spList = ...
0
votes
1answer
69 views

Convert form to xml

Is there a way to turn a form or the information in the form to XML without code. Once a user submits the form i want to take the information (fields) into XML to then email it off. Is this possible?
0
votes
1answer
284 views

Exporting the site columns' xml schema will not show all the site columns properties (ShowInEditForm is missing on some columns)

I have sharepoint farm 2013 on-premises. i wrote the following powershell script to export all the site columns properties which are inside the "Custom columns" group. now i wanted to document the ...
1
vote
0answers
66 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 ...
3
votes
1answer
90 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 ...
0
votes
1answer
220 views

How can we convert a SharePoint 2013 wiki page into xml?

Can anyone please suggest how to convert a SharePoint 2013 wiki page to XML and vice a verse, i.e. xml to the sharepoint wiki page?
1
vote
1answer
658 views

How can I Download/Access SharePoint Online Documents using PHP / XML / SOAP?

I am working on a web project that involves connecting to SharePoint Online via PHP and accessing the files stored on it. But I am extremely new to all this, and have hit a wall. I have the URL of ...
1
vote
0answers
225 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) ...
2
votes
0answers
46 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
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 ...
2
votes
0answers
61 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 ...
1
vote
0answers
55 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
1answer
464 views

SharePoint Branding HTML Conversion

I've done branding many times before but a new issue popped up today. I use Muse to design my sites, but today when I converted the master page from html to a SharePoint master page I got a ...
2
votes
0answers
252 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
2answers
612 views

How to modify XsltListViewWebpart XmlDefinition property using powershell?

I'm using Sharepoint 2010. I've looked and tested several methods to try to do what is describe in the title of this post, but none of them are working. In the best case, the so called attribute is ...
0
votes
0answers
146 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 ...
1
vote
0answers
105 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(...
0
votes
0answers
124 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
1answer
465 views

Pnp & remote provisioning : how to enable metadata navigation for a list or library via xml template?

it's me again. Going deeper and deeper into PnP and remote provisioning is like a roller coaster experience. We can do so much things ! And yet, there is like no real formal documentation. What i ...
6
votes
1answer
1k 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 ...