How can I import a GED without any user interaction?
My use case is having another web service on the same host that will generate a GED which needs to have been imported into PhpGedView prior any user interaction.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You need to log in with Admin rights in order to import a GEDCOM into the database. The database MUST exist, but PhpGedView will establish the necessary tables AFTER you have configured everything.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If PhpGedView is already running, you don't need to establish the database tables or configure anything.
There are no plans to implement anything having to do with "unattended" Admn functions. There are too many security considerations, and it's not something that many people would want or need.
Exactly WHAT is it you're trying to achieve? What problems does this feature eliminate?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Use case: Gedcom files will be produced 'auto-magically' by another application. The users of PHPGEDVIEW, will not have admin rights; will only be using it for reports and views,; will assume that the gedcom files are up-to-date. Hence the need to load them without user interaction, i.e., as a web service application.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How can I import a GED without any user interaction?
My use case is having another web service on the same host that will generate a GED which needs to have been imported into PhpGedView prior any user interaction.
Can't be done.
You need to log in with Admin rights in order to import a GEDCOM into the database. The database MUST exist, but PhpGedView will establish the necessary tables AFTER you have configured everything.
Thanks for your lightning quick response.
So, given that I've once done an import through user interaction, thus presumably establishing tables, am I still unable?
And if so, would it be possible to add code to phpgedview to accomplish this?
If PhpGedView is already running, you don't need to establish the database tables or configure anything.
There are no plans to implement anything having to do with "unattended" Admn functions. There are too many security considerations, and it's not something that many people would want or need.
Exactly WHAT is it you're trying to achieve? What problems does this feature eliminate?
Use case: Gedcom files will be produced 'auto-magically' by another application. The users of PHPGEDVIEW, will not have admin rights; will only be using it for reports and views,; will assume that the gedcom files are up-to-date. Hence the need to load them without user interaction, i.e., as a web service application.
You have already discovered that PhpGedView is not designed to do this. There's also zero chance that this will ever be implemented.
I suggest that you set up a schedule to log in as admin and import the updated GEDCOM file. Weekly updates are probably too frequent.
Perhaps you should be looking for something other than PhpGedView? I can't advise you in this regard.