upload document to sharepoint programmatically

Proposed upload document to sharepoint programmatically

  • Freitag, 29. Juni 2012 17:24
     
     

    Hi,

    I have created plugin to get email attachments from CRM my next step was to upload the attachments to Sharepoint

    I tried using CopyIntoItems method of the Copy web but I am getting below error

    Could not find default endpoint element that references contract 'SPCopy.CopySoap' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract could be found in the client element.opy server of sharepoint

    I tried the code in console application and it worked fine

    I have tried to copy the app.config to bin folder of CRMWEB but no luck

    I have tried ref Sharpoint client dll but the DLL works with .ne 3.5 and CRM DLLs work with CRM 4.0

    I am sure that people used to develop plugin before for CRM and sharepoint integration in previous crm Version

    Please advice

    Thanks

    Marwa

Alle Antworten