By Juncus - Tuesday, December 28, 2021
|
I've coded in various languages for 40 years now. So I'm puzzled about the Genopro api since I can find no 'in'. Where is the library that I can load into a language for use?. I feel I must have missed something as I'm used to code libraries and the methods and so forth but a list of commands with no way to execute them is what I find. I did figure that there would be some example somewhere and perhaps there is but I've not seen one.
Has anyone any pointers or places I will find how to call these commands? I got on to this as was looking for a way to show just my direct ancestry, not all the relatives. I found reference to "Save to Database" but it is not on my file menu. I'm GIS/Db manager/developer so put all this in my Db would be ideal. I could do all the reporting I wanted. However the root of the API help just says: " The programming interface will be subject to major improvements in the coming years, among other things, it will include Macros, Script and a powerful API to allow real-time data analysis and modification of your genogram / family trees."Thanks
|
By appleshaw - Tuesday, December 28, 2021
|
Have you looked at the Ahnentafel Report? Need the latest reports from this web site
|
By Juncus - Wednesday, December 29, 2021
|
Ah that took me a while to work out. Could not find anything on that page and finding the latest reports is a bit long winded. Would be nice to have the latest on a sticky. But I got there. It's kind of what I wanted but I want to make a graphical version. The database option would allow me as I could program that. If only there was a database option and an API. Thanks
|
By genome - Wednesday, December 29, 2021
|
The 'Save to database' option seems to be missing, however .gno file is simply zipped XML data. You can perhaps load your database from the XML? You can also export as XML from GenoPro.
The API documentation can be found at https://genopro.com/sdk/ as you are aware. The API is exposed via the Report Generator which runs Microsoft's Scripting Engine to execute VBScript or JScript code with access to the API. See examples in the Report Skin Template folder (which can be a user defined location) Each report skin template has its own folder under the Report Skins folder and each must have a Config.xml file defining the scripts to be executed (see https://genopro.com/sdk/Report-Generator/Configuration/ ) If you have used Javascript then it should be quite straightforward to extract the data you require via aReport Skin Template without exporting to a database.
|