6 Import elements
Specific elements can be imported from an archive.
This can be a complex technical procedure. If challenged by such things, seek help from someone who can help talk through, and possibly do, what has to be done.
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. Having working references, when drilled down to, 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 shown 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.
If a subsite, file or user, a
- a.The element's type and identifier, and a
Deselect button are added to the navigation bar. - b.A Import element list section listing all the elements that would be included in the import, followed by an
Import checkbox if a subsite, otherwise it is a button.
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
at step 13.
by clicking on 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 Import element list.
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 to an existing owner.
at step 13.
by clicking on the
by clicking checkboxes until required owner is exposed.
by repeating from step 5 for each additional element.