Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
How to integrate an API in Genio?
Hello, so my goal is to build a report generator using Genio. But to do it in a fancier way, I have to integrate an external API and make sure that Genio will generate the 'libs' of that specific API on each generation so i can manipulate some code and modify "Manwin's".
How can i do it?
Thank you!!! :)
Hi.
First, you will need to place your file / library / API in GenCopy so that it is copied to the final solution.
Then, to include something in the MVC project, you can use the manwins: "PROJCOMPILES" and / or "REFEREN". The code will be generated in "GenioMVC.csproj". There is also a "INCLUDE_CONTROLLER" manwin that allows you to add "using" to the controller file, if necessary.
To add a new reference in GenioServer, you can use the "REFEREN" manwin. The code will be generated in "GenioServer.csproj".
Also check if the "CLASSES" and "IMPORTS" manwins are not suitable for what you intend to do. The first allows you to create your own class within the namespace "CSGenio.business" (GenioServer) the second add the "using".
Keep Informed
About the Community
Question tools
Stats
Asked: 09/07/20, 09:03 |
Seen: 1618 times |
Last updated: 22/08/20, 15:39 |