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.
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.
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?
Any xRM examples out there that I could use?