Control-AddIn Trigger not firing

Wisa123
Member Posts: 309
Hi experts,
Problem:
I developed a ControlAddin for BC (140, WebClient, AL) which calls various Triggers of the usercontrol from Javascript via
However when I deployed the AddIn to a customer system (BC140, OnPrem, WebClient) I noticed that the usercontrols triggers are not called.
Info:
The customer system has been upgraded from 2016 -> 2018 -> BC140 over the last years. There are no visible errors on the client when displaying the AddIn. Eventlog does not show anything regarding the issue. InvokeExtensibilityMethod is only called in the StartupScript.
Questions:
What could possibly cause this behaviour?
Are there any config parameters that would explain this?
How does InvokeExtensibilityMethod actually work? Where is it implemented?
Is there any way the upgrade(s) might have gone wrong to cause this?
Could this be a WebClient / IIS configuration issue?
I'm glad for any input. The issue has been plaguing me for quite some time now.
Problem:
I developed a ControlAddin for BC (140, WebClient, AL) which calls various Triggers of the usercontrol from Javascript via
Microsoft.Dynamics.NAV.InvokeExtensibilityMethod('d3cControlReady', []);On my local dev machine and our demo servers this works like a charm, everything gets called as it should be.
However when I deployed the AddIn to a customer system (BC140, OnPrem, WebClient) I noticed that the usercontrols triggers are not called.
Info:
The customer system has been upgraded from 2016 -> 2018 -> BC140 over the last years. There are no visible errors on the client when displaying the AddIn. Eventlog does not show anything regarding the issue. InvokeExtensibilityMethod is only called in the StartupScript.
Questions:
What could possibly cause this behaviour?
Are there any config parameters that would explain this?
How does InvokeExtensibilityMethod actually work? Where is it implemented?
Is there any way the upgrade(s) might have gone wrong to cause this?
Could this be a WebClient / IIS configuration issue?
I'm glad for any input. The issue has been plaguing me for quite some time now.
Austrian NAV/BC Dev
0
Answers
-
Do you have any other personalize addin being used by that customer?0
-
Thanks for taking the time to answer,
No there are no other AddIns installed at that customer's site, since it's pretty much a standard system.
I'll try creating a mini-AddIn later and see if that works, however i doubt the addin code is at fault here, since it works on other systems/containers.
Austrian NAV/BC Dev0 -
Have you tried checking that scripting is enabled under Internet Options of Internet Explorer?
0 -
Hi ShaiHulud,
Active Scripting is enabled. However since this is a client side setting it shouldn't influence how the add-in behaves in this scenario (since it works when hosted on another server/container).
Edit: This did not solve the problem.
Austrian NAV/BC Dev0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions