Questions tagged [openxml]

OPENXML provides a rowset view over an XML document. Because OPENXML is a rowset provider

Filter by
Sorted by
Tagged with
1 vote
0 answers
58 views

insert spreadsheet table into msword content control block using open xml [closed]

i got table object from excel sheet now i want to insert that table into microsoft word content control block by programatically. i can add any text into content control block but not able to insert ...
Hitesh Chandegara's user avatar
1 vote
1 answer
719 views

Using SP.FileCreationInfo to modify an .xlsx or .xls file

I'm trying to create a client-side solution where customers can download a template .xlsx document populated with data filtered from a SharePoint list. I know that JavaScript generally isn't used to ...
ams264s's user avatar
  • 45
0 votes
2 answers
379 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 ...
Ilyas's user avatar
  • 1,341
0 votes
1 answer
743 views

Saving Changes OPENXML with PowerShell

Just wondering if someone could point a SharePoint and Powershell newbie in the right direction. We have a problem where some legacy documents in our system have an attachedtemplate which references ...
user25207's user avatar
1 vote
0 answers
793 views

How to apply “Table Style Medium 4” template formatting to excel created using open xml?

Hi I have a few datatables (No DataSet). I have created a method which will write datatable to excel. after writing data from datatable to excel, I will again call the same method of excel generation ...
Gaurravs's user avatar
  • 3,558
4 votes
1 answer
1k views

Upload document in Document Library using memorystream programmatically

I opened existing word document using openxml. Now i need to upload the same document into Document library with memory stream. If i did so my content controls inside the word document gets ...
Suren's user avatar
  • 407
1 vote
2 answers
1k views

SharePoint Error The remote server returned an error: (403) Forbidden

I am working on a Sharepoint Application with Office 365. It is an Auto Hosted App and I want to get the file (excel) stream from document library so i can use openXML to perform further operations. I ...
Sage Shah's user avatar
  • 255
1 vote
3 answers
2k views

URI format not supported -

I am trying to read excel file from "Shared Documents" of SharePoint. The function i used to read excel file from C Drive using openXML It works fine but it doesn't work with SharePoint URL. // ...
Sage Shah's user avatar
  • 255
1 vote
1 answer
831 views

How do I run Microsoft Open XML code to extract data from a Word document in SharePoint 2010

I have a need to extract arbitrary data from a Word document (docx) that has been uploaded into a SharePoint document library and place it into a column in the document's list record. As far as data ...
Code Jockey's user avatar
0 votes
1 answer
2k views

How to update Excel Sheet In SharePoint 2010 (Sharepoint Online)?

I am working with SharePoint Online(Office 365). I have some Excel files uploaded in a SharePoint library and I need to update one of the file data using c# code. My solution in Sandbox solution. I ...
Viraj Gorajia's user avatar
1 vote
2 answers
1k views

OpenXML and WebPart Solution Deploying to Live Server

I have the OpenXML SDK installed on my development machine, and I have written a webpart solution that basically creates an excel file using the OpenXML dll. This solution is a full farm solution not ...
Cann0nF0dder's user avatar
  • 1,813
3 votes
2 answers
954 views

OpenXML in a sandboxed web part Sharepoint 2010

Is is possible to use OpenXML in SandBox. CODE: WordprocessingDocument myDoc = WordprocessingDocument.Open(mem, true); The above class WordprocessingDocument is giveing error as ERROR: The type ...
Marcus's user avatar
  • 43
2 votes
1 answer
254 views

Count Number of Words existed in Word Document

Hello Group members, I have a document,Where When I upload the document in document library or in List then I need to count the total number of words existed in Word Document ...
MSA's user avatar
  • 1,155