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 :
Customer Service forum

Dynamics CRM 365 PLUGIN

(0) ShareShare
ReportReport
Posted on by

Hello,

I'm developing a plug-in to send my attachments to SharePoint, but i need to use these references from the Nuget  SharePointPnpCoreOnline:

using SP = Microsoft.SharePoint.Client;
using OfficeDevPnP.Core;

Dynamics doesn't permited to use external dll in plug-ins, so i found the "ILMerge" to merge two dll, it work for some people, but i don't know how to use this.

I'm using dynamics Online and SharePoint Online.

I tryed to use SharePoint REST API, but i don't know how to start my plugin,

Please Help me

Categories:
I have the same question (0)
  • Community Member Profile Picture
    on at

    Hello,

    I'm developing a plug-in to send my attachments to SharePoint, but i need to use these references from the Nuget  SharePointPnpCoreOnline:

    using SP = Microsoft.SharePoint.Client;
    using OfficeDevPnP.Core;

    Dynamics doesn't permited to use external dll in plug-ins, so i found the "ILMerge" to merge two dll, it work for some people, but i don't know how to use this.

    Please Help me

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Are you Online or OnPremise?

    For Online, you need to use SharePoint REST API's to connect to SharePoint.

    Refer this sample code: code.msdn.microsoft.com/SharePoint-Integration-c5f21604

    Hope this helps.

  • Community Member Profile Picture
    on at

    I'm using Online. I already create a consoleApp to do this, using that references... For plugin i realy need to use Rest APi?

  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi DanHenrique,

    This article will teach you how to use ILMerge. ILMerge is not supported so use it at your own risk.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Yes, beucase you can't use to those dll's in the cloud environment. Refer the sample I shared above.

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi DanHenrique,

    Please do not create duplicate thread on the same issue, delete any one. If the suggestions didn't work, update the thread and post your finding to get further suggestions. 

    What is the issue you are facing with REST API's?

  • Community Member Profile Picture
    on at

    I didn't understood how to conect my plugin to rest api. You have any documentation to help me? I saw a lot of documentations but every is with onpremise Share Point. I need to use SharePoint and Dynamic Online.

    And how can i get the token from SharePoint for authentication?

  • Community Member Profile Picture
    on at

    Thank you very much. I'm couldn't open the solution because it is VS 2012, but i'm trying to se the code

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans