• My use case needs to load a geocom file and add all the individuals programatically, i.e., without any user interaction. Is there a sequence of calls to your plugin code that would enable this to happen?

    PS: your plugin is terrific! How many person-years has it taken so far?

Viewing 1 replies (of 1 total)
  • Thread Starter tcr howard

    (@howardpa)

    In lieu of a reply to the post, I dug into the rootspersona code and came up with a solution for my use case – complete replacement of gedcom information.

    Briefly:

    1) truncate ‘rootspersona’ related tables
    2) delete ‘rootspersona’ data from core ‘posts’ and ‘postmeta’ tables
    3) use the ‘rootspersona’ function ‘upload_gedcom_handler’, as the basis for importing a gedcom file without user interaction
    4) use the ‘rootspersona’ function ‘add_page_handler’, as the basis for adding people without user interaction

    Code available if interested.

Viewing 1 replies (of 1 total)
  • The topic ‘load geocom and add all – progamatically’ is closed to new replies.