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.
7
votes
3answers
1k 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 ...
5
votes
2answers
1k 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
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 ...
4
votes
0answers
115 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 ...
3
votes
5answers
325 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
521 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
1answer
1k 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
1k 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 ...
2
votes
2answers
3k 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?
2
votes
1answer
205 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
244 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
1answer
548 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
2answers
206 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
2answers
854 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
2answers
765 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… ...
2
votes
1answer
37 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
338 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
2answers
538 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
249 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
2answers
240 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
1answer
785 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
695 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
30 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¶m2=y
When custom form is called for new listitem it sending ...
1
vote
1answer
35 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
3answers
105 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
77 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
1k 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
574 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
71 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
401 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
294 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
63 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
2answers
616 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 ...
1
vote
1answer
266 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 ...
1
vote
1answer
178 views
If I need to update the InfoPath's XML File in sharepoint? Is it possible to do it?
I'm very new at SharePoint, please forgive my stupid questions or mistake....
Currently I'm in the process of updating the SharePoint Server. I would like to update the InfoPath Form in SharePoint ...
1
vote
1answer
260 views
RSS feed for library is blank
We're on SharePoint 2010 and trying to get the RSS feed of a library. The "Allow RSS for this list" is set to Yes. On the library, we go to Library > RSS Feed and we see "Site Name: Library Name" but ...
1
vote
1answer
194 views
Sharepoint 2010 XML schemas
When developing in Sharepoint I noticed you eventually end-up editing lots of XML files: Feature.Template.xmls, Package.Template.xmls etc.
Although VS is helpful with auto-completion, I don't really ...
1
vote
1answer
399 views
Xml defintion of Field and FieldRef elements and the precedence of attributes
Anybody out there with a good understanding or a good reference of how the attributes that make up a custom list definition apply to the list columns when you define Fields and FieldRefs in multiple ...
1
vote
1answer
281 views
Re-create new Content Type using SchemaXml of an existing Content Type
I have the XML schema information (SPContentType.SchemaXml) of a content type. I am looking for a method that takes this information to recreate the content type at a different location?
Thank you.
...
1
vote
1answer
83 views
SharePoint 2007 List as Datasource for SSRS 2005 - Query invalid and formating SharePoint Dates?
I have this XML query that pulls all entries and fields from a SharePoint list.
<Query>
<SoapAction>http://schemas.microsoft.com/sharepoint/soap/GetListItems</SoapAction>
...
1
vote
1answer
55 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="">
...
1
vote
0answers
89 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
3answers
151 views
applicationSettings ignored in web.config
I've written a feature assembly that includes an SPFeatureReceiver. I can successfully deploy the feature's WSP, the assembly goes to the GAC, and the feature (mostly) does what it's supposed to. ...
1
vote
0answers
52 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
0answers
230 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
231 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
1answer
52 views
Parsing custom field type
I developed a custom field type for List, now I am trying to get list data using SharePoint list web services in "K2 workflow" I can get all fields values except this custom field type as I am not ...
1
vote
2answers
136 views
The replicated buttons on the ribbon do not work
I recreated a few buttons from the ribbon; I used the same XML to define the buttons.
The OOTB buttons are located on the ribbon in the contextual tab in lists. I want to take a few buttons like ...
