Skip to content
Skip to content

Import / Export

Import / Export #

Bring territories in from a file, or take them out as a spreadsheet.

Who can use this #

Site admins.

How to get there #

wp-admin on chronicles.owbn.net → OWBN Territory → Import / Export.

The screen #

Import / Export Territories: the file, Slug behavior on update, Dry run, Import Territories, and Export Territories with Filter by Slug(s).

Import Territories

  • File – a CSV with the columns Country, Region, Location, Detail, Description, Owner, Slug, UpdateDate and UpdateUser, or a JSON export from the old Drupal site.
  • Slug behavior on update – when a row matches a territory already here: Merge slugs with existing (default) adds the row's slugs to its links, Replace slugs entirely swaps them.
  • Dry run (validate without importing) – checks the file and reports what would happen, changing nothing.
  • Import Territories.
  • The results: Total, Created, Updated, Skipped, Errors and Warnings, each row's problem listed.
  • Expected Formats – the CSV columns and the JSON fields.

Export Territories

  • Filter by Slug(s) – comma-separated slugs, or patterns such as coordinator/**.
  • Export All or Export Slug(s) – downloads a CSV in the import's format.

Common tasks #

Import a file #

  1. Choose the File.
  2. Pick the Slug behavior on update.
  3. Tick Dry run (validate without importing) and click Import Territories.
  4. Read the results. Fix the file if anything is skipped or wrong.
  5. Untick Dry run (validate without importing) and import again.

Export one chronicle's territories #

  1. Type its slug in Filter by Slug(s).
  2. Click Export Slug(s).

Things to know #

  • A row matches an existing territory when its country, region, location and detail are all the same. A match updates that territory's description, holder, links and dates; anything else becomes a new territory.
  • A row with no country, region or location is skipped.
  • A country name the importer doesn't know becomes the Unknown Country Code from Territory Manager Settings, with a warning.
  • Updates made by an import are logged in each territory's Change History, under the person who ran it.

Troubleshooting #

  • "Unsupported file type: … Use CSV or JSON." Save the sheet as CSV.
  • Many rows skipped. They have no location data. The dry run lists them by row number.
  • Countries came in as Custom/Other. Their names weren't recognised. Fix them in the file, or on each territory afterwards.

Related #

Privacy PolicyPolítica de Privacidade

Portions of the materials are the copyrights and trademarks of Paradox Interactive AB, and are used with permission. All rights reserved. For more information please visit worldofdarkness.com.

One World by Night is an unofficial, non-commercial community organization. It is not affiliated with, endorsed, sponsored, or specifically approved by Paradox Interactive AB.

Tonight's map: Philadelphia PA US · © OpenStreetMap contributors, © CARTO, © OpenFreeMap.