SiteVision Onlinehelp

Add metadata field

By clicking the alternative Add metadata definition you open a new window where you can choose to add a new metadata field. SiteVision provides several types of metadata:
Screenshot of how to add a metadata field

Types of metadata

Text


The user himself can type the text value the field should be associated with. The administrator can add a default text if desired.
Screenshot of metadata of type Textfield

Single selection


The user selects one value from a list with different alternatives. In order to add an alternative, click the plus icon.
Screenshot of metadata of type Single selection

Allow other arbitrary alternative


By checking this checkbox the administrator gives the users possibility to add their own alternative instead of picking one from the list.

Use search dialog when selecting alternatives


If there is a large number of selectable alternatives, it can be of great help if the user can search for a suitable alternative in a special dialog window instead of picking an alternative from a list.

Import alternative


The administrator can also import alternatives from a text file. To make this work there must not be more than one alternative on each line, and the text file must be created in an ordinary way (e.g. Notepad in Windows).

Default alternative


Here you can choose an alternative to be selected from the list as default.

Multiple selection


This type of metadata field works exactly the same way as Single selection. The only difference is that the user can select more than one alternative at the same time.
Screenshot of metadata of type Multiple selection

Allow other arbitrary alternative


By checking this checkbox the administrator gives the users possibility to add their own alternative instead of picking one from the list.

Use search dialog when selecting alternatives


If there is a large number of selectable alternatives, it can be of great help if the user can search for a suitable alternative in a special dialog window instead of picking an alternative from a list.

Import alternative


The administrator can also import alternatives from a text file. To make this work there must not be more than one alternative on each line, and the text file must be created in an ordinary way (e.g. Notepad in Windows).

Date


This metadata type inserts a date. Is utilized for instance in the Event calendar.
Screenshot of metadata type Date
In the case neither of the two preconfigured formats are suitable it is possible to adjust the formatting of the date e.g through the following combinations:
  • yyyy (year, e.g. 2003)
  • MM (month)
  • dd (day)
  • HH (hours, 0-23)
  • mm (minute)
  • ww (week)

SiteVision uses a so called SimpleDateFormat in order to create the formatting of the date, more information about it (and the possibilities to format date) can be found in the Java documentation at www.java.sun.com.

System value


Apart from other metadata types where the user himself must type or select a value, this metadata will fetch its value straight from SiteVision.
Screenshot of metadata type System value
Values that can be inserted are as follow:

Creation date


The date when the page was created.

Created by


The user who created the page.

Last modified date


The date when the page was last modified.

Last modified by


The latest user to modify the content of the page

Language


The language used on the current web site (e.g. "en", "sv" or "no"). This is set under website properties.

Published date


The date when the page was published. This does not change if the page is published many times in a row, e.g. when correcting wrong spellings.

Published by


The user who published the page.

Last published date


The date when the page was last published.

Last published by


The user who last published the page.
When the value inserted is a user (created by, last modified by, published by or last published by) the administrator chooses which kind of user information that is to be inserted. The alternatives are: Full name (e.g. Bill Smith), Username (e.g. bilsmi), Email adress, Given name, Surname, Title, Description or Telephone.

When the value inserted is a date (creation date, last modified date, published date or last published date) it is possible to choose how the date is going to be formatted when displayed.

A tip for accessibility! To increase accessibility you should type date and time according to the standard yyyy-MM-dd.
In the case neither of the two preconfigured formats are suitable it is possible to adjust the formatting of the date e.g through the following combinations:
  • yyyy (year, e.g. 2003)
  • MM (month)
  • dd (day)
  • HH (hours, 0-23)
  • mm (minute)
  • ww (week)

SiteVision uses a so called SimpleDateFormat in order to create the formatting of the date, more information about it (and the possibilities to format date) can be found in the Java documentation at www.java.sun.com.

Connection to Text portlet


This type of metadata will fetch its information from a portlet on a page.
Screenshot of connection to text portlet
The metadata field automatically automatically receive the content of the selected portlet as value. Among other things this type of field is used for news functionality, to get title, abstract (introduction) and content from the articles in the archive. Every archive in a website normally has this kind of metadata field.

Connection to Image portlet

This functions the same way as Text portlet, but you insert an image instead of a text. This can be used for news functionality, to get pictures from the articles.

Screenshot of connection to Image portlet

User


This type of metadata gets information about a user from the directory. As for the System value you can choose which user information to insert (fullname, username, email-address, title, description, or telephone).
Screenshot of metadata type User
When you have added a metadata of the type User there will be an icon with a red man to the right of the name on the metadata field.
metadata of the type user
Click on the icon to add a page responsible. A new window will open where you browse or search for the user in the directory.

If you would like to edit who is responsible for the page you uncheck the box Inherit value and click on the button to browse or search for different page responsible.

screenshot of the window select a user

Link


You can use this type of metadata to select a link. There are no special settings for this kind of metadata, the three general tabs Common, Search and Advanced are described below.

OBSERVE! This metadata definition is used together with the portlet Expanding menu if you want to navigate using metadata.

Directory object


This type of metadata is used to reference a catalog object in the directory. This is different from the user object where you can refer to several users or a folder.

When you have added a metadata of the type directory object, there will be a plus sign and a minus sign to the right of the name of the metadata field.

Katalogobjekt
Click the plus sign in order to add a directory object. A new window will open to choose the object. Browse to the desired one.

In the directory object you will receive all the information about the object but you will need to use scripting to get the values you want to utilize. E.g. on the news archive you can select that the news should be displayed for a certain group in the directory. There after you need a script that checks if there are any values set and if the news should be displayed for everyone or just a certain group.

Related information

This kind of metadata is used to select other pages and documents that are related to the current page. The only settings are Common, Search and Advanced as described below. When you add a metadata field of Related information, an extra icon is displayed to the right of the name of the metadata field.

Screenshot of metadata type related information
If you click this icon a new window Update related information will open. By clicking the plus icon another window Create new related link will open. Here you can add a link, a text or a user that is related to the current page.
Screenshot of how to create a new related link
help-cluster-3.sitevision.net