Each link is added as a cluster of
<entry>
elements with the same values for their
key
attribute. The value for the
key
attribute must start with
static_link.
. but after this character string you
can use any value you want. For
<entry>
elements that contain text, the
key
attribute
must end with one of the language codes (.en, .fr, .de, .ja).
For example, this is a static link to a website with
different text for the link depending on whether the users are using an
English or French version of the UI:
<entry key="static_link.anchor1">https://www.ixiasoft.com/</entry>
<entry key="static_link.anchor1.en">Go to IXIASOFT</entry>
<entry key="static_link.anchor1.fr">Aller sur IXIASOFT</entry>
In this case static_link.
is required, but anchor1
is a variable for
any value you want.
You can also add parameters (such
as variables) in the url, which CCMS Web can replace with values from the user. For
example, this link uses variables for the user's username and role:
<entry key="static_link.anchor2">https://www.ixiasoft.com/?hl=fr-ca$amp;user=${username}&roles=${roles}</entry>
<entry key="static_link.anchor2.en">IXIASOFT</entry>
You add multiple links by using different values after
static_link.
, for example:
<entry key="static_link.anchor1">https://www.ixiasoft.com/</entry>
<entry key="static_link.anchor1.en">Go to IXIASOFT</entry>
<entry key="static_link.weblink2">https://www.ixiasoft.com/?hl=fr-ca$amp;user=${username}&roles=${roles}</entry>
<entry key="static_link.weblink2.en">IXIASOFT</entry>