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.

86 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
2answers
161 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
1answer
729 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-...
2
votes
0answers
64 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
79 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
337 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-...
2
votes
2answers
643 views

Group a list view by a particular column

I'm trying to create a ticket system, but I have a small issue. I'm trying to group the existing items, in categories, based on the drop-down column "Status". Ex: All tickets with status "Open" ...
1
vote
0answers
46 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
41 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
1answer
215 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
0answers
889 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
49 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
85 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
155 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
94 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
353 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
339 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
59 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
134 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
62 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
715 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
160 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
1answer
159 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
1k 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
0answers
660 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
266 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
1answer
84 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
594 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
0answers
253 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
1answer
237 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 ...
1
vote
2answers
383 views

Hours and Minutes calculation in Dataview webpart

I have a DataView Webpart, to display XML data using XML File connection. I use the below formula to calculate the day difference between 2 dates: "(number(ddwrt:DateTimeTick(ddwrt:GenDisplayName(...
1
vote
0answers
485 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
145 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
1k 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
66 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
457 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
1answer
599 views

Dropdown menu with XML data source gives web part error

I am using SharePoint designer to build a page with a data view web part that displays the contents of a 6,000 record XML file that is structured like the example below with each "Details" element ...
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
431 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
341 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
20 views

XML Viewer webpart (server-side) - how to add XML file with C# commands

I would like to lie to you, I'm a total noob when it comes to any sophisticated changes on Sharepoint and I'm stuck (as for now I operated mostly via web interface to create some of the libraries, or ...
0
votes
0answers
23 views

How to transform XML with XSLT on SharePoint Online?

On SharePoint 2013/2016, if I use the option to view file in browser, my XML would be transformed with the XSLT file along with other CSS and JavaScript files. However, on SharePoint Online, it opens ...
0
votes
0answers
22 views

Read Write file using csom

I was wondering, if there is any suggestion to read write the files from local machine using CSOM. Scenario : i have one .xml file and one .txt file, now i need to copy content from .txt and paste ...
0
votes
0answers
9 views

Accessing PM Onlne via SOAP UI

Does anyone know what the requirements are to make a connection to PM Online via SOAP UI? I have a valid user but all I get is an XML response: <m:error xmlns:m="http://schemas.microsoft.com/ado/...
0
votes
0answers
19 views

SharePoint HTML conversion

I all new to this so I may be making a rookie error. I am trying to use the SharePoint design manager to convert a HTML site and I am just using a HTML template from adobe for now. When I try and do ...
0
votes
0answers
11 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
42 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
27 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
208 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 ...