Viewing variable values in a content file
The procedure in this topic assumes Skribenta is installed and configured for normal operation, and:
-
You have logged into Skribenta.
-
You are assigned to one of the following user roles: content provider, technical writer or administrator.
-
You have selected the workspace you want to work in.
-
A content file or a configuration file is created in the workspace.
You need to evaluate conditions and resolve variables directly in your publication's content file without publishing.
It is possible to evaluate conditions and resolve variables directly in your publication's content file without publishing. However, this is not possible for included files.
This instruction tells you how to evaluate conditions and resolve variables directly in your publication's content file without publishing.
This is file content before evaluating conditions and resolving variables in a publication's content file.
This is file content after evaluating conditions and resolving variables in a publication's content file.
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
Select View > Variable values on the top toolbar, then open a publication's content file from the Publications aspect.
Less than 1 minute
Procedure
In the shown images, the XML tags are visible. To show XML tags, see Turning XML element tags on or off.
1. Make sure that the step(s) in section "Starting point" (see section "Background" above) are performed.
The content file opens, and any conditions are evaluated and variables resolved.
In order for variables to be resolved, they need to be defined in the publication's configuration file.
-
If a condition can be evaluated, it is highlighted with a background color:
-
green - if the condition is true
-
red - if the condition is false
-
-
If a variable can be resolved, the variable value is shown.
Conditions are not highlighted and variable values are not shown in included files, only in the content file directly connected to the publication.