Adding new c# function to OpenXML?

TiwazTiwaz Member Posts: 98
Hello.
I have made a certain code in C# which I want to implement to OpenXML to use it as a DotNet function in Excel Buffer but I am not sure how to do this.
Is anyone here familiar with adding new stuff to OpenXML?
Thanks!

Answers

  • nhsejthnhsejth Member, Microsoft Employee Posts: 34
    Hi,

    You cannot add anything to the NAV assemblies or other standard OpenXml assemblies, but you can add you own .Net assembly with you code and use this in the Excel buffer together with the NAV assembly. Simple add you signed assembly to your own folder in the servers Add-ins folder and you can get access to the new functionality from you development environment. There is more information on msdn with respect to customizing NAV with .Net objects.
    _________________
    Niels-Henrik Sejthen
    Senior Software Developer
    Microsoft Dynamics NAV

    The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.
  • RockWithNAVRockWithNAV Member Posts: 1,139
    Drop your dll to your Addin folder. make a new variable of dotnet and you will find your assembly there. use the methods and properties.
Sign In or Register to comment.