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
0answers
8 views

I need to take some XML/SP Services code and rewrite using ajax

I was given this XML code and they would like to convert it into ajax code. I have never worked with XML/SP Services and I am not sure if what I have done is right. var accID = 'AIRLINES'; var ...
0
votes
0answers
21 views

I was given a XML web part that uses SharePoint Services. I need to convert it into an ajax/JSON webpart

I was given an old webpart using SP services and XML. I was requested to use Ajax. This is the first time I do this kind of conversion and I am not sure if I am doing it correctly. When I open the ...
0
votes
0answers
13 views

How to sync Sharepoint list with several xml files?

Every Element in my SharePoint list has to retrieve its Data from several xml files. I have already build a parser that imports all elements in the SharePoint list. The problem now is that some ...
0
votes
1answer
20 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.
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
0answers
13 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
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
29 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
1answer
26 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 ...
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
40 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
54 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
21 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;...
2
votes
1answer
131 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
24 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
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
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
85 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
814 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
128 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
185 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
954 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
577 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
44 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
114 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
472 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
68 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
139 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
259 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
244 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
716 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
522 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
495 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
81 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
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 ...
1
vote
0answers
139 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
20 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
277 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
99 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
399 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
89 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
171 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
332 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
1k 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 ...