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.

learn more… | top users | synonyms

8
votes
3answers
3k views

How to add list web part to the SharePoint page using Managed Client Object Model?

I am trying to add new web part to the SharePoint page using Managed Client Object Model that will display a list. I can't seem to be able to figure out the code of the web part's XML that is ...
7
votes
3answers
2k views

How to avoid _metadata in a REST response (listData.svc)

I am pulling data from a SharePoint list with listData.svc, and _metadata represent more than half of the response content. Is there a way to return list fields only, without the metadata? Below an ...
4
votes
3answers
5k views

Deploying List Instance - LookupMulti Type Column in XML

So I have been able to populate rows with Lookup type fields as such: <ListInstance ... > <Data> <Rows> <Row> <Field ...
4
votes
1answer
178 views

SharePoint XML Web Part dynamically adding xml link

Is there a way to dynamically insert a variable in the <XMLLink> --variable here--</XMLLink> tag? I'm trying to read an URL parameter which will contain the xml files path. What I am ...
4
votes
1answer
2k views

Dynamically setting Default Value in ParameterBinding through Javascript

To make a long story short (too late), we have a dropdownlist that is populated through a list of items. We want to use this dropdownlist to filter the list in a data view web part. This works ...
3
votes
5answers
453 views

Proxy page for Office 365

I am working on an Office 365 (SharePoint Online) website, and I am looking for a way to retrieve data (xml, json) from remote sites that don't necessarily support JSON-P or CORS. I could use an XML ...
3
votes
2answers
6k 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?
3
votes
2answers
682 views

What is the best practice to implement search to index XML files?

In our SharePoint solution we need a service which can search and index XML files. At this moment we are using FAST, but are there other tools / applications / solutions which are free and easy to ...
3
votes
2answers
2k views

Set column order in contenttype

I've added some site columns with an xml file and also created my contenttype in the xml. After deploying, a feature creates a lookup to another list (with c# code). How can I set te column order in ...
3
votes
3answers
3k views

Javascript to get GUID from SharePoint

I am newbie to SharePoint and I am uploading a file to the server using javascript. Now the task is to get the GUID of that file and display it ({alert(guid); is fine). I don't even know where to ...
3
votes
2answers
1k views

Listdata service with managed metadata or multivalue columns

The PowerPivot team just posted a white paper on Using SharePoint List Data in PowerPivot, which is awesome. Now I can slice, dice, and analyze the contents of a document library I manage. Except… ...
3
votes
1answer
190 views

How to create view declaratively for sharepoint list?

I have a web part in which I am displaying the item title as a link. I want user to redirect to the custom view which displays only that product information. I need to pass the query string parameter ...
3
votes
2answers
469 views

CAML query not filtering data on search

I have a code with an XML query that I believe is correct but for some reason, when I type anything into the web apps search textbox, it appears to filter but actually just pulls 100 of the rows at ...
2
votes
1answer
296 views

How to partial disabling 'Open to Explorer' Ribbon Action

I'm disabling, for all user Rights, the 'Open with Explorer' button in the SPRibbon with the following code: <?xml version="1.0" encoding="utf-8"?> <Elements ...
2
votes
2answers
339 views

Configuration File for Features

I am creating some features in SharePoint 2010. I need to have some settings for all the features that I intend to keep in a xml file that should get deployed to 14 hive. On feature activation, ...
2
votes
2answers
1k views

Is it possible to style mobile list views?

I have been working on a task to style mobile lists views and since then, I have been unable to find a solution in terms of how I could get the views styled. So I am starting to wonder if is it really ...
2
votes
1answer
984 views

Managed Metadata field full path

I've added a custom Managed Metadata field in my custom contenttype but need to show the full path. Anyone knows how to do this? (if possible with xml, else with c#) XML so far: <Field ...
2
votes
1answer
335 views

Overriding search control, contextual scope as default

I have a strange problem regarding the overriding of search delegate control in SharePoint 2007. The purpose of why i override it is to set drop down mode to show contextual scopes as default aka ...
2
votes
2answers
346 views

How do I prevent SharePoint Designer from adding a Byte Order Mark to my XML files?

We have some hand crafted XML files we use for various rss needs. Whenever a dev updates the file, SharePoint Designer adds an UTF-8 byte order mark to the beginning of the file causing some parsers ...
2
votes
1answer
128 views

How to show XML weather in sharepoint?

I'm quite a newbie with sharepoint and especially in XML. I would like to show this weather info in my Sharepoint. I'm using XML web part & XSLT formatting. ...
2
votes
1answer
170 views

Hiding Fields in Forms in List Instances Based on List Definitions

I have a list definition that I've created in XML, and multiple list instances based on that definition. On the base list definition I am hiding certain fields from the new item form in the list ...
2
votes
1answer
100 views

Promoting document metadata from xml

Is there a way to promote document metadata from XML input? MSDN states it's possible and that there's ever an XML built-in parser in place. However, after hours of searching the web I still don't ...
2
votes
2answers
788 views

External XML web services, not valid?

I'm trying to connect data from Exchange 2010 to a SharePoint site through SharePoint designer, using the ASMX web services Exchange 2010 exposed as a Web Service data source. I've already verified ...
2
votes
0answers
278 views

Custom XML Document Content Type with ASP.NET Forms in MOSS 2007/WSS 3.0 [closed]

I'd like to create a custom content type in SharePoint 2007 (WSS 3.0) that inherits from the existing XML Document content type (i.e. an InfoPath form) but I want to use custom ASP.NET forms to edit ...
1
vote
1answer
323 views

I want to make a weather webpart that displays temperature by using Api like Google or yahoo

I want to make a Weather web part form any api. I have searched on Google but could not find any good solution. So, any link or suggestion or steps for that?
1
vote
3answers
582 views

Uploading xml to document library won't start workflow

When I upload an xml document to a document library, the workflow associated with that document library won't start. Here is my the code I use to upload: using (SPSite site = new ...
1
vote
2answers
87 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 ...
1
vote
1answer
306 views

The DataSourceID of 'V4QuickLaunchMenu' must be the ID of a control of type IHierarchicalDataSource

I am trying to make a left navigation bar to SharePoint 2010 with this teckniq=http://www.helpmeonsharepoint.com/2012/03/custom-sharepoint-top-menu-and.html I Have got this Error massage: The ...
1
vote
1answer
1k views

Error code 0x81020073 when calling UpdateListItems of Lists.asmx web service

I am executing code in a program I have been working on that uploads files to sharepoint. I am uploading the file with HTTP PUT, then using the path to update the attributes. For a day or two I've ...
1
vote
6answers
893 views

Should I store serialized (to xml) object in SharePoint list?

A requirement of my website is that I pull down data from external sources. To pull down the data, I have created a timer job (SPJobDefinition). In this job, I need to store the external data ...
1
vote
1answer
99 views

How to add multi-key querystring to custom content type's custom form url?

I have a custom content type, inheriting from the WorkflowTask content type. I've configured the content type to point to a custom form, but the URLs are not working properly. <ContentType ...
1
vote
1answer
125 views

ampersand (&) in list definition custom form URLs

I want to use more then 1 query param for custom list form. So, this is XML definition: _layouts/MyPage.aspx?param1=x&param2=y When custom form is called for new listitem it sending ...
1
vote
1answer
68 views

XPath assistance [closed]

I created an XSLT translation for XML that looks like this that was workign as expected: <?xml version="1.0" encoding="utf-8"?> <bsar:BSAForm ...
1
vote
1answer
411 views

How to deploy custom context menu item?

I made a custom SharePoint application page and now I want to open it from edit control block (item context menu). My XML won't compile because it is telling me that I have illegal characters in the ...
1
vote
3answers
229 views

Site doesn't allow anonymous login but I want a public RSS feed

I am trying to figure this one out. My site is configured not to allow anonymous login. That said, I want to provide an XML file of list items to be consumed by a public website on another server. ...
1
vote
1answer
82 views

How to add XML file with event reciver

I am creating a event reciver for the list, for that i need to get some data from XML file. currently i have placed the xml file in my local system. Actually where do i need to add the xml file. Is ...
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 ...
1
vote
1answer
2k views

How to add a button at Page tab ribbon at publishing page?

Can you please help me in order to add a button at Page tab in publishing page. I am able to add the button in the documents library but I am not able to add the button at Page tab. Here is the XML ...
1
vote
2answers
846 views

How to order a group of web parts added dynamically?

Preface: I did not come up with this implementation, just dealing with it. I have a web part zone that gets 3 content editor web parts loaded into it dynamically through the feature receiver. The ...
1
vote
2answers
1k views

XML view on SharePoint 2010

I exported the XML file of the metadata of a GIS database. I want to view this data on SharePoint 2010. I don't want to see the code, I want to actually see the way it looks in ArcCatalog. How can I ...
1
vote
1answer
34 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
43 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" ...
1
vote
2answers
108 views

Sharepoint Multilingual App

I'm making an app with a custom list in multiple languages. Is there an easy way so that I only have to create the site columns, content type and list once? So I don't have to create them for each ...
1
vote
1answer
96 views

JSON Viewer WebPart

Is there a JSON Viewer webpart that functions in a similar manner to XML Viewer? Should I just use a DataView Webpart?
1
vote
1answer
37 views

Save Video Library contents to XML file on remote server

I have Sharepoint Foundation 2010, and one of my sites has a library which contains videos. What I want to do is have an XML file written to a directory on a remote machine, whenever the users update ...
1
vote
1answer
393 views

SPQuery on null lookupfield

I have a contact list with a company lookup field and I need to retrieve those without any company associated so I was thinking can I put it like this: <Query> <OrderBy> ...
1
vote
1answer
985 views

Creating Document with SharePoint 2010 Workflow: can I create xml file

So I found this resource on how to use SPD Workflow to create a new item (or document) in SharePoint 2010. This is exactly what I need because I can fill a field (column in a list) with the string ...
1
vote
1answer
492 views

Open link lists, attached and uploaded files in new tab

I would like to know how can I edit in SharePoint 2010 Standard version so that when a user clicks on any link list item, uploaded or attached files in a announcement and document lists to be opened ...
1
vote
1answer
82 views

The location of EmailLink command implementation

My question is regarding a command which is bound to an OOTB button. On the ribbon you have a button to email a link, so this buttons they have some commands like: EmailLink, EmailLibraryLink, etc For ...
1
vote
1answer
1k views

Customizing Alert Template XML

I need to alter the Alerts Template for a particular list, but don't even know where to begin. I know I need to make a copy of the xml file. Once I actually update the copy I need to execute some ...