This is a migrated thread and some comments may be shown as answers.

How to import a docx document from a Sharepoint document library

1 Answer 65 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Luis
Top achievements
Rank 1
Luis asked on 28 Jun 2011, 03:21 PM
Hi guys,

I 'm creating a proof-of-concept for one project using a trial version of the RichTexBox control. I would really appreciate your assistance for the following scenario:

  • I created a Silverlight application containing the RadRichTextBox and saved it to a Sharepoint document library
  • I created a custom webpart and embedded the Silverlight application
  • I deployed the web part to a Sharepoint site
  • I have a many word docx documents stored in a Sharepoint document library
  • I need to import a document, edit it and save it back to the document library

How can I achieve the last step? I'm currently trying to use the Sharepoint Copy service to download the files, but I'm not getting any result.

Thank you in advance.

1 Answer, 1 is accepted

Sort by
0
Luis
Top achievements
Rank 1
answered on 29 Jun 2011, 03:06 PM
I was finally able to achieve this by using the Sharepoint Client Object Model to get the file URL and then use the Web Client to download it and import it.
Tags
RichTextBox
Asked by
Luis
Top achievements
Rank 1
Answers by
Luis
Top achievements
Rank 1
Share this question
or