picyka Posted November 1, 2021 Share Posted November 1, 2021 I'm about to start a new project, and I thought about using the MultiTenancy architecture, where I would have a single system running in unigui and several databases accessed by api. How can I have the same system URL for more clients in IIS using the format below https://app.mycompany.com.br/google https://app.mycompany.com.br/microsoft https://app.mycompany.com.br/apple https://app.mycompany.com.br/tesla I don't think it would be nice to use unigui's Params URL for this... Note: the names of companies mentioned there, serves only to illustrate the scenario. Quote Link to comment Share on other sites More sharing options...
Wilton Ergon Posted November 1, 2021 Share Posted November 1, 2021 before I had an application installed on iis for each client, and each client had their address client1.mysite.com.br clientex.mysite.com.br today I have only one website mysystem.mysite.com.br I identify the company and the user and the database by login, this made it much easier to distribute to new customers. have a separate base just for the unified registration of users. use the unique document number of your country, here in Brazil, I use the cpf. Quote Link to comment Share on other sites More sharing options...
picyka Posted November 1, 2021 Author Share Posted November 1, 2021 I managed to make my api consume data from a separate base, now I just need to see the url issue in unigui, to get top I didn't want to use the unigui params. Quote Link to comment Share on other sites More sharing options...
Allen Posted November 10, 2021 Share Posted November 10, 2021 Hi all, I am hoping to leverage a little knowledge her. I currently have a multitenant app built with delphi / isapi / bootstrap. For new modules and a slow migration I am planning to use uniGui to which I am brand new. In my current scheme I run IIS with a wildcard setup of *.mysite.com, when a new client is created they are generated a url of client1.mysite.com. As only 1 IIS site exists all clients are using the same isapi, my question: if my login form is to carry client specific branding (logo and company name and maybe even custom CSS) how is this best accomplished within uniGUI? my simple mind thinks that an Ext event with an ajax call to get the data and update the components, if so would anyone have any pointers on best way to do this or is there a more elegant approach? Quote Link to comment Share on other sites More sharing options...
picyka Posted November 10, 2021 Author Share Posted November 10, 2021 1 hour ago, Allen said: Hi all, I am hoping to leverage a little knowledge her. I currently have a multitenant app built with delphi / isapi / bootstrap. For new modules and a slow migration I am planning to use uniGui to which I am brand new. In my current scheme I run IIS with a wildcard setup of *.mysite.com, when a new client is created they are generated a url of client1.mysite.com. As only 1 IIS site exists all clients are using the same isapi, my question: if my login form is to carry client specific branding (logo and company name and maybe even custom CSS) how is this best accomplished within uniGUI? my simple mind thinks that an Ext event with an ajax call to get the data and update the components, if so would anyone have any pointers on best way to do this or is there a more elegant approach? My host will be the same for all clients. What changes is that each tenant will be passed in the ULR as a parameter. http://localhost:8077/?client=google 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.