Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

VS Tools addin not loading in the Web Client

Posted on by 1,910

Hi all,

I have a VS Tools assembly that is loading and firing properly on the rich client. However, when I test it via the Web Client, it is not loading. I did include the AddIn reference in Dynamics.exe config as follows:

<addin name="myfilter" type="BatchfilterWindows.GPAddIn,BatchfilterWindows>

Any ideas are welcome.

*This post is locked for comments

  • Verified answer
    Peter Muchira Profile Picture
    Peter Muchira 1,910 on at
    RE: VS Tools addin not loading in the Web Client

    Hello Tim,

    Many thanks for your response. Everything in the Dynamics.exe config file is fine. I took your approach of building a 'Hello World' add-in, and it worked even on the web client! I then reviewed my earlier add-in, and revised the conditions for the 'events' that I wanted invoked - and it worked. The interesting bit is that the old add-in was firing on the rich client though. Many thanks, and am glad the issue is now resolved.

  • Verified answer
    Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: VS Tools addin not loading in the Web Client

    The format of the class descriptor is longer than your snip from what you are using, admittedly this might be due to the truncation you have already eluded to. I would expect the same format as the examples in the .config that are deployed with default GP, for example,

    type="Microsoft.Dynamics.GP.BusinessIntelligence.BIReportDeploymentDU.BIReportDeploymentDUAddin,Microsoft.Dynamics.GP.BusinessIntelligence.BIReportDeploymentDU,Version=12.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35"

    From the docs: "fully qualified type name> has the following format: "<class name>,<assembly name>[,<version>][,<culture>][,<PublicKeyToken>]"

    The instructions you referenced say to put the addin .dll assembly in the main program folder, not the normal subfolder (Addins) normally used for addins. I don't know if this is true as I've not done this myself.

    You could also try building a hello world entirely new plug in, just in case there is something about what you have build that is causing it not to load, it might help prove that you can get anything working first. 

    Apologies if you've tried all this before, as it is just regurgitating the documentation, but hopefully it might make a light bulb go on in your head as to what the issue could be.

  • Peter Muchira Profile Picture
    Peter Muchira 1,910 on at
    RE: VS Tools addin not loading in the Web Client

    Hi Kirk,

    The funny thing is that the add-in is working well on the rich client. And am not so sure what security settings that could be specific to the Web Client.

  • KirkLivermont Profile Picture
    KirkLivermont 5,985 on at
    RE: VS Tools addin not loading in the Web Client

    Peter,

    Have you looked into a permissions issue? I am not very familiar with the web client but your users (or the service) may not have permissions to read the add in.

    Kirk

  • Peter Muchira Profile Picture
    Peter Muchira 1,910 on at
    RE: VS Tools addin not loading in the Web Client

    Hi Kirk,

    That is taken care of, seems like when I was typing the reference on this forum I inadvertently missed the "/>. But in my code its there.

  • KirkLivermont Profile Picture
    KirkLivermont 5,985 on at
    RE: VS Tools addin not loading in the Web Client

    Peter,

    The documentation indicates your add in should end with the following   "/>

    Does adding this change the result?

    Regards,

    Kirk

  • Peter Muchira Profile Picture
    Peter Muchira 1,910 on at
    RE: VS Tools addin not loading in the Web Client

    Hello Kirk,

    Thanks for the response. All Microsoft Documentation indicate that VS Tools add-ins are supported by the Web Client. e.g.

    msdn.microsoft.com/.../dn434290.aspx

  • KirkLivermont Profile Picture
    KirkLivermont 5,985 on at
    RE: VS Tools addin not loading in the Web Client

    Hello Peter,

    I could be mistaken but if I am recalling correctly the web client doesn't support VBA. I believe this extends to VS Tools as well.

    Best regards,

    Kirk

  • Peter Muchira Profile Picture
    Peter Muchira 1,910 on at
    RE: VS Tools addin not loading in the Web Client

    ?

  • Peter Muchira Profile Picture
    Peter Muchira 1,910 on at
    RE: VS Tools addin not loading in the Web Client

    Any ideas anyone ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans