NAV Javascript AddIn methods not working

时间:2016-02-12 20:12:55

标签: javascript nav navision dynamics-nav-2016

I am trying to start with NAV Addins. I am following this tutorial: https://blogs.msdn.microsoft.com/nav/2014/10/09/extensibility-for-the-microsoft-dynamics-nav-tablet-client/

I keep getting this error: Method 'Page90005.PageName58a58aUpdateSignature(number of arguments: 0), with matching argument types.' not found. (Update signature being the name of the method). and this happens with all 3 AddIn's methods.

I added the assembly file to :\Program Files (x86)\Microsoft Dynamics NAV\90\RoleTailored Client\Add-ins\

Everything else is the same as in the tutorial and what drives me crazy is that no one seems to have this issue.

I am trying to understand what the error is telling me (the methods are defined but not implemented or the opposite) but I can't seem to be able to solve this. Has anyone had a similar problem before or knows how to fix this?

I am using NAV 2016

Any help is much appreciated.

1 个答案:

答案 0 :(得分:1)

经过多次测试和大量时间花在这个问题上我实际上发现整个问题归结为引用NAV中Control AddIn的字段的名称。在名称中不应该有任何空间。 我没想到它会产生如此巨大的影响,我把它命名为签名控制,但当我将其更改为 SignatureControl 时,一切都运行良好。
我希望这有助于将来的某个人。