web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to read word document file into c# code behind that is coming from sharepoint.

(0) ShareShare
ReportReport
Posted on by 6

Hi ALL,

     I am getting a word document file path that is coming from the sharepoint , 

e.g (http://server:portnumber/KYRA/Java, Samatha_299bdf54-cd37-e211-810e-0019b9dc8028/2012-11-26 13-30-08 PM samatha java.docx)

when i click on this it get's downloaded to local system.

My requirement is that

1).I want to read this file in c# code behind.

2).Ones it's Read into the memory stream then i want to convert this into plaintext.

All the operation i want to do in c# code behind As this is the web application .

Kindly suggest me the Resolution for this.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hello,

    This is not Share Point forum, but you can use share point sdk to read file stored in document library

    Check this: www.c-sharpcorner.com/.../how-to-downloadread-excel-file-from-sharepoint-library-using-excel-services

    Thanks

  • EmployeeOcta Profile Picture
    6 on at

    I did a mistake in saying that  i am already having that file location in my hand , i want to just processed that record in In-Memory ,

    so what do i need to do to process this content.

  • Suggested answer
    Bas van de Sande Profile Picture
    4,383 on at

    Hi EmployeeOcta,

    From your text it is not clear in what environment you are working. In case you want to access the SharePoint document through CRM. You can write a plugin that is registered on the retrieve event of the specific entity.

    I hope this points you into the correct direction

    Bas

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans