I'm trying to use the Dynamics365 integration to display forms on my website. I've installed version 1.3.3 and authenticated okay but when I try to add a form I get a null instance error.
I've tried all options for the Modules setting in the data type with the same result
I've tried downgrading to version 1.3.2 and I do not get the error (no forms show but I believe that's more to do with our Dynamics365 dev instance than a plugin problem).
Error
Received an error from the server
An error occurred
Object reference not set to an instance of an object.
Exception Details
System.NullReferenceException, System.Private.CoreLib, Version=5.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e: Object reference not set to an instance of an object.
Stacktrace
at Umbraco.Cms.Integrations.Crm.Dynamics.Services.DynamicsService.GetForms(DynamicsModule module)
at Umbraco.Cms.Integrations.Crm.Dynamics.Controllers.FormsController.GetForms(String module)
at lambda_method2510(Closure , Object )
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
Hi,
I'm trying to use the Dynamics365 integration to display forms on my website. I've installed version 1.3.3 and authenticated okay but when I try to add a form I get a null instance error.
Useful Details
9.5.4
1.3.3
Modules
setting in the data type with the same resultError
Supporting Screenshots
Data Type
Document Type
Selecting Form
Error
Thanks,
Ben