Skip to content

Allow importing as Compendium(s) / Use compendium links when exporting to one #143

@DaGwann

Description

@DaGwann

I've been looking to turn my folders of imported Kanka entries into compendia, in order to ease load times. The tools offered by Foundry work good overall (creating a module, exporting the journal folders to the compendia of said module, etc.).

The big problem comes with linked entities in the newly created compendium entries. The links inside a compendium journal entry are still connected to the original journal entry. Therefore, when that journal entry is deleted, the link is lost. The goal of this whole process is to delete all journal entries in the end, and in doing so, all the internal Foundry links are lost in the compendium entries, leaving only the direct links to Kanka's website.

It would be a great improvement to keep those connections in the compendium. I don't know enough about the internal structure to suggest how, but I have to guess it's related to the new IDs each journal entry gets once it's exported into a compendium.

For reference, the first image shows how a character journal entry looks when it has been exported to a compendium, and the original journal entries it links to still exist outside the compendium. The second image shows what happens when those original files are deleted, despite them being available in the compendium.

Original still in Journals folder
image

Original deleted, compendium remaining (hyperlinks for removed journal entries, Foundry links for remaining originals)
image

Thank you for such a great module!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions