Jump to content

Recommended Posts

Posted
I need to start my application and send a parameter through the url to change my site's behavior.
 
the following occurs:
 
I have several databases on one server for each client.
I would use one and the same application unigui access your respective bank.
 
but I would not want to show the list of databases to the User.
this information should come from the address (url), with that information, to download application I already do the bank's definition and its connection
 
unigui version 0.99.10.1172 profissonal
 
 

sample

 

myserver.com.br:8077?database=NAME

 

or

 

myserver.com.br:8077?IDClient=1

 

Posted
I've done that way, I have a master database, I have a table with the connections.

I wanted was just avoid this parameter in login

so that the User needed not choose which database.

 

each customer will have your particular site, and that site I put a link to open the application unigui already indicating that the database that will be used to connect

 

eagll1.jpg
  • 2 weeks later...
Posted

Hi,

 

URLParamsDemo should present needed solution.

 

You can use UniApplication.Parameters.Values['database] from your sample url

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...