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
0
votes
1answer
631 views

Set a date in an InfoPath form to null

I'm trying to write an InfoPath form from code. I'm working with the xml of a form, and when I write a date it gives me no error but when I open the form in SharePoint and click on Save, it says that ...
0
votes
1answer
19 views

Bulk uploads in XML Form libray

I would like to know how can I import 500 records (in an Excel file) to XML form library in SharePoint Online. This XML form library was created with InfoPath 2013.
0
votes
1answer
2k views

How to bind tree view with XMLdatasource dynamically in c#

I have a scenario where I have a SPListItemCollection of SharePoint 2013 and I have to bind tree view with XMLDataSource. I have to add nodes to XML and iterate to add child nodes also but all these ...
1
vote
0answers
11 views

InfoPath Cascaded drop-down menu using xml [closed]

Any examples anyone can share on creating a 3 or 4-level cascaded drop-down in InfoPath using XML? The last part is important because I only want the very last entry to be bound to a column. The ...
0
votes
1answer
657 views

XSLT output of XML not showing on SPS WEBPART for RSS Feeds

XSLT code been used to showcase CSS content in SPS 2013 via OOTB - XML Webpart. Tested my XSLT on w3school with the required XML file and output looks great. However, doesnt shows when placed in the ...
3
votes
1answer
703 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
870 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<...
0
votes
0answers
11 views

Extracting Data from manifest.xsf file using PowerShell

Hi I trying to extract information about the rules that are applied to a number of InfoPath forms, and I am using Powershell to do so. I have unpacked the template.xsn file, and found the manifest....
0
votes
1answer
28 views

Get Sharepoint list in XML

I found a way to export my sharepoint list in XML but it's not working on my new tenant So if I try to do it on my new tenant, I get all meta data between <s:Schema></s:Schema> but I ...
0
votes
2answers
21 views

Should Document library versioning be enabled when storing XML files?

Should Document library versioning be enabled when storing XML files? I know the advantages of turning it on for MS office documents. Does it do any good turning it on for XML files and folders?
0
votes
1answer
24 views

infopath files not opening in the browser

Env: sharepoint 2013 I have a document library where we have custom infopath forms. There are many completed forms files stored in doc library which we can open and view after clicking on the name of ...
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="...
0
votes
0answers
20 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
32 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
1answer
1k views

Automatically update InfoPath Form fields(XML) when a field is updated in the SQL Database

I am working on a client's SharePoint 2010 solution, and I need to do some integration with SharePoint and our ASP.NET MVC Solution. There are two parts of this development: The clients side and our ...
0
votes
0answers
52 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
1answer
25 views

provide a SPOSiteDesign from XML instead of JSON

Is there a way to provide a modern ui site template based on an XML file? This doesn't seem to work. $site_script = Get-Content -Path "./siteTemplate1.xml" -Raw $SiteScript = Add-SPOSiteScript -...
1
vote
1answer
19 views

I need XSLT to filter XML by passing node values with pipe symbol

My input xml: <?xml version = "1.0" encoding = "UTF-8"?> &lt;InfoReturn> &lt;LicenseInfo> &lt;licenseType>1&lt;/licenseType> &lt;...
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. ...
2
votes
1answer
120 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 ...
1
vote
0answers
23 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. ...
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?
1
vote
1answer
1k 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
2answers
2k views

Sharepoint 2010 custom fields xml <PropertySchema>

lately I have been trying to develop a custom field (cascading dropdown) for sharepoint 2010. I am using the sample from codeplex. the problem is that the sample is for sharepoint 2007 and uses the ...
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 ...
1
vote
0answers
28 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
19 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
83 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
789 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
17 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
123 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
34 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?
5
votes
0answers
183 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
895 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 ...
1
vote
0answers
544 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
43 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
113 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
463 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
65 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
1k 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
130 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
256 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
241 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
700 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
62 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. ...
3
votes
1answer
509 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
480 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.) ...
3
votes
2answers
132 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
80 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
133 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 ...