Hi NAV experts.
I want to know that how my addon solution is getting publish on demo license machine, We want to protect my solution, it should not publish with demo license.
We should pull out the user count in Navsion and we have to stop the users(While Installation) if purchase license users go out of limit. ?
Means we have given 5 users licenses to customer to access my application and if 6th user install our application,we want to restrict that user to install our application.
Kindly help us if possible in CAL/CSide environment.
You can check the Active Session table and detect how many users are connected, then if > 5 throws an error. This can be managed in a codeunit and triggered in your addon objects while opening them.
There's no way to control the installation phase because in C/AL it's just an object import.
We are creating extension(navx) file to deliver our solution, but during testing we found that if this extension is installed on one navision service(Dynamics NAV110) system, it is allowing to installed on another system or different navision service, we have to restrict this and we want that it should work on single service system only.
You can retrieve NAV Service Tier name in the way described above and then work accordingly.
Thanks for your continues suggestions and helpful reply on our queries.
Could you brief us the solution about my last below mention query?
"We are creating extension(navx) file to deliver our solution, but during testing we found that if this extension is installed on one navision service(Dynamics NAV110) system, it is allowing to installed on another system or different navision service also, we have to restrict this and we want that it should work on single service system only, and our addon solution is getting publish on demo license machine,
We want to protect our solution, it should not get published with demo license."
Please suggest for the same.
You cannot avoid the installation. The navx file installation is performed by an administrator and by using Powershell. An admin can take the navx file and install it on different NAV service tier.
What you could check is inside your extension (code) you can read the service tier information and block if it's not one in your custom license.
You've to invent a custom trick, there's no built-in way to avoid this.
Thanks for your prompt reply Stefano..
How to read the service tier information in NAV, means from where to get it.?
The solution I've used is described here:
Could you please explain us that if we get new customer(Who will use our addon solution) in Navision, ?
What are the steps to register the customer and how to provide Navision license to that customer. ?
This is a totally different question. A NAV customer that wants your addon must acquire that from you. Then you can update its NAV license by adding your addon module (object ranges) to the license via PartnerSource.
Business Applications communities