Warning | ||
---|---|---|
| ||
Please note that the URL user and URL user password parameters are deprecated and will be removed on March 31, 2022. We recommend using profiles to access your data from remote locations. |
...
Info | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Before you begin:
|
...
- Add the Graphviz macro, or edit an existing macro on a page.
- Select the newly created profile, in this case BitURL, from the Profile drop-down, and click Save.
...
You can create a profile by providing a partial URL for the Graphviz content, and enter the relative path to the Graphviz file in the Graphviz macro Graphviz macro.
Navigate to CONFLUENCE ADMINISTRATION > Manage apps > BOB SWIFT CONFIGURATION > Graphviz > Profiles.
Click Add Profile.
- Enter a unique name for the profile in Profile name.
- Select URL from the options in Profile type.
Enter the base URL in the URL text box. A base URL is a part of the path that specifies the location that the macro must access.
Click Save profile to create a profile.
...
To use the profile in a Confluence page:
- Add the Graphviz macro Graphviz macro, or edit an existing macro on a page.
- Select the newly created profile in Profile in the macro editor.
- Enter the relative path of the Graphviz file in the URL to Graphviz file parameter. The relative URL is appended to the base URL specified in the profile to create an absolute path to the file to be rendered.
For example, consider:
Base URL given in the profile:https://api.bitbucket.org/2.0
Relative path given in the macro editor:/repositories/appfire/ac-app-dist/src/17f199444d1386c543ac642e9155b396aaeca403/sample.txt
The macro combines the two to refer to the absolute path to the required file ashttps://api.bitbucket.org/2.0/repositories/appfire/ac-app-dist/src/17f199444d1386c543ac642e9155b396aaeca403/sample.txt
. - Click Save.
...