Confluence bridge for Gliffy

Version 2.1 par Admin le 20/08/2024 - 13:51
Avertissement: La version de ce document n'est pas la plus récente. Pour des raisons de sécurité, XWiki affiche le document en mode restreint. Ce mode d'affichage peut provoquer des erreurs dans le corps du document.

Erreur dans l'exécution de la macro [velocity]. Cause : [The execution of the [velocity] script macro is not allowed in [xwiki:Confluence.Macros.DiagramMacros]. Check the rights of its last author or the parameters if it's rendered from another script.]. Cliquer sur ce message pour voir plus de détails.

Erreur dans l'exécution de la macro [velocity]. Cause : [The execution of the [velocity] script macro is not allowed in [xwiki:Confluence.Macros.ConfluenceGliffy]. Check the rights of its last author or the parameters if it's rendered from another script.]. Cliquer sur ce message pour voir plus de détails.

Description

This is a Confluence bridge for the Gliffy macro. By default, the macro displays the preview of the diagram. The user can edit it by converting it to a proper XWiki diagram, always having the option to go back to the preview of the original diagram.

Parameters

ParameterDescription
nameThe diagram identifier. It should be the name of the attachment storing the Gliffy diagram data. It should not have a filename extension. The Gliffy diagram exports consist in attachments added to the parent page. For example, for a diagram called MyGliffyDiagram, there will be two attachments on the parent page: MyGliffyDiagram.png (the filename with a ".png" extension) representing the preview of the diagram and MyGliffyDiagram (with no filename extention) representing the diagram data.

The other parameters coming from Confluence are ignored by this bridge.

Example of usage

The syntax of the macro using the diagram called "MyGliffyDiagram" is the following:

{{confluence_gliffy name="MyGliffyDiagram" /}}

The result is the following:

MyGliffyDiagram.png