Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Für einen Test-Import kann es nötig sein, ein Modul ohne die Verwendung der normalen Meta-Daten zu importieren.

Dies kann z.B. nötig sein, wenn Sie ein selbst exportiertes Modul zum Test selbst importieren wollen.

Step-by-step guide

Um einen Reimport als frischen Insert durchzuführen, können Sie den normalen Export benutzen.

 


Für den Import benötigen Sie aber ein neues Konfigurationsmodul. In diesem müssen Sie andere Metadaten eintragen. Entweder eine anderes SQL-Datenbank-Schema (das Sie zuerst anlegen müssen) oder aber eine SQLite-Datei. Dies ist auch eine Art Datenbank. Dies besteht aber nur aus einer einzelnen Datei in der die Metadaten gespeichert werden.

 


Beispiel für SQL-Lite:

Starten sie aus Ihrem neuen Konfigurationsmodul heraus die Option „Configure Metadata“

...


 Image Modified

In dem neuen Fenster stellen Sie eine neue SQLite-Datenbank ein:

  1. Stellen Sie das Database Format auf „File-based“.
  2. Wählen Sie einen Pfad aus und ergänzen Sie diesen um einen „Datenamen“{.db} (Klammern und Anführungszeichen weglassen, dienen nur der Definition des Formats). Die Datei muss nicht existieren. Das Tool legt diese an.
  3. Prüfen Sie die Einstellung durch „Check Settings“. Wenn alles OK ist führt dies dazu, dass die neue Datei in dem angegebenen Pfad angelegt wird und ein Verbindungsversuch durchgeführt wird.
  4. Wichtig ist: Save Settings muss zum Abschluss gedrückt werden. Ansonsten gehen die Einstellungen wieder verloren.

 Image Modified

 


Haben Sie dies erledigt, können Sie Ihren Export frisch in einem neuen Bereich importieren.

 


Info

Content by Label
showLabelsfalse
max5
spacesproducts
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("rif","reqif","import") and type = "page" and space = "products"
labelsreqif rif import

Page properties
hiddentrue


Related issues

...

 

...





For a test import it may be necessary to import a module without using the normal meta data.

This may be necessary, for example, if you want to import a self-exported module for the test itself.


Step-by-step guide

To perform a re-import as a fresh insert, you can use the normal export.

But for the import you need a new configuration module. In this module you have to enter other metadata. Either another SQL database schema (which you have to create first) or a SQLite file. This is also a kind of database. But this consists only of a single file in which the metadata is stored.


Example for SQL-Lite:

Start the option "Configure Metadata" from your new configuration module

Image Added

In the new window you set up a new SQLite database:

  1. Set the Database Format to "File-based".
  2. Select a path and add a "data name"{.db} to it (Omitting brackets and quotation marks is only used to define the format) The file does not have to exist. The tool creates it.
  3. Check the setting with "Check Settings". If everything is OK this will cause the new file to be created in the specified path and a connection attempt will be made.
  4. Important: Finally click on Save Settings or your settings will be lost.


Image Added

Once you have done this, you can import your export fresh in a new section.