Linking and editing Content from the application

Attaching Content to the Formatted Content component

After adding the component from the base components panel Formatted content it must be fed with an artifact containing the content. With the component selected, choose in the component properties panel in the field CONTENT window the Edit content. This will open the panel and display information about the lack of a selected artifact. To choose an artifact use the selection field Select artifact located in the panel header. Selecting an artifact automatically selects the latest version. The version can be changed using the selection field Version.

Illustration 1. Formatted content editing panel - artifact selection

After selecting an artifact the editor displays the formatted content code and its preview. Content editing is possible after pressing the edit button ().

Illustration 2. Formatted content editing panel - preview mode from the form

Edit mode

Formatted content can be edited in the content editor (Content editor) or directly where it was added (on the form or in a composite component). In the second case this is done using the Content tab on the component properties panel Formatted content. In edit mode the edit button is replaced by the buttons Discard draft and Save. The artifact name and version selection fields become locked.

Changes should be made in the code editor available directly under the header. Changes made are stored in a working copy (draft). These changes can be discarded at any time using the Discard draftbutton. To save changes click the Savebutton, and then in the displayed dialog enter a version description. Confirming the dialog will create a minor version of the artifact.

Illustration 3. Formatted content editing panel - edit mode from the form

If the formatted content editing panel is opened and we already have a working copy (draft), an appropriate message will appear in the header. In such a situation you can choose whether to continue editing the existing draft or delete the previous draft and create a new one.

Information about creating an artifact Content is described in Creating and attaching a Content artifact.

Last updated

Was this helpful?