PluginRegistration | The classic CRM PluginsRegistration tool , now in XrmToolBox

 by   Innofactor C# Version: v3.1.0 License: No License

kandi X-RAY | PluginRegistration Summary

kandi X-RAY | PluginRegistration Summary

PluginRegistration is a C# library typically used in Apps applications. PluginRegistration has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

[Join the chat at This is special flavor of classical Plugin Registration Tool provided by Microsoft as CRM SDK code sample. It was adopted to the format of [XrmToolBox] plugin and itended to work with the same set of the Dynamics CRM versions as supported by main application.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              PluginRegistration has a low active ecosystem.
              It has 24 star(s) with 29 fork(s). There are 10 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 19 open issues and 65 have been closed. On average issues are closed in 324 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of PluginRegistration is v3.1.0

            kandi-Quality Quality

              PluginRegistration has no bugs reported.

            kandi-Security Security

              PluginRegistration has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              PluginRegistration does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              PluginRegistration releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of PluginRegistration
            Get all kandi verified functions for this library.

            PluginRegistration Key Features

            No Key Features are available at this moment for PluginRegistration.

            PluginRegistration Examples and Code Snippets

            No Code Snippets are available at this moment for PluginRegistration.

            Community Discussions

            QUESTION

            Dynamics 365 Web API - How can I register a step for a webhook using the web API?
            Asked 2020-Dec-20 at 20:29

            I am exploring the Dynamics CRM web API and trying to register a webhook that will trigger when entities (like contacts/accounts) are updated/created. I am able to create this setup using the PluginRegistration tool but I'd like to exclude the tool from my workflow. I'd like to register the webhook and the step through web API, if possible. I am able to register a webhook successfully - using a POST request to the following endpoint:

            ...

            ANSWER

            Answered 2020-Dec-20 at 20:26

            Probably an issue with single valued navigation property (lookup) assignment problem but the error message is a bit different though.

            I haven’t tested this payload, so pls test this. Btw CRM REST builder can be helpful in these scenarios for building web api snippets.

            Source https://stackoverflow.com/questions/65370223

            QUESTION

            Unable to login into PluginRegistrationTool - "Plugin Registration Tool stopped working"
            Asked 2019-May-16 at 14:25

            I have 2 different accounts with Dynamics 365 online, few hours back I was able to login with 1 account. But then suddenly when I tried to login with another account, it is throwing errors as below:

            And when I clicked on DEBUG button and opened it in Visual Studio, it gives error as below:

            System.Reflection.TargetInvocationException HResult=0x80131604
            Message=Exception has been thrown by the target of an invocation.
            Source=mscorlib StackTrace: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) at System.Delegate.DynamicInvokeImpl(Object[] args) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.MessageBox(HandleRef hWnd, String text, String caption, Int32 type) at System.Windows.MessageBox.ShowCore(IntPtr owner, String messageBoxText, String caption, MessageBoxButton button, MessageBoxImage icon, MessageBoxResult defaultResult, MessageBoxOptions options) at System.Windows.MessageBox.Show(Window owner, String messageBoxText, String caption, MessageBoxButton button, MessageBoxImage icon) at Microsoft.Crm.Tools.PluginRegistration.CommonControls.ErrorMessageViewModel.ShowErrorMessageBox(Window owner, String message, String caption, String exceptionMessage, UserControl usercontrol, Exception ex) at Microsoft.Crm.Tools.PluginRegistration.CommonControls.ErrorMessageViewModel.ShowErrorMessageBox(Window owner, String message, String caption, Exception ex, UserControl usercontrol) at Microsoft.Crm.Tools.PluginRegistration.MainViewModel.CreateConnections() at Microsoft.Crm.Tools.PluginRegistration.MainViewModel.b__1(Object s) at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
            at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore)
            at System.Windows.Application.RunInternal(Window window) at Microsoft.Crm.Tools.PluginRegistration.App.Main()

            Inner Exception 1: AdalException: multiple_matching_tokens_detected: The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements (e.g. UserId)

            As per my initial go through, it looks like there is some token issue here. So I tried even deleting my account from cache, VS2017 and also restarted my machine. But still this issue persist.

            PS: And when I tried to login with my 1st account which was working previously is no more working and throwing the same error.

            Help!

            I have already checked below link(s): Regarding Plugin Registration Using xxxx@xxxx.onmicrosoft.com Credentials

            ...

            ANSWER

            Answered 2019-Jan-08 at 13:51

            That Inner Exception makes more sense, looks like multiple tokens generated & stored for those user profiles in cache.

            Following the answers in SO thread, either users UPN got reassigned or some mess happened. PRT unable to overcome this.

            If you have not tried, try from a different machine.

            Source https://stackoverflow.com/questions/54073661

            QUESTION

            Unable to connect to Dynamics CE v.9.0 on-Premises
            Asked 2019-Jan-23 at 16:19

            I have a problem with connecting my .net 4.6.2 console app to our on-Premises Dynamics CE v.9.0 installation.

            I have the following code to connect:

            ...

            ANSWER

            Answered 2019-Jan-23 at 16:19

            I was able to fix the issue. The Problem was, that there was some mismatch in between our DB an the Deployment Manager. The following Steps fixed our Problem:

            • Delete the Organization in Deployment Manager
            • Import the Organization again from an existing Organization in Deployment Manager
            • Configure HTTPS (i think this was not necessary to fix the problem)

            Hope this helps others.

            PS: Here is a link that describes how you can configure HTTPS:

            https://docs.microsoft.com/en-us/dynamics365/customer-engagement/on-premises/post-installation-configuration-guidelines-dynamics-365

            Source https://stackoverflow.com/questions/54295736

            QUESTION

            Error Registering Dynamics CRM Plugin
            Asked 2018-Nov-26 at 11:32

            I have a plugin project built in C# that contains all of my plugins for Microsoft Dynamics CRM. The existing plugins are working correctly and appear to be updating correctly. However, when I attempt to register a new plugin, I am getting the below error.

            The event I'm trying to register is on an entity that already has a Create & Update event attached. I've seen some other questions about the Unable to load plugin type error, but none of them seem to indicate a specific plugin that can't be loaded. What am I missing here for registering a new plugin?

            Step Registration Settings

            Existing Registered Steps

            Error ...

            ANSWER

            Answered 2018-Jun-22 at 14:52

            We discovered that version 9.0.2.3 of the Microsoft.CrmSdk.CoreAssemblies was not compatible with our plugins. We aren't yet sure why this didn't work, but rolling back to version 8.2.0.2 resolved the issue.

            Source https://stackoverflow.com/questions/50729177

            QUESTION

            An error occurred while parsing the plugin profile from file
            Asked 2017-Nov-04 at 05:33

            I was connected CRM with Plugin registration tool of CRM SDK 2016 whenever i am uploading the downloaded error log file to debugger it's showing "An error occured while parsing the plugin's profile from file" could any suggest me where i am going wrong. The image is showing below:

            ErrorImage

            Unhandled Exception: System.ArgumentException: Unable to parse the OrganizationServiceFault. Parameter name: serializedReport at PluginProfiler.Library.ProfilerUtility.ExtractReport(String serializedReport) at PluginProfiler.Library.ProfilerUtility.DeserializeProfilerReport(String assemblyFilePath, String logFilePath, Boolean isCrmDataStream) at PluginProfiler.Library.ProfilerExecutionUtility.RetrieveReport(String logFilePath, Boolean isCrmDataStream) at Microsoft.Crm.Tools.PluginRegistration.CommonControls.Helper.ParseReportOrShowError(Window window, FileBrowserView profilePathControl, Boolean requireReportParse, ProfilerPluginReport& report) Inner Exception: System.InvalidOperationException: Message does not contain a serialized value. at PluginProfiler.Library.ProfilerUtility.ExtractReportFromFault(OrganizationServiceFault fault) at PluginProfiler.Library.ProfilerUtility.ExtractReport(String serializedReport)

            Except this, when log file is downloaded it contains the below error:

            ...

            ANSWER

            Answered 2017-Nov-04 at 05:33

            I recommend you below steps:

            1. Unregister the Plugin assembly & Profiler
            2. Download latest 365 SDK
            3. Register the assembly freshly using new PRT from latest SDK
            4. Install Profiler & try again
            5. Most important - The error log you shared cannot be used to debug using Profiler. It will be different

            Source https://stackoverflow.com/questions/47077009

            QUESTION

            CRM plugin is registered using "Plugins Registration tool" successfully but it's effect is not visible in Dynamics 365 trial
            Asked 2017-Oct-31 at 17:36

            We have Created class library in VS 2012 using Microsoft.Xrm.Sdk. The full articles check The code is shown below:

            ...

            ANSWER

            Answered 2017-Oct-31 at 17:05

            Your Plugin name is PostCreateAccount & checking context.OutputParameters.Contains("id") which means PK of just created Account.

            But you are referring it to RegardingObjectId as Contact while creating task. And verifying in CRM contact record. Do an advanced find for tasks created & you can troubleshoot.

            For consistency make sure of this - Your step name in PRT says “Update of Account”.

            I do see PostCreateContact plugin in your screenshot, if you are playing around with code, verify all the changes you are making.

            Update: By seeing your exception, this is coming from FieldService plugin which is installed per your trial subscription. If you are not using, You may remove the FieldService solution Or unregister the Assembly. Or Simply just disable the below Step in PRT.

            Source https://stackoverflow.com/questions/47033096

            QUESTION

            Plugin Registration Tool crush when press "Filtering Attribute" button + Metadata Browser cant open
            Asked 2017-Jun-14 at 12:37

            I'm using Microsoft Dynamics® CRM 2013 Service Pack 1 (SP1) (6.1.1.132) (DB 6.1.1.132)

            After connecting the Registration Tool, following this steps.

            Plugin Registration Tool >> Plugin >> Step(double click)

            Here Picture

            When i hit the [...] button its crush.

            I think its about MetaData Service. Because when try to open Metadata browser, its pops up error too.

            ...

            ANSWER

            Answered 2017-Jun-13 at 19:14

            The trace log shows this exception:

            System.MissingMethodException: Method not found: 'System.Nullable`1 Microsoft.Xrm.Sdk.Metadata.EntityMetadata.get_IsStateModelAware()

            Property IsStateModelAware was introduced in Dynamics CRM 2015 (see MSDN), so apparently the dll's on your server are available in multiple versions. Get rid of the 2015 version dll's.

            Source https://stackoverflow.com/questions/44497312

            QUESTION

            What and when can "Target" be instead of an Entity and should I check its logical name when working on a single entity type?
            Asked 2017-Apr-10 at 16:34

            I'm a newbie in developing in CRM, so I want to get some things clear. And you first you need to know the reason why you have to do something in order to fully understand it. So lets get to the question.

            I know you have to do this when making a plugin:

            ...

            ANSWER

            Answered 2017-Apr-10 at 15:10

            See this answer: Is Target always an Entity or can it be EntityReference?

            Per the SDK (https://msdn.microsoft.com/en-us/library/gg309673.aspx):

            Note that not all requests contain a Target property that is of type Entity, so you have to look at each request or response. For example, DeleteRequest has a Target property, but its type is EntityReference.

            The bottom line is that you need to look at the request (all plugin's fire on an OrganizationRequest) of which there are many derived types (https://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.organizationrequest.aspx) to determine the type for the Target property.

            Source https://stackoverflow.com/questions/43326485

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install PluginRegistration

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular C# Libraries

            PowerToys

            by microsoft

            shadowsocks-windows

            by shadowsocks

            PowerShell

            by PowerShell

            aspnetcore

            by dotnet

            v2rayN

            by 2dust

            Try Top Libraries by Innofactor

            Innofactor.Crm.CI

            by InnofactorC#

            XrmToolBox.Plugins

            by InnofactorC#

            xrm-api

            by InnofactorJavaScript