I think you are looking for ControlAddInReady
event.
It described in this video
Microsoft Dynamics Nav Addin on Open Page
-
30-09-2022 - |
Question
Im developing a Microsoft Dynamics Nav Addin.
The addin returns a TreeView.
I have and action in the page to fill nodes using nav table rows.
My Action works fine, but i want to fill my TreeView when the page is loaded and the addin initilzed
I tried every page events, and i always get the same error "The addin isnt initialized yet"
I tried to Raise the onControlAddin event overwriting the OnInitialize event and didnt work
How can I now when the addin is initialized in the page and then call the nav function to fill the Addin?
Thank You
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow