Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
How to add something to Gencopy for the Admin Portal of a specific client?
First, the context in which this is to be used, I have a DLL that encapsulates interaction with a webservice, and I want to use this DLL in GenioServer. I do *not* necessarily need it in the Admin Portal, but, since GenioServer is generated independently for each application I must include this in each of the projects, otherwise they will not compile. If this was not the case I would not even need to ask this question, regardless it makes sense that I should be able to control things that I want to add for a specific client only.
The folder structure for copying files to specific clients is: GenCopy_[Client]\[App acronym], the problem is, the app acronym is usually managed in Genio definitions, but there is nothing in the definitions that refers to the admin portal (unless I'm missing something).
Using the folder structure GenCopy\ADMINCS works, but it copies the files for all clients, I do not want to do this for all clients! Is there a way to control this at the client level?
Hi João,
You can either specify a generic platform or a specific client application, but not both.
If you want something to generate to all C# servers, use Gencopy\Generic_CS, and it will generate for all C# servers in your application. However, as you said above it will be copied for all clients.
Since you want the .dll to only be avaible for a specific client, you have to specify the client applications: In your case if you need the .dll in all your applications of that client you have to have a specific folder for each application (including Webadmin). Just follow the final output structure, and you can place it wherever you want:
GenCopy_[Cliente]\[MVC_APP]\GenioServer\ws.dll (for your mvc application)
GenCopy_[Cliente]\ADMINCS\GenioServer\ws.dll (for your webadmin application)
I think this last option should be enough to solve your problem.
Keep Informed
About the Community
Question tools
Stats
Asked: 19/12/19, 17:32 |
Seen: 1807 times |
Last updated: 26/12/19, 12:14 |
Your structure is correct, but there was a bug in the generator that prevented the files from being copied. This bug is now fixed from version 285.47 onwards.