|
|
Customers Gamma GenoPro version: 3.1.0.1
Last Login: Thursday, February 11, 2021
Posts: 14,
Visits: 52
|
Is it possible to automate the process of opening an existing GenoPro file and then programmatically insert update and delete data?
I've see the SDK example, but I have two problems. First I can't figure out how to open an existing GenoPro file with the SDK and second all the methods and properties appear to be read only.
Any help would be greatly appreciated.
Regards, Tom Malia tommalia@ttdsinc.com
Tom Malia "a society that draws a broad line between it's military and it's intellectuals has it's wars fought by idiots and it's thinking done by cowards" (paraphrased from a source that I no longer remember)
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, October 13, 2024
Posts: 4,887,
Visits: 22,769
|
There is no easy way to update a geno file, except replacing its content using the method SetTextXML. We wrote a tool in C# to simulate a collaboration project - that is, updating a document in real-time. This collaboration 'tool' has many drawbacks, such as flushing the undo/redo each time an update is made.
Edited: Sunday, January 6, 2008 by
GenoProSupport
|
|
|
Customers Gamma GenoPro version: 3.1.0.1
Last Login: Thursday, February 11, 2021
Posts: 14,
Visits: 52
|
If flushing the undo/redo cache is the most significant draw back, that would be a minimal issue for me.
In an ideal world, I'd love to see the properties of your Objects be read/write instead of read only.
BTW, I'm play around with a report script that wild generate more complete SQL scripts for creating and populating a SQL database with data from the Genopro file. The object model available in the report write is an excellent tool for doing this and I think it's a fairly straight forward process to create and populate a properly normalized Relational Database using these tools. However, I hate to reinvent wheels and I hate work alone and possibly miss important design decisions that others might catch. So, I'm wondering if there's already existing work and/or people out there interested in assisting with work on a properly designed Relational Database and ideally an ER Diagram to go with it that can at least be kept in sync with a genopro file.
Tom Malia "a society that draws a broad line between it's military and it's intellectuals has it's wars fought by idiots and it's thinking done by cowards" (paraphrased from a source that I no longer remember)
|
|
|
Gamma Moderators Administrators FamilyTrees.GenoPro.com Customers GenoPro version: 3.1.0.0
Last Login: Wednesday, October 7, 2020
Posts: 952,
Visits: 10,075
|
I will post you tomorrow my sample code (in C#) that modify the content of GenoPro using the XML.It's far from perfect but you can do some operations in an external tool. As we are working on the collaboration module, this method will get better and better since you will be able to do partial update without re-sending the entire XML to GenoPro... and not loosing the Undo/Redo. I think we will have something out for March... in GenoPro Gamma.
|
|
|
Customers Gamma GenoPro version: 3.1.0.1
Last Login: Thursday, February 11, 2021
Posts: 14,
Visits: 52
|
Thanks I look forward to all you have described.
One more follow up on my initial post...
Is it possible to open an existing GenoPro file using the SDK? The example I downloaded appears to create a new empty diagram, which is of limited value when what I really want to try to do is create ASP and/or Java applications to support interactive web interfaces for the Geno. For example, create a form that would generate the list of anniversary's and/or birthdays for the next 12 months for all descendants of of an individual that a website visitor might select, or something like that.
Tom Malia "a society that draws a broad line between it's military and it's intellectuals has it's wars fought by idiots and it's thinking done by cowards" (paraphrased from a source that I no longer remember)
|
|
|
Administrators Moderators Customers Gamma FamilyTrees.GenoPro.com Translator GenoPro version: 3.1.0.1
Last Login: Sunday, October 13, 2024
Posts: 4,887,
Visits: 22,769
|
At the moment GenoPro has limited support for automation. We have plans for this, however it will be after our collaboration module for sure.
|
|
|
Gamma Moderators Administrators FamilyTrees.GenoPro.com Customers GenoPro version: 3.1.0.0
Last Login: Wednesday, October 7, 2020
Posts: 952,
Visits: 10,075
|
|