From Navision 3.xx it is possible to use a kind of protocol for starting / calling a Navision Client.
The syntax for starting a Navision Client is:
navision://client/run
A call like this, in a browser, would start or activate a Navision Client. This call thou would prompt the user for login, password etc. So to simplify the user interaction, it is also possible to pass on some parameters.
Possible parameters are:
company The company that should be open when starting the Navision Client database Database Name servername Server Name for the server you wants to connect to servertype Is it a native or mssql server? target Which object has to be activated. Ex. a Form18 – the syntax is [objecttype][objectno] view View (Filters) for the object, that will be activated with the target property
A complete url call could look like this:
navision://client/run?servername=myserver&
……………………… database=mydb&
……………………… company=mycompany&
……………………… servertype=mssql&
……………………… target=Form18&
……………………… view=SORTING(No.) WHERE (No.=FILTER(132))
Remember when using a Navision protocol, it would be an advantage using windows authentification (windows login) for Navision – else your users would be prompted for username/password. Alternative you have to make sure, that a client already is running, before using the protocol.