...
...
...
Warning | ||
---|---|---|
| ||
Please note that the URL user and URL user password parameters were removed in 3.4.2 (see Deprecation notice: URL user and URL user password parameters). We recommend using profiles to access external data. |
Note | ||
---|---|---|
| ||
This article is not applicable to the following macros:
|
This article illustrates how to create a profile using with a URL and for this scenario, the profile is then specified in the Excel Graphviz macro.
Info | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Before you begin:
|
You can work with URLs in two ways where you can:
- Use an absolute URL in the profile
- Use a partial URL in the profile
Anchormd_URLProfile_absURL md_URLProfile_absURL
Use an absolute URL
md_URLProfile_absURL | |
md_URLProfile_absURL |
You can create a profile by providing the absolute URL to access the Excel Graphviz content from a remote location.
Navigate to CONFLUENCE ADMINISTRATION > General Configuration Manage Apps > BOB SWIFT CONFIGURATION > Excel > Graphviz > Profiles.
Click Add Profile.
- Enter a unique name for the profile in the Profile name text box.
- Select URL from the options in Profile type.
Enter the relevant absolute URL of the location to be accessed in the URL text box.
Click Save profile to create a profile.
...
To use this profile in a Confluence page:
- Add the Excel macro 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.
...
Anchormd_URLProfile_partialURL md_URLProfile_partialURL
Use a partial URL
md_URLProfile_partialURL | |
md_URLProfile_partialURL |
You can create a profile by providing a partial URL for the Excel the Graphviz content, and enter the relative path to the Excel the Graphviz file in the Excel macro Graphviz macro.
Navigate to CONFLUENCE ADMINISTRATION > General Configuration Manage apps > BOB SWIFT CONFIGURATION > Excel > > 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 Enter the base URL in the URL text box. A 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 Excel 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 Excel file in the Graphviz file in the URL to Excel 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.
- Click Save.
...
- 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.
Info | ||
---|---|---|
| ||
|
Addition
...