Find and recreate migrated pages

All published pages were migrated during the upgrade of ki.se in May 2019. These pages need to be partially remade after migration. Since the editor's name has been replaced with Webb Admin, it can be difficult to find the content you are responsible for. Here you will find some ways to find these pages, as well as instructions on how to remake them.

Recognize migrated pages

You can see that pages that have not been updated after migration if the editor's name is replaced with Webb Admin. When you open them in edit mode, there is a green box with info about migrated pages.
All content on the page is in one text/image field. Below that field there is a drop-down list with the options Migrated content and Advanced editor. The Migrated box at the bottom of the page is checked.

Migrerat innehåll
Migrated pages have a green information box.

Find migrated pages at ki.se

If you want to find pages belonging to a department, you can search for them while logged in to Drupal. 

  1. Select Publishing status Published
  2. Select Content type Page (landningssidor bör vara fixade och promos behöver inte fixas)
  3. Select the subsite 
  4. Click Filter
  5. Click Updated to flip the list and get the oldest content first.. 
  6. Since the migrated pages are the oldest, everything Last updated by Webb Admin will now be on top.

In the example here there only one page remains to remake after migration on the selected department.

Screenshot of Drupal interface
By filtering you can find migrated content on a site or subsite, for example the one for your department.

Find migrated pages on other sites

If you are an editor on the sites Education or Staff Portal, you can do the same as in the example above, though without selecting a subsite (there are none on Education and Employee Portal). The result can be that you find a lot of pages that have not been remade after migration. These are displayed fifty at a time, and at the bottom of the page you can browse the results. Often pages in the same context have about the same age and therefore appear relatively close together.

On some pages the content curator is still named. If you know who is or may have been a content owner of content that you should be responsible for, or if it is you yourself, you can add the name to the search in the content owner field.

Pages belonging to noone

Many migrated pages have no mention of editor, content owner or context. Then it can be difficult to decide who should take the page on to either remake it, unpublish it or even delete it. We need to work together to help find the right owner for this type of content. The web administration reserves the right to delete it if it has been unpublished for at least one year.

Is the content still needed?

Before remaking the page, go through it and consider if all content is up-to-date and relevant. Maybe some parts of content or the entire page should be removed. If you need to remove or unpublish many pages, contact the web administration and we will help you.

What was not migrated?

Things not moved with previous version of ki.se (before May 2019):

  • Documents that were not in the Documents field. Reload the document to Drupal. The link created now will remain even when someone replaces the document to a later version.
  • Promo displays on landing pages. Published promos are migrated but you have to re-link them.
  • Images. Images on migrated pages will disappear. Therefore, you need to upload them to the image bank QBank if you are to link them to the page again.
  • Tables. They are migrated, but links and images in tables are not supported any longer. We do not recommend that you try to recreate them as they were. Instead, choose other ways to present your information, for example in lists.
  • Contact Card. These must be recreated.

Recreate migrated pages

The easiest way to recreate migrated pages is from top to bottom. If the page contains a lot of different content, it may take some time. Make sure you have all info available so you don't lose content. Open the edit mode in a new tab or a new browser window so you can see what the page looked like before. 

Images

If you opened a page in edit mode and then realize that you do not have access to the images on the page, you can back without saving or click Cancel. Then you can save the images from the published page before fixing it. To do this, simply drag the images from the page with the mouse pointer and collect them in a folder on the desktop. Then upload them to QBank.

How to upload images to QBank

Lead

You need to fill in the lead field which is empty on migrated pages. The first part of the text in the Text/Imagefields might be the previous lead and can perhaps be re-used. Otherwise, write a new one.

Select textformat

Below the text field is a drop-down menu, where you need to select Advanced editor. A warning text will appear: "Changing the text format to Advanced editor will permanently remove content that is not allowed in that text format. Save your changes before switching the text format to avoid losing data." The info you can lose is images, so make sure you have them available. Other unsupported content is still linked, such as contact cards, so you can re-create that. 

Migrerat innehåll
In the dropdownmenyn you must select Advanced editor.

Add content

Now you add the blocks you need to present the content, such as Text / Image, Contact card and so on. It's convenient if you've already uploaded your images to QBank, found out the KI ID for those you need to add contact cards for, and know which Included in link to add.

Uncheck Migrated

Finally, uncheck the Migrated-box and save.

Clip on recreating a page after migration

The clip below is a quick go-through on how to recreate a migrated page. It skips the part on how to upload and download images in QBank and downloads from there. It also does not show reviewing links and that broken links were deleted afterwards, or to look up the contact's KI-ID. The purpose is to quickly show the most important parts of fixing a migrated page - settings, creating a lead and recreating content. Of course, first and foremost, you need to consider if the page and its content is still needed and in the right place before you invest the work of fixing it.

Så fixar du sidan efter migrering

More information for logged in staff

There is more information for those of you working in the following groups

  • All KI staff
Log in with KI-ID
KW
KI webbförvaltning
2020-12-17