Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

File retrieve from SharePoint Library which is stream is null

$
0
0

i'm trying to attach a doc which is in a SharePoint Library to an email in CRM 2011 sdk. I got it but when I do :

quote.OpenBinaryStream()

I have : {Microsoft.SharePoint.Client.ClientResult} Value: null

Here is my objet quote :

quote {Microsoft.SharePoint.Client.File}
base{Microsoft.SharePoint.Client.ClientObject}:{Microsoft.SharePoint.Client.File}
Author:{Microsoft.SharePoint.Client.User}
CheckedOutByUser
:{Microsoft.SharePoint.Client.User}
CheckInComment
:""
CheckOutType
:None
ContentTag:"{965D5828-C751-4E74-B9F7-570FB0FD10E8},1,1"
CustomizedPageStatus
:None
ETag:"\"{965D5828-C751-4E74-B9F7-570FB0FD10E8},1\""
Exists:true
Length:8
Level:Published
ListItemAllFields
:{Microsoft.SharePoint.Client.ListItem}
LockedByUser:{Microsoft.SharePoint.Client.User}
MajorVersion
:1
MinorVersion:0
ModifiedBy
:{Microsoft.SharePoint.Client.User}
Name:"devis_3.txt"
ServerRelativeUrl
:"/sites/GED/account/Aiguillon EHPAD/quote/dev 03/devis_3.txt"
TimeCreated
:{05/12/201314:46:47}TimeLastModified:{05/12/201314:46:47}
Title
:nullUIVersion:512UIVersionLabel:"1.0"
Versions
:{Microsoft.SharePoint.Client.FileVersionCollection}

Anyone can explain me why the stream is empty?

Thanks


Viewing all articles
Browse latest Browse all 79901

Trending Articles