6 Import elements
Specific elements can be imported from an archive.
When importing elements, source locales must match exactly to the site's or be able to be unambiguously have their regions renamed to match only one, otherwise no import can take place. The locales with conflicts will be indicated. Renaming those locales at the source site to exactly match those in the receiving site, and then generating a new archive file to upload, will allow importation. If there are unmatched non-master locales in the source, the imported elements will not have text for those locales.
If source elements have the same IDs or internal codes as the site, they will be renamed with a suffix. To maintain referential integrity, any references to renamed elements will also be updated. The scope of the renaming is only to elements being imported. However, references to elements not being imported will be broken, which may produce a few ʘ?ʘ on pages, or elements that do not appear because the file they are referencing does not exist, or a different picture or element heading or headline is displayed because the reference now points to something valid on the site.
Such reference issues means that all references in the imported elements need to be checked, including files and
Between the possible locale and reference issues, importation of elements needs to be carefully planned. Selecting elements and which of their descendants to exclude is very flexible, but it may be better to include descendants even though they may not be needed in the end, just because it can avoid reference errors where it may be difficult to remember what was being referenced. Working references makes it easier to see what from the site they can be replaced by.
Steps△
≣ Indicates the step has learning notes. Click its checkbox to show them.
The role to perform this procedure is: Master manager.
by clicking on the
by performing:
by clicking on the
by clicking on the
The name of the dialog box will vary between operating systems.
The dialog box is opened.
by navigating to the containing folder and clicking on the file name.
by clicking the
The label of the button will vary between operating systems.
The File selected text is displayed after the
by clicking on the
by clicking on the
The archive has a different English master locale region to the site, so any elements would have their en-gg text renamed to en-001. If they had not both had a language of en, the
by clicking on the
There will always be some conflicts (𝝙) in the main subsite because of the subsite name.
- a.The element is imported.
- b.The page is redisplayed as per the result of step 4.
- c.A message with Added: and the element's identifier as a jump to its details is shown under the page introduction.
- d.If the import of that element is not what was wanted, click on the jump and delete it at the target page.
- e.If another element to import, repeat this step, otherwise the import is completed.
When an element is selected, that is not a file or user, the selection's details are kept for 10 minutes, allowing other related tasks to be done. During that time a 👇 is displayed after the
- a.Click its identifier link, which will jump to the files identifier button under the
Files checkbox if JavaScript is enabled. - b.If JavaScript is not enabled, drill down the
Files checkboxes to expose its button. - c.Click the identifier button for the element to be excluded.
All the element's descendants are also excluded, and all are deleted from the ʘ?ʘ.
by clicking on the element's identifier button.
The element and its descendants are reinstated, and reincluded on the import list.
Descendants of an excluded element cannot be reinstated as they would be disconnected from their parent. Instead, import them separately as a standalone element.
by clicking on the
by repeating from step 5 for each additional element.