Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Code Pro for Confluence - Configuration screen has the following main settings:

Configuration

Enable or disable the required parameter to apply the settings. Click Save to confirm the changes.

...

  • Profiles allow user authentication required by some URLs to be hidden from page viewers and editors. Only Confluence administrators have access to this information.
  • Enables macro editors to quickly configure the macro by reusing a shared definition for URL access. 
  • Relative addressing can be used making the page content less likely to require changes when base URLs are relocated. 
    • Macro configured URL (that is not a full URL) is appended to the profile provided URL. The first part goes in the URL to source code parameter of the profile. The second part (or ones like it) goes into each macro usage. For example, if source reference is something like https://bitbucket.org/bob_swift/gint/raw/tip/src/main/groovy/org/swift/tools/Gint.groovy, then a profile could be set up to reference all source in the Gint repository by configuring the profile: url=https://bitbucket.org/bob_swift/gint/raw/tip. Then the macro references would be relative like: src/main/groovy/org/swift/tools/Gint.groovy.
  • Combine settings of a profile with another profile(s). Use the '|' delimiter to combine name-value pairs with the specified profile settings.
    For example, you can create a profile 'A' that defines a customized style using HTML tags. This can be appended to another profile 'B' as url=https://bitbucket.org/bob_swift/gint/raw/tip|A. In the macro, if profile 'A' is selected, retrieved data is shown with the custom styles given in profile 'B'.
Info
titleImportant information:
  • Administrators can provide a maximum of 30 profiles to be used with the Code Pro macro.
  • Specify the required settings for a profile as name-value pairs separated with a '|' delimiter between each pair.You can combine settings of other
  • profiles. Use the '|' delimiter to combine name-value pairs with the specified profile settings. For example, you can create a profile that defines a customized style using HTM tags. This can be appended to another profile using just the profile name. When users specify the profile name (with the appended profile), the data is shown with the defined stylesEach value is applied on the resultant data; if valid, that value is applied, else is ignored. 
  • Other parameters such as language, title, collapse, theme, firstline, borderColor, borderStyle, borderWidth, bgColor, titleBGColor, sections, encoding, collapsetype, and script can also be given as the wiki parameter syntax for a profile.
  • Learn more about the possible settings for a profile available in the Code Pro macro guide.


The following actions can be performed:

...