Homemade registration tool for parts of NAV2013

JocafeJocafe Member Posts: 10
edited 2013-08-16 in NAV Three Tier
Hello folks,

I need some advise regarding some "home made" registration tools for NAV2013.
Scenario:
We are developing an add-on for NAV2013 (having done the whole process Microsoft requires). This solution we are creating is basically a group of smaller ones. Some of them bigger (as in they are more complex, do more tasks and have a "name" by themselves) and some of them smaller (as in they are modifications/improvements on the standard NAV instead of additions).

So far so good!
We find now that we would like some of those smaller solutions that are a part of the bigger one (to be precise the solutions that have a "name") to be available or not depending on the client and the contract between us. Now, the first thing that came to mind is creating another add-on but we'd rather not have to do the whole process again for each smaller solution. Plus, it's not the cheapest thing to do either.

Now I find myself trying to figure out a way to "register" parts of NAV "at will". What I thought of at first was some sort of client/server authentication. Meaning the client connects to us during the installation process and we provide a valid key. We don't really like that idea due to the uncertainty that that key won't be used again on a different client (not likely, I know, but still doesn't feel "fullproof"). And with that the options related to putting that info into the SQL server were discarded.

The tools I have on the table are:
- NAV itself (2013) with the possibility of adding new objects
- DLL development (I thought of maybe doing something with SQL assemblies)
- The possibility of creating maybe a small program to do that, but I can't think of a way to store that "everything is ok and valid" info in a secure and cannot be duplicated and sent to someone else to install (for it won't work).
- Probably something else I'm forgetting.

Ideally we'd like the simplest way that would require the process to be performed just once on the server and not every workstation and would allow us to generate keys without having to change a thing.

I hope I was clear enough. Thank you!

Comments

  • Johannes_NielsenJohannes_Nielsen Member Posts: 206
    I've just seen the simple license key being adopted with a known NAV ISV in Denmark/Germany.
    And I think we are going the same route.

    Or parhaps let the customer request a key online (from inside nav of course)?
    Validated against License No. or License customer name.
    Best regards / Venlig hilsen
    Johannes Sebastian
    MB7-840,MB7-841
  • JocafeJocafe Member Posts: 10
    Wow I had not thought of checking against the already in use NAV license the customer has.
    But how can I get that info from within NAV (the license key or the customer name set on the license)? Would I have to use a third-party DLL to accomplish that?
    I know I can check on a virtual table the objects and the permissions of each one but I do not know a way of getting that info from within NAV.

    And before I forget, thank you for your answer and idea!
  • KishormKishorm Member Posts: 921
    There is also a virtual table for License Information - 2000000040
  • JocafeJocafe Member Posts: 10
    Thank you very much Mr. Nielsen and Mr. Kishorm. You just made my day a lot easier and taught me something I did not know.

    Thanks!
Sign In or Register to comment.