Warning |
---|
Removal notice: Please note that the URL user and URL user password parameters were removed in 5.8.5 (see Deprecation notice: URL user and URL user password parameters). We recommend using profiles toto access external data. |
...
This article illustrates how to create a profile using a URL to be used with any of the HTML for Confluence macros.
|
---|
Info | ||
---|---|---|
Before you begin:
|
There are two ways to work with URLs where you can use:
An absolute URL in a profile
A partial URL in a profile
Info |
---|
For this example, let's use the Html-bobswift macro to illustrate profile creation and usage. The screenshots illustrate where the relevant parameters are to be given. Specify information in the profile window and macro editor as per your requirement in your instance. |
Anchor | ||||
---|---|---|---|---|
|
You can create a profile by providing the complete URL in the macro editor.
Select > Manage apps, either search for HTML for Confluence or scroll to Bob Swift Configuration, and click HTML to view app configuration.
Tip |
---|
...
Try this for older Confluence versions! Navigate to CONFLUENCE ADMINISTRATION |
...
> Settings > ATLASSIAN MARKETPLACE > HTML > 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 an absolute URL of the location to be accessed in the URL text box.
Click Save profile to create the profile.
...
To use this profile in a Confluence page:
Add the Html-bobswift macro or edit an existing macro on the page.
Select the newly created profile from the Profile list and then, click Save.
...
Anchor | ||||
---|---|---|---|---|
|
You can create a profile by providing a partial URL to access the remote location and entering the relative path to the relevant file in the macro editor.
Select > Manage apps, either search for HTML for Confluence or scroll to Bob Swift Configuration, and click HTML to view app configuration.
Tip |
---|
...
Try this for |
...
older Confluence versions! Navigate to CONFLUENCE ADMINISTRATION |
...
> Settings > ATLASSIAN MARKETPLACE > HTML > 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 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 the profile.
...
To use this profile in a Confluence page:
Add the Html-bobswift macro or edit an existing macro on the page.
Select the newly created profile from the Profile list in the editor.
Enter the relative path of the HTML
...
file in the Location of HTML data 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.
...
Info | |
---|---|
title | Points to remember!
|
Helpful resources
- profileCreate a GitHub