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
31 views

Block css on a menu generated from XML

I have this XML statement for a menu <MenuItem> <Title>Group</Title> <Url>#</Url> <Items> <MenuItem> <Title>HR</Title> <...
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. ...
0
votes
1answer
463 views

How InfoPath data is stored in database?

How InfoPath data is stored in database? Is it XML or some other format? Can I import excel data to an existing InfoPath web template?
0
votes
1answer
122 views

XML Document Missing Column / DataBinding: 'System.Data.DataRowView' does not contain a property with the name 'myColumn'

I kept getting the above error when trying to bind an XML document to a GridView. The problem is that some of the XML documents were missing the column and some weren't for some unknown reason. The ...
0
votes
1answer
481 views

Target a Document Library Event Receiver to a Library with a Space in the URL

See XML below. When I attempt to activate the feature I get the error "The list "Test List" doesn't exist. Please fix the ListUrl attribute. <?xml version="1.0" encoding="utf-8"?> <...
0
votes
1answer
35 views

differences in the XML returned in a DVWP vs list.asmx webservice for a plain text field with a URL

I'm trying to figure out why the XML returned in a DVWP is different then what is returned with the list.asmx webservice for a plain text field with a URL in it. I have a list with a plain text field....
1
vote
1answer
1k views

Modify list item field using PowerShell

I have a list field that stores an XML string. I am trying to get the XML contents and modify a particular tag in the XML like so: foreach($item in $list.Items) { if($item["XMLField"].Contains("...
1
vote
1answer
78 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
513 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? ...
5
votes
1answer
1k views

Download RSS feed as xml file from Sharepoint Online using PowerShell

How it is possible to download xml file out of this feed (website) using PowerShell? I can authenticate with sharepoint using CSOM but do not what to do next. As service user is not administrator I ...
1
vote
0answers
243 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
55 views

Cannot find right configuration for ReceiverAssembly

I have a custom SPFeatureReceiver, which is supposed to run upon the activation of the feature. The Feature.template.xml has been modified to this: <?xml version="1.0" encoding="utf-8" ?> <...
1
vote
1answer
271 views

ows_EncodedAbsUrl results in 404 Not Found

I'm querying SharePoint 2010 SOAP services using GetListItems. My understanding is that the URL for each item should be ows_EncodedAbsUrl. For regular lists of baseType=0, the URLs that come back ...
0
votes
2answers
220 views

OpenXml and SharePoint

I am developing a web-part that will generate word-documents. The word-documents are generated on the basis of a template document which has defined content controls. I want to retrieve data from ...
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
1answer
56 views

How to Read XML attribute?

I have XMl file that has various file attachments when the attachment is empty the xsi:nil="true" will be set so i want to read this attribute
0
votes
1answer
272 views

Setting the value of a boolean XMLElement

I'm having a problem when assigning a value to a Boolean check/tick box within InfoPath xml code. I've created text boxes using inner text values but this gives the error of an incorrect data type. ...
0
votes
1answer
4k views

Get and Alert All z:row Elements

I am using SPServices to get the list items I want returned to me from a specific list. I know how to find a particular element using this the GetListItems function without a problem. Is there a way ...
0
votes
2answers
284 views

How to watch/monitor the xml from a sharepoint webservice request/response?

I am using some c# .net webapplication. This webapplication is execute some webmethods from a webservice from SharePoint. It is doing some CRUDS functionality on a document library. Is it possible to ...
1
vote
1answer
224 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 ...
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
119 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 ...
1
vote
2answers
348 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
467 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
2answers
2k views

SharePoint 2013 Search Results in raw XML

I'm setting up some Search Query Webparts but we have a LOT of managed properties (1,200+). So it would have been great to be able to see a search result in raw XML in order to know, which properties ...
1
vote
1answer
254 views

Custom Ribbon Logos Not Showing SharePoint Online

I have built an application that is working great. However, I'm trying to use logos on these custom actions which are targeted towards document libraries and show up in the Library and Files Tab. (...
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 ...
0
votes
0answers
926 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 &...
1
vote
1answer
358 views

Available documentations about the “alerttemplates.xml” fields name and layout classes

I want to modify the default alerttemplates .xml alert template. But seems the only way to hide, display and change the components format is to know exactly the name of each components . Such as the ...
10
votes
1answer
239 views

SP2010 custom ranking model filetypes

I have a custom ranking model which works great. But is it possible to give some page layouts higher ranking than others? I started trying this with file types as a lot of the examples are using ...
0
votes
5answers
1k views

Access Denied on ListView Web Part

I have a SharePoint App that I am creating for SharePoint Online. I am leveraging the out of the box SharePoint Snippet in Visual Studio using the listview snippet. List View Snippet: <...
2
votes
2answers
375 views

jquery to get xml, file urls ending with x_.000 instead of file name

I'm trying to return the URL of some attachments for a topic. I try to do the following to receive the url: $(document).ready(function() { GetFiles(); }); function GetFiles() { ...
0
votes
1answer
27 views

ItemAdding Method

I have a method to call ItemAdding and in this method I call another method. This other method creates a number for the item that was added. However, if two people call this code at the same time, ...
2
votes
1answer
601 views

SharePoint 2013 Custom Ribbon Action inside Custom Group

I am trying to make a Custom Ribbon Action within Visual Studio. This works perfectly fine but I would like the Custom Action to reside in a custom group. I've seen lots of helpful(ish) threads/videos ...
1
vote
1answer
155 views

Different articles in XML Viewer Web Part have different font sizes and styles

I am using an XML Viewer Web Part to display an RSS Feed from a blog on a company website. The problem is that in the viewer, different articles have a different font size and style, whereas I would ...
0
votes
1answer
103 views

How to make title size bigger than article in XML Viewer

I am using an RSS feed in my XML viewer web part to display a company's blog from their website. It works, but the only problem is that the title of the article is the same font size as the article ...
0
votes
1answer
650 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
155 views

SharePoint 2010: Open .webpart file in Web Part Gallery in browser like .xml file

I am migrating from WSS 3.0 to SharePoint Server 2010. In WSS in the Web Part Gallery, I could open .xml files for a custom Web Part in the browser, as long as they had the < ?xml... > tag. With ...
0
votes
1answer
1k views

Wrong format by ddwrt:Today()

I made a display form for my list and I had to insert the current date into text. I found this code: <xsl:value-of select="ddwrt:Today()"/> and it's working, but in Designer I see correct ...
0
votes
1answer
234 views

How can I build or adapt a form to display/edit data across several lists?

I've been set the task of building a form that should be accessible as an edit form associated with a list, but should edit fields across several lists. The data model is: List with Item info (MAIN) -...
0
votes
2answers
1k views

GetListItems working with ows_metadata and viewfields

This situation is not far out but is a conundrum... I am using GetListItems to query a SharePoint 2010 list. My restrictions on the list are: return back only a few select fields (on top of the the ...
2
votes
1answer
2k views

SharePoint 2013 Custom Action Menu Item Logo?

I am wrapping up the development of a custom action on a menu item within SharePoint and have a requirement to add a logo to it. I have done some reading on this and it doesn't appear to be as ...
0
votes
1answer
372 views

Bulk creation of content page (in SitePages)

I have been asked if it is possible to do a bulk creation of a number of pages, into the "SitePages" folder on SharePoint 2013. I have seen some references on the web of how to achieve this via XML, ...
0
votes
1answer
40 views

Webpart, bad TitleIconImageUrl url

My website url is: mysupersite.com/sites/thesite I want to put an image with TitleIconImageUrl in the webpart. I have: <property name="TitleIconImageUrl" type="string">/_catalogs/...
1
vote
1answer
90 views

Feature Upgrade on XML defined lists

I had created a project that defined some content types and lists via XML. After it's release we need to make some updates to this feature to include some new functionality. My concern is that since ...
1
vote
1answer
2k views

The element cannot contain child element because the parent element's content model is text only Error

I want to provision the field using feature. I have a field which is of type Calculated and the xml for the column is like below: <Field Type="Calculated" ID="{71D763F4-CD20-420D-9E0E-...
2
votes
2answers
3k views

How to retrieve the OOB Xml field with powershell?

In Sharepoint there are many OOB list with a field "Xml". For example, by running this: $url = http://sharepoint.domain.com $site = Get-SPSite $url $site.rootweb.lists["User Information List"]....
0
votes
1answer
126 views

Saving XML in SPListItem

I have written a custom comment box control which saves the data in a XML format into the relevant field of a SPListItem. Is there a limitation to what amount of data can be stored in a field and will ...
1
vote
2answers
2k views

How to read and output the XML within an SPFile?

I have this line of code that retrieves an XML file and saves it as an SPFile object SPFile XMLFile = SPContext.Current.Web.GetFile("C:\\Users\\maleem\\Documents\\XMLTest.xml"); I want to get the ...
1
vote
1answer
2k views

Custom Ribbon Sharepoint 2013 Custom Action with javascript

I would create a custom ribbon in Sharepoint 2013. I created my APP-Sharepoint Hosted APP and I have added my Custom Ribbon . This Custom Ribbon, with a click under it, must open a dialog box or ...