0
votes
2answers
32 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 ...
0
votes
1answer
24 views

Sharepoint list to XML including the headings?

We store data regarding Scrum sprint retrospectives in a SharePoint list. I have to create a chart for visualizing this information (which is not part of this topic/problem), so I need to somehow ...
1
vote
2answers
59 views

Error while adding a Calculated column to a list using Client Object Model

I am trying to add some fields to list using the client object model. Everything is working except the Calculated field. Every time SharePoint gives the error: An error occurred while parsing ...
0
votes
2answers
234 views

Generating the Word Document with SharePoint list data

I have an issue with exporting the list data from sharepoint to microsoft word (docx). Basically, the export succeeds, I can move the data from the list to the word document using xml (XElement etc) ...
1
vote
3answers
497 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
189 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 ...
1
vote
1answer
78 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 ...
0
votes
1answer
318 views

How to get Site Map of ASP.NET page from where I am navigated to current page

I want breadcrumb trail from where I navigated to the current page and want to add an extra node to it. For example: I was here A > B > C > D > E (E has a link to Z) now I am here A ...
0
votes
1answer
817 views

How to find invalid character in SharePoint item value

I try to create a dataset with Reporting Services from a SharePoint list (inside the root web). When I want to build the query for the dataset I get the following error: ...
1
vote
1answer
126 views

Missing XML namespace in results from List Service?

Related: http://stackoverflow.com/questions/11235139/how-to-get-this-attribute-using-linq-to-xml I am pulling the following data from the SharePoint list service: <Result ID="1,New" ...
1
vote
1answer
477 views

getting SPList data using HttpWebRequest

I want to get SPlist data using HTTPWebRequest but not sure how can i do it, here's the code I made until now, // Create a web request to get the xml feed HttpWebRequest ...
1
vote
1answer
231 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 ...