Input parameters
Reference
The Confluence XML package provides many parameters to customize a confluence import.
| Parameter name | Description | Example value | Default value | |
|---|---|---|---|---|
| Import archived documents | Confluence exports can contain archived documents. XWiki doesn't have a concept of archived document. This parameter lets you optionally import archived documents as regular XWiki documents instead of ignoring them. | false | ||
| Import archived spaces. | Confluence exports can contain archived spaces. XWiki doesn't have a concept of archived space. This parameter lets you optionally import archived spaces as regular XWiki spaces instead of ignoring them. | false | ||
| Import attachments | If you don't want to import document attachments, set this to false. | true | ||
| Base URLs | The list of base URLs leading to the Confluence instance. They are used to convert wrongly entered absolute URLs into wiki links. The first URL in the list will be used to compute page URLs used in the conversion report if the the 'Store Confluence details' property is used. This parameter is used to convert (fix) absolute URLs present as links in the documents that will get imported. The bases of this URLs should be input in this field so that they are converted from the Confluence to the XWiki links. For example, adding in this field www.<myconfluence>.com/wiki/spaces will convert absolute links such as www.<myconfluence>.com/wiki/space/KEY/page into www.<myxwiki>.com/bin/view/KEY/page. | N/A | ||
| Blog Space name | This field defines the name of the space under which blog posts will be imported. By default, a "Blog" space will be created under "SPACE KEY". | Blog | ||
| Import blog posts | This field decides whether to import blog posts or not. By leaving the default value "true", blog posts will be imported. By changing the value to "false", blog posts will not be imported. | true | ||
| Cleanup mode | The mode to use for cleaning up temporary files produced when parsing the Confluence package.
| SYNC ASYNC in the Confluence Migrator Pro Application | ||
| Produce rendering events for the content | Parse the content to produce rendering events (if the output filter supports them). This is needed in very specific conditions. We do not recommend modifying this parameter unless you know what you are doing. | false | ||
| Import contents | This parameter defines whether to import the body and set content of regular documents and blog posts (if blog posts are imported). We do not recommend modifying this parameter. | true | ||
| XWiki Conversion | This parameter defines whether to convert
This is needed in very specific conditions. We do not recommend modifying this parameter unless you know what you are doing. In particular, XWiki may not be able to render your imported documents and links will probably be broken if you disable this. | true | ||
| Default locale | This parameter defines the locale that will be used for the imported documents. Usage example: you have a xwiki instance that you want to be localized with both en and fr. The default locale for your instance is en. You have a Confluence instance that has its content in French. You import from Confluence to XWiki and all the created documents will have their locale set to your xwiki default locale (en) and the content brought from Confluence wwill be in French. Ideally, you set the parameter default locale to "fr" so all the imported documents will have their locale equal to "fr". Now, if you want to also have an English version of the documents, you create it and translate it. | fr | N/A | |
| Page name validation | This parameter defines whether the pages should be validated against and converted using XWiki's current page naming strategy. This works if the XWIKI CONVERSION field is set to "true". This is needed in very specific conditions. We do not recommend modifying this parameter unless you know what you are doing. In particular, XWiki may not be able to render your imported documents and links will probably be broken if you disable this. | true | ||
| Excluded pages | List in this field the Confluence pages to ignore from the import. The format is a comma separated list of page IDs where each number is a page id. See also the Ranges and the Included pages parameters. | 543234,123123,65423 | ||
| Group Format | The group format to use to transform a Confluence group names to XWiki group names. String ${group} will be replaced with the group Confluence name; String ${group._clean} same with the special characters removed.| ${group._clean} | | |||
| User Format | The user format to use to transform a Confluence user names to XWiki user names. String ${username} will be replaced with the user Confluence name; String ${username._clean} same with the special characters removed. If this parameter is left empty, forbidden characters (spaces, dots, forward slashes) will be replaced by _ || | |||
| Import history | Set this to false if you want to discard previous revisions of documents (for performance, space or import speed concerns) | true | ||
| Home redirect | When non nested import is used, home pages are renamed so they can be the home page of spaces in XWiki. If set to true, redirects are output so links to these pages are not broken. When nested import is used, this parameter is ignored. | true | ||
| Included pages | This field allows you to specify pages that should be imported. The format is a comma separated list of page IDs where each number is a page id. See also the Ranges and the Excluded pages parameters. | 543234,123123,65423 | ||
| Macro content syntax | This parameter defines the target syntax to be used. This is needed in very specific conditions. We do not recommend modifying this parameter unless you know what you are doing | N/A | ||
| Max Page count | if you want to limit the number of imported pages, set this to the desired number. -1 disable any limitation | -1 | ||
| Import non-blog content | This field defines whether to import non-blog contents (normal documents) or not. When this parameter and the IMPORT BLOG POSTS are set to "true", both regular pages and blog posts get imported. Set this parameter to "false" if you wish to import only blog posts present in an export package. | true | ||
| Object ID ranges | Ranges of Confluence objects to read. Can be used to restore an interrupted migration. Several comma-separated ranges can be given. Note that the order used for these ranges are not increasingly big ids, but in the order they are processed by the Confluence module. This order may change between versions of the parser, but is guaranteed to be the same between different runs using the same version of the Confluence module. Ranges must not overlap. Overlapping ranges are not supported, may lead to surprising results and their behavior is not guaranteed to be stable. In the same vain, ranges must be ordered in the parsing order. |
| ||
| Prefixed macros | This field stores an allowlist of macros that should be prefixed. A few macros exist both in XWiki and in Confluence under the same name. In order to allow the usage of the bridge macros (dedicated to displaying content in the same manner as it was in Confluence), those macros should be prefixed so that the bridge macros (e.g. "confluence_gallery") are used and not the original XWiki macro (e.g. "gallery"). We do not recommend modifying this parameter. | attachments,gallery,chart | ||
| Import favorites | Import Confluence favorites into the Favorites Application. Requires the Favorites Application to be installed. | true | ||
| Translated content support | Whether pages containing different languages should be converted to translated XWiki documents. If disabled, the supported language macros will be converted to the contentTranslation macro. An implementation of this macro can be found in the Book Versions application. | true | ||
| Import rights |
| true | ||
| Root | The wiki or space in which pages will be imported. Note: Make sure your set 'Users wiki' accordingly | wiki:sub, space:sub:RootInSubWiki, MyRootInCurrentWiki, My.Migration, sub:My.MigrationInSubSpace. | ||
| Space renaming format | Specifies the format used to rename a space in case of a name conflict. The placeholder ${spaceKey} is replaced with the conflicting Confluence space name. If the resulting name still conflicts, underscores _ are appended as needed. | ${spaceKey}_ | ||
| Overwrite protected spaces | A comma-separated list of XWiki spaces that should not be overwritten during a Confluence import. If a Confluence space conflicts with a protected space, a new space will be created. The new space name will follow the Space renaming format, with underscores added if further conflicts occur. | FAQ | ||
| Overwrite protection mode | Defines how conflicts with existing XWiki spaces are handled. There are 3 available modes:
| NONCONFLUENCE | ||
| Title spaces from their home page | Title spaces using the Confluence home page titles instead of the Confluence space names. Home pages in Confluence are usually named something like "Home" or "SPACENAME Home", which is not very helpful. In Confluence, spaces are named and that's usually what you want as the title of spaces in XWiki. However, if you happen to have useful home page titles, you may want to set this to true. Space name are always taken from Confluence space keys regardless what you choose here. | false | ||
| Store Confluence details | This parameter specifies whether to store Confluence metadata in migrated documents as objects. This is usually useless, but in some cases, this metadata can be useful for debugging purposes and might end up useful to support CQL-based Confluence macros like spacebylabel or detailssummary in the future. | false | ||
| Import tags | Set this to false if you don't want Confluence labels to be migrated to XWiki tags | true | ||
| Unknown macro prefix | This field defines the prefix to be used for the macros specified in the "Prefixed macros" field. See also the Unprefixed macros parameter. We do not recommend modifying this parameter. | confluence_ | ||
| Use Confluence Resolvers | When there is a link to a page not present in the imported package, use Confluence resolvers present in the wiki. | false | true | |
| Unprefixed macros | This field stores a denylist of macros that should not be prefixed. We do not recommend modifying this parameter. If set (not empty), takes precedence over "Unknown macro prefix": any macro that is not listed in the Unprefixed macros will be prefixed and the Unknown macro prefix will be ignored. If you want to prefix absolutely all macros, set this to an unlikely macro name. | N/A | ||
| User id mapping | A mapping between Confluence user id located in the package and wanted ids. Similar to Group name mapping, this field stores a list of A=B couples separated with a pipe character (|) where A is the name of a Confluence user and B is the desired user name in XWiki. | user1=User1|charliedo=CharlieDo|ConfluenceAlice=Alice|ConfluenceBob=Bob | ||
| Produce user references | This parameter defines if links to user profiles should be created for existing Confluence user profile links. | false | ||
| Group id mapping | This field offers the option to specify a list of A=X relations where A is a Confluence group id and X is a Confluence group name. A will be understood as Confluence group X. These sets are separated using the pipe character (|). This is the same format as for the User id mapping. When using a Confluence space export, this information is missing and macro parameters which refer to group ids won't be converted correctly. This parameter helps work around this issue by providing the missing information. This parameter is used to migrate macros referring to Confluence groups in their parameters using their ids instead of their names. | a39e82d8-1c93-4395-9358-dc67f2ffa3ef=balsamiq-mockups-editors|a39e82d8-1c93-4395-9358-dc67f2ffa3ef=administrators|a78122a5-a46d-497e-904c-3cffd763de31=site-admins | ||
| Group name mapping | This field offers the option to specify a list of A=X relations where A is a Confluence group name and X is a XWiki group name. Confluence group A will migrated to XWiki group X. These sets are separated using the pipe character (|). This is the same format as for the User id mapping. When using a Confluence space export, this information is missing and macro parameters which refer to group ids won't be converted correctly. This parameter helps work around this issue by providing the missing information. | atlassian-addons=|balsamiq-mockups-editors=MockupEditors|group1=MyGroup | administrators=XWikiAdminGroup|site-admins=XWikiAdminGroup|_licensed-confluence=|confluence-users=XWikiAllGroup|users=XWikiAllGroup|confluence-administrators=XWikiAdminGroup|system-administrators=XWikiAdminGroup | |
| Import users | Import the users found in the Confluence package. If this parameter is set to true, user profiles present in the export package will be imported into XWiki. Setting this parameter to "false" may be needed if you use a central user directory service like LDAP or Active Directory, in which case you need to decide on a careful user migration strategy. See also the "Import groups" parameter. | true | ||
| Import groups | Import the groups found in the Confluence package. If this parameter is set to true, groups present in the export package will be imported into XWiki. Setting this parameter to "false" may be needed if you use a central user directory service like LDAP or Active Directory, in which case you need to decide on a careful user migration strategy. See also the "Import users" parameter. | true | ||
| Users wiki | The wiki where users and groups are located. You can specify here the wiki in which users and groups are located. | N/A (current wiki) | ||
| Verbose | This field defines whether to create detailed import logs or not. If you are using the Confluence Migrator Pro Application, we do not recommend modifying this parameter. | true | ||
| Link Mapping | This field defines the link mapping to use to produce the correct links to pages missing from the Confluence package. Note: In Confluence Migrator Pro, this parameter is hidden and automatically managed. | | ||
| Confluence Instance Type | The type of Confluence instance used to produce the backup package being imported. There are some differences in how content is managed, anchors for example are not the same. Knowing the right Confluence instance will improve the fidelity of the import. Detecting the right type of instance will be attempted if an empty value is provided. Possible values: SERVER, CLOUD. It is recommended to leave this empty, as the data is in the export packages and if it's not present, then SERVER can normally be implied | SERVER |