title: Upload attachments to SharePoint in Dynamics CRM 2015 online
body: <p>I have a use case where I am building an internet facing asp.net web form for a user to submit a new record to CRM.  This web form links to a CRM online instance, which is integrated to a SharePoint online instance.  The user that logs into CRM, has access to SP as well.</p>
  
  <p>As part of this new record, I also want to give them the ability to add an attachment, and have that attachment go directly into the SharePoint document library/server that is linked to the CRM instance.</p>
  
  <p>I can see some SharePoint entities listed in the SDK like SharePointData, SharePointDocument, DocumentLocation, and Site, but cannot find any sample code on how to use them, or how to get a file into SP via the SDK?</p>
  
  <p>Any xRM examples out there that I could use?</p>