Information sources

The goal of the information source manager is to add information to a node. This information can be plain text, a website or a combination of both. Furthermore, you can group information sources so that you can re-use them later on. In the Berkeley Studio, the information source manager is located under [Layout > Link information].

The information source manager has groups which consists of a list of information sources. Each group has one or more information sources that each have a description and the information itself. For the information you can select any of the three tabs available and enter the relevant information.

You may add the following types of information sources:

  • Internet: link that opens in a new page;
  • Free text: text that the user can see, how is depended on the presentation layer;
  • Embedded internet: link that will be shown ’embedded’ on the same web page.

An example is given below:

An example of information sources
An example of information sources

As you can see, we added a new group of information called ‘Random information’. This group consists of two information sources: one internet source that links to Wikipedia, and one free text source about non-disclosure agreements. You can use the add icon on the left to add a new group and the one on the right to add a new information source to the group.

The result in the Berkeley Runner
The result in the Berkeley Runner

Information sources when publishing

Of course a model is eventually published. When publishing, most information sources will be linked to from an icon depicting e.g. a question mark or ‘i’ for ‘info’ next to the relevant question. However, depending on your wishes or requirements, you can use your own branding or contact us for more information.

Data from the session

Links can use dynamic values from the case with the caron syntax: ^graph.node.data or ^{graph.node.data}. Be careful with what you quote though - do not trust user input without having the input properly validated and sanitized.

Current date and time

One can use the current date and time in by typing an AT sign (’@’) followed by a time code within quotation marks (").

For example, @"mm-dd-yyyy" will be translated to ‘01-23-2013’, if the current date is the 23rd of January.

The full list of time code translations is as follows:

y
Year last 2 digits
yy
Year last 2 digits
yyyy
Year last 4 digits
m
Month number no-leading 0
mm
Month number as 2 digits
mmm
Month using ShortDayNames (Jan)
mmmm
Month using LongDayNames (January)
mmmm
Month using ShortDayNames (Jan)
d
Day number no-leading 0
dd
Day number as 2 digits
ddd
Day using ShortDayNames (Sun)
dddd
Day using LongDayNames  (Sunday)
ddddd
Day in ShortDateFormat
dddddd
Day in LongDateFormat
h
Hour of the day, with no-leading 0
hh
Hour of the day as two digits
n
Minutes of the day with no-leading 0
nn
Minutes of the day as two digits