Pro Macros

Last modified by Alexandru Farcasi on 2026/07/02 13:48

Pro Macros

Supercharge XWiki’s functionality with Pro Macros. Can be purchased individually or part of the XWiki Pro package. Try them free.

pro-macros-hero.png
CategoryMacro
Active Installs0
Rating
0 Votes
Support
LicenseGNU Lesser General Public License 2.1
Minimal XWiki version supportedXWiki 15.10
SourcesIssues

Macros are how you take XWiki's functionality to the next level. They can be used to:

  • Display content in a more visually appealing manner or highlight important information
  • Embed documents, such as PDF or Office files or display diagrams
  • Show the relations between XWiki pages and improve navigation
  • Display media, such as videos and audio

All Pro Macros are dedicated for formatting content on any XWiki instance, no matter the usecase. For Confluence Migration specific macros please visit our Confluence Migration Toolkit

List of Macros

  • Button
  • Contributors
  • Content Report Table
  • Excerpt
  • Excerpt Include
  • Expand
  • MsStream
  • Panel
  • Profile Picture
  • Show-if / Hide-if
  • Status
  • Tab and Tab-group
  • Taglist
  • Team
  • Recently Updated
  • User List
  • User Profile
  • View Files

Inserting a macro

To insert a macro you should edit the page:

  • Type "/" in your editor and type the name of the macro
  • For XWiki versions 14.x and older, click on the "+" icon from the editor
  • Select the macro from the list
  • Fill in the needed parameters
  • Click "Submit"

insert-macro-15+.png

Editing a macro

Macros can be edited by double clicking on the macro in the visual editor. Alternatively, you can edit the syntax of the macro by going to the page's source. The supported parameters, as well as the syntax, are detailed in the Documentation tab for each macro.

FAQ

1. Can the User or Team macros display the people who have access to a page?

Not directly. The Team  Pro Macro is designed to display avatars of team members. It can filter users by tags, a specified list of users, scope, and external authentication. Its requireExternalAuth parameter can be used to restrict the displayed users to those found through LDAP or OpenID Connect Authenticator. However, this parameter is about the user source. It does not calculate or display who has effective view, edit, or comment rights on the current page.

The Contributors macro available in the Confluence Migration Toolkit can display the people who contributed to a page. This is useful for documentation ownership and maintenance visibility, but this is different from calculating effective access rights.

For checking permissions, administrators can use XWiki’s rights management interface. XWiki lets administrators manage rights at wiki, space, and page level, including rights for users and groups.

For a broader overview of configured rights, you can use the Admin Tools Application, a contributed extension*. Its Show Rights feature lists specific rights configured across the wiki, spaces, and pages.

For a more modern administration interface, you can also use Admin Tools Pro. Its Security section includes dedicated views for group rights, user rights, transfer rights, and user rights on a page. This can be a useful option when administrators need to investigate access issues in a more guided interface.

Like Admin Tools, Page Rights Viewer Application is a contributed extension*. It shows the actual rights applied to a page, as well as persistent rights inherited from parent pages. It also provides an Actual Rights macro that can display the effective rights table for the current page or another selected page.

So, while Pro Macros do not currently provide a simple “who can read this page?” widget for non-admin users, XWiki offers several options for reviewing and managing access rights depending on the level of detail you need.

2. Which file types can be edited using the View File macro, and does this depend on Collabora?

The View File macro and the Collabora Connector serve different purposes within XWiki.

We provide the View File macro to display attachments directly inside an XWiki page. It allows embedding Office or PDF documents and can show thumbnails for various attachment types, including images and videos. The file needs to be attached to the page beforehand. An office server must be configured for the View File macro to function as expected.

For editing capabilities, we rely on an office integration. The Collabora Connector Application integrates Collabora Online within XWiki and enables viewing, editing, and real-time collaboration on office attachments using the WOPI protocol.

The exact formats available depend on the configured Collabora server and its version. For this reason, we recommend reviewing the compatibility details of your Collabora deployment before defining a file-format policy.

3. After migrating from Confluence, how can Pro Macros help teams clean up and improve imported pages?

Pro Macros and Confluence Bridge Macros are included in the Confluence Migration Toolkit.

They are included alongside other applications to support the migration process and help teams improve how content is structured, displayed, and maintained after it has been imported.

After importing Confluence content with the Confluence Migration Toolkit, teams often need to review repeated text, standardize page layouts, improve the readability of long pages, and create clearer overview pages. Pro Macros can support that work in several ways:

  • Excerpt and Excerpt Include can define reusable sections of content.
  • Panel can create consistent visual blocks for notes, warnings, migration notices, or important guidance.
  • Expand can keep optional detail available without making every page feel too long.
  • Tab and Tab Group can separate alternative instructions, versions, or environments.
  • Status can add visible lifecycle labels, such as draft, reviewed, or deprecated.
  • Content Report Table can create structured reports based on tags and spaces.
  • Recently Updated can surface recent activity across pages, comments, blog posts, or attachments.
  • Contributors can make content ownership and maintenance more visible.
  • View File can embed supporting documents directly in a page.

The goal is not simply to reproduce the original Confluence knowknowledge nizationion. It is to help teams turn imported content into an XWiki knowledge base that is clearer to navigate and easier to maintain.

4. What is the difference between the Confluence Migration Toolkit and Pro Macros in a migration project?

The Confluence Migration Toolkit is a package of migration-related applications designed to support different stages of a Confluence-to-XWiki project.

It includes the Confluence Migrator Pro together with a set of supporting applications designed to cover the full migration process. This package already includes Pro Macros, along with Confluence Bridge Macros, Confluence Bridge Macros, Task Manager Pro, Diagram Pro, Calendar Pro, and support.

The Confluence Migrator Pro focuses specifically on importing and organizing Confluence content. It can migrate pages, hi navigages, history, nion, commentsvigation, comments, users, groups, groups, permissions, attachments, macros, metadata, tags, favorites, tags (labels), and favorites. In order to properly import and display more than 140 macros from Confluence, the Confluence Bridge Macros are essential and they are present in the Confluence Migration Toolkit package. 

Pro Macros are part of the toolkit, but can be used in any XWiki instance, in spite of the source of the content (be it imported from Confluence, office files, or a new wiki system). Pro Macros provide a collection of macros for content formatting, reuse, reporting, display, navigation, and page presentation. They are used to improve how content looks and behaves once it is in XWiki.

In practical terms:

  • Use the Confluence Migration Toolkit as the complete solution to prepare, migrate, review, and fix content during a migration project.
  • Use Pro Macros, included in that toolkit, to structure and improve the resulting XWiki pages during and after the migration.

5. How can the Panel macro help recreate or improve Confluence-style info boxes, warnings, and custom panels?

The Panel macro displays content in a visual container. It can be configured with a title, background colour, width, height, CSS classes, border colour, border style, border width, border radius, title background colour, and title text colour.

The box macros (info, warning, note, success) and custom panel macros from Confluence are converted into XWiki page content during the migration step executed via the Confluence Migrator Pro, present in the Confluence Migration Toolkit. The resulting page will look almost identical to the original Confluence page. See below an example of a page with boxes migrated from Confluence to XWiki:

boxes-imported-confluence.png

6. Can users see an excerpt included on another page if they don’t have access to the original page?

By default, no.

In XWiki, the Excerpt macro includes a parameter called allowUnprivilegedInclude. This parameter controls whether an excerpt can be displayed to users who do not have view rights on the page where the excerpt is defined.

By default, this parameter is set to false, which means that excerpts respect the access rights of their source page. Users who cannot view the original page will not see the excerpt when it is included elsewhere.

If allowUnprivilegedInclude is explicitly enabled, the excerpt can be displayed even to users who do not have access to the source page. This can make the excerpt visible to a broader audience than the source page itself.

This option should be used with caution. Before enabling it, teams should ensure that the excerpted content is appropriate for a wider audience and verify the behavior within their specific rights configuration.

This is particularly important in XWiki, where access rights can be defined at the wiki, space, and page levels.

7. What Pro Macros are especially helpful when creating technical documentation?

The most relevant Pro Macros for technical documentation depend on how your content is structured and maintained. However, several macros are commonly used to improve clarity, reuse, and navigation across documentation spaces.

For content reuse and consistency across multiple pages, the Excerpt and Excerpt Include macros allow you to define reusable sections of content and include them wherever needed. This helps reduce duplication and ensures that shared information remains consistent across the documentation.

When structuring long procedures or organizing optional or contextual information, macros such as Expand, Tab, and Tab Group are particularly useful. They help keep pages readable by hiding secondary details or separating content into logical sections, such as different environments or product versions.

To highlight important information and document content status, the Panel and Status macros are commonly used. They are well suited for displaying warnings, prerequisites, notes, or indicating whether content is in a draft, reviewed, or deprecated state.

For creating overview pages and supporting content maintenance, macros like Content Report Table, Recently Updated, and Contributors provide valuable insights. They can help teams monitor page activity and see who has edited or commented on selected content.

When it comes to displaying user and team information, the Team, User List, and User Profile macros can be used to display relevant people and team information within documentation pages.

To embed supporting materials directly in the documentation, the View File macro allows you to display attached documents, such as PDFs or office files, within a page.

Finally, for navigation and calls to action, the Button and Taglist macros can guide users through documentation or highlight related content.

For example, a technical documentation team might use Panels to highlight safety warnings, Excerpts to reuse standard prerequisites, Tabs to separate instructions by operating system or version, and Content Report Tables to generate documentation indexes based on tags.

8. What is the difference between using a standard XWiki macro and using a Pro Macro?

Standard macros are provided by XWiki Standard or by community extensions. They cover many general content and presentation needs. Community-contributed macros* are typically maintained on a best-effort basis, depending on the availability and priorities of their contributors.

Pro Macros are a professionally supported collection of macros available through the XWiki Store. They provide an additional set of features for content reuse, formatting, user and team display, reports, page navigation, status display, file display, and more. As Pro applications, they are maintained by XWiki SAS and include regular security and functionality updates, maintenance, and quick professional support.

The distinction is therefore mainly about the extension package and support model. Both standard macros and Pro Macros are used inside XWiki instances. Pro Macros add a supported set of additional capabilities that can be useful when teams need more structured documentation patterns or migration cleanup tools.

Button

Insert a noticeable, clickable button on your XWiki page to highlight links and create call to actions.

Parameters

NameDescriptionDefault
labelThe label of the button.-
urlA link or a page reference.-
colorThe color of the button.White
widthThe width of the button specified in pixels, percentage or other valid CSS value (ex. 30px, 30%, 30em). If no value is specified, the width will be determined by the length of the label.-
newTabDenotes whether the page will be opened in a new page or not.false
iconIcon associated with the button, placed before the label.

Examples

{{button label="Store" url="http://store.xwiki.com"/}}

{{button label="Store" url="http://store.xwiki.com" color="#889cb8"/}}

{{button label="Store" url="http://store.xwiki.com" color="#889cb8" newTab="true" icon="page"/}}

{{button label="Store" url="http://store.xwiki.com" color="#889cb8" newTab="true" icon="page" width="100%"/}}

Results in 

demo-button-macro.png

Contributors

Contributors macro shows the contributors of a given page based on defined parameters.

Parameters

ParameterNameDefaultDescription
includeIncludeauthors
  • authors - includes users who edited the page(s).
  • comments - includes people who commented to the page(s)

Several values can be given, separated by commas. Values "labels" and "watches" are not supported in this bridge macro.

orderOrdercount

Possibles values:

  • count - order by number of contributions
  • name - order contributors by name alphabetically
  • update - order by last contribution date
reverseReversefalsereverse the order specified in the order parameter.
limitLimitno limitShow at most the given number of contributors.
modeModeinline

Possible values are:

  • inline - a comma-separated list
  • list - a bullet list.
showCountShow countfalseShow the contribution count for each user.
showLastTimeShow last timefalseShow the last contribution time for each user.
pagePagecurrentThe page for which to list the contributions. If both page and space are empty, the current page is used.
spacesSpacescurrent

Space(s) containing the page specified in the page parameter, or the space(s) to search. Several spaces can be specified using commas.

@global and @ALL will search in the whole wiki.

scopeScopespecified page only

Possible values:

  • children - include direct children of the specified pages
  • descendants - include all children of the specified pages
  • (blank) - include only the specified pages
showPagesShow PagesfalseShow the list of pages used to build the list of contributors
noneFoundMessageNone Found Messagedefault message

The message to show when no contributors are found.

Examples

{{contributors showCount="true" spaces="Sandbox" scope="descendents" showPages="true" mode="list"/}}

Results in

contributors-demo.png

Content Report Table

This macro provides a content report in a table format based on tags .

Parameters

ParameterDescriptionRequiredDefault
labelsThe tags to report on, separated by comma.Yes 
spacesThe space (parent page) names to report on, separated by a comma and a blank space (e.g: "Test, XWiki")No 
maxResultsMaximum Number of results (pages).No20

Examples

{{content-report-table maxResults="10" spaces="DEMO" labels="tech,xwiki"/}}

Results in:

ContentReport.png

Excerpt

The Excerpt macro allows the user to mark part of the page's content for use by other macros. The macro can also be used to hide part of the content of a page.

Parameters

ParameterDescriptionDefault
hiddenIf true, the content of the macro will be hidden.false
nameThe name of the excerpt, for named includes.false
allowUnprivilegedIncludeAllow this excerpt to be seen even for people who don't have view rights on this page when includedfalse

Example

{{excerpt}}
|=Title1|=Title2|=Title3
|Text1|Text2|Text3
{{/excerpt}}

Results in:

excerpt-html.png

Example of hidden excerpt:

{{excerpt hidden="true"}}
My hidden content.
{{/excerpt}}

Excerpt Include

The Excerpt Include macro allows the user to include contents from other pages marked by other macros with the Excerpt Macro.

Parameters

ParameterDescriptionMandatory
0The page to includeYes

Example

{{excerpt-include 0="Excerpt.WebHome" name="someName"/}}

Expand

This macro allows you to insert an expandable section, with a title and content.

Parameters

 Parameter  Name  Description  Default
 title  Title  Title of the section, displayed when the section is collapsed 
 content  Content  Content visible when the section is expanded  

Example

{{expand title="Expand this section to learn more"}}
In pharetra fermentum est, non dapibus orci congue eget. Curabitur scelerisque dui vitae sagittis aliquam. Etiam tincidunt mattis ultrices. Integer felis magna, sodales sit amet finibus id, efficitur nec nulla. Ut volutpat tellus id bibendum scelerisque. Fusce ut massa nulla. Donec ullamcorper elit vitae metus condimentum, sed varius eros luctus. Etiam elit mi, finibus sed nibh a, facilisis eleifend orci.
{{/expand}}

Results in:

1677173833281-292.png

Microsoft Stream

Warning

⚠️ Deprecation Notice

The Microsoft Stream Macro will be removed at the end of July 2026, as Microsoft no longer offers this product.

This macro provides a way for embedding a Microsoft Stream video in a page.

Parameters

 Parameter  Name  Description  RequiredDefault
urlURLThe URL to the Microsoft Stream video.Yes 
widthWidthThe viewer width. Can be specified either in pixels (for example, 400px) or as a percentage of the available page width (for example, 50%).No500px
heightHeightThe viewer height. Can be specified either in pixels (for example, 400px) or as a percentage of the available page height (for example, 50%).No300px
alignmentAlignmentPosition of the video relatively to its container. Accepted values are left, center and right.No 
startStart AtStart video at a specific time (use HH:MM:SS as time format).No00:00:00
showinfoShow InfoShow the video info on thumbnail.Notrue
autoplayAuto PlayWhether the video should start automatically or if the user must play it.Nofalse
textWrapText WrapWrap text around the video. This applies only to left and right alignment.Notrue

Example

{{msStream url="https://web.microsoftstream.com/video/2113" width="700px" alignment="right" showinfo="true" start="00:05:04"/}}

Results in:

1695642164386-534.png

Panel

The Panel macro allows you to display XWiki content inside a visually appealing panel. You can customize its size, colours and border.

Parameters

 Parameter  Name  Default value  Description
 title  Title  -  If specific a title section is added with the specific text
 bgColor  Background color  -  If specific sets the background color of the content of the panel
 width  Width  -  If specified sets the width of the panel (300px or 50%)
 height  Height  -  If specified sets the width of the panel (300px or 50%)
 classes  CSS classes   -  If specified adds css classes to the panel
 borderColor  Border color white If specified sets the panel border color
 borderStyle  Border style solid  If specified sets the css border style
 borderWidth Border width 1px If specified sets the border width in pixels
 borderRadius Border radius8px 8px 0px 0px If specified replaces the default border radius
 titleBGColor  Title background color  -  If specified sets the title section background color
 titleColor  Title text color  -  If specified sets the title text color

Examples

Simple panel

{{panel}}
Content of the panel
{{/panel}}

Results in:

panel-simple.png

Simple panel with border and size

{{panel borderColor="black" width="50%"}}
Content of the panel
{{/panel}}

Results in:

panel-bordered.png

Panel with title and colors

{{panel bgColor="#dbf4ff" titleBGColor="#2a8af7" titleColor="#ffffff" width="50%" title="Title of the panel"}}
Content of the panel
{{/panel}}

Results in:

panel-title-colors.png

Panel with title and colors and border

{{panel bgColor="#dbf4ff" borderColor="#2a8af7" titleBGColor="#2a8af7" titleColor="#ffffff" title="Title of the panel"}}
Content of the panel
{{/panel}}

Results in:

panel-bordered-title-color.png

Panel with bootstrap classes

{{panel classes="col-sm-12" bgColor="#dbf4ff" titleBGColor="#2a8af7" titleColor="#ffffff" title="Title of the panel"}}
Content of the panel
{{/panel}}

Results in:

panel-bootstrap.png

Profile Picture

Display avatars of the members of a team.

Parameters

 Parameter  Name  Description
 User  User  The reference to the user.

Examples

{{profile-picture User="XWiki.Admin" /}}

Show if / Hide if

Show or hide content depending of the specified conditions.

Parameters for Show-if / Hide-if

Note the parameter for Show-if and Hide-if are exactly the same. Only the effect will be inverted.

ParameterNameDescriptionRequiredDefault
matchUsingMatch usingSet if we must match all contraints or only one. If set to "all", then all items set must match.NoAny
authenticationTypeAuthentication type

The type of user to match, using authentication type: 

  • None - No authentication type is chosen. 
  • Authenticated - The user is logged in. 
  • Anonymous - The user is not logged in.
NoNone
usersUsersThe list of user(s) to match.No-
groupsGroupsThe list of user group(s) to match.No-
displayTypeDisplay type

The type of display to show this content. I could be: 

  • None: don't take into account for this parameter. 
  • Default: Show on screen (when the content is not printed). 
  • Printable: Show when it's printed. Will be enabled for PDF or ODT export.
NoNone

Examples

{{show-if authenticationType="AUTHENTICATED"}}
Show if user is authenticated
{{/show-if}}

{{hide-if groups="XWiki.XWikiAdminGroup"}}
Hide if the user is in Admin groups
{{/hide-if}}

Status

The Status macro helps you highlight the status of an item using a colored box. You can customize both the text and the background color. The background can be either lightly colored, or dark, depending on your preference. The macro can be used inside other macros.

Parameters

 Parameter  Name  Default value  Description
 title  Title The color nameThe text of the status. If not specified, the color name will be displayed (e.g.:"Grey").
 colour  Color GreyThe color of the status (text color and background color). The following colors are available: "Blue", "Green", "Grey", "Purple", "Red" and "Yellow".
 subtle  Subtle FalseThe aspect of the status: either white text on dark color background or dark color text on light color background. It should be filled with "true" or "false".

Examples

{{status title="Task"/}}

{{status title="Improvement" colour="Green" subtle="true"/}}

status-demo.png

Tab and Tab-group

Create tab in your page content. Tab-group is the container for the tab elements.

Parameters for Tab

ParameterNameDescriptionRequiredDefault
labelLabelLabel for the tab.Yes-
defaultDefaultIf true, this tab will be the first show by default.Nofalse
idIdA unique ID for this tabNo-
cssClassCSS classThe custom CSS class for the tab.No-
cssStyleCSS StyleCustom CSS style values.No-
nextAfterNext afterThe number of seconds this tab will stay visible before moving to the next one. If not set, no transition will be done automatically.No-
effectTypeEffect typeThe transition animation for this tabNoNone
effectDurationEffect durationThe transition animation duration to apply on change of tab.No0

Parameters for Tab-group

ParameterNameDescriptionRequiredDefault
idIdThe id of the elementNoRandom
tabLocationTab locationThe location of the element.No-
widthWidthThe width of the main element with the CSS unitNo-
heightHeightThe height of the main element with the CSS unitNo-
cssClassCSS ClassA custom css class to decorate the tabsNo-
nextAfterNext afterThe number of seconds this tab will stay visible before moving to the next one. If not set, no transition will be done automaticallyNo0
loopCardsLoop cardsIf true, the tab will loop back to the beginning from the last tab.Nofalse
effectTypeEffect typeThe transition animation between each tabNoNone
effectDurationEffect durationThe transition animation duration to apply on change of tabNo0

Examples

{{tab-group}}
{{tab label="First tab"}}
== First tab content ==
 
* List 1
* List 2
{{/tab}}

{{tab label="Second tab"}}
== Second tab content ==
 
|=Table column 1|=Table column 2
|Raw 1|...
{{/tab}}
{{/tab-group}}

1757693275678-111.png

1757693297482-322.png

Taglist

A macro that will show a list with all the tags that are present on your instance.

Parameters

ParameterDescriptionRequiredDefault
spacesComma-separated list of spaces that are used to filter the tags.No 
excludedTagsComma-separated list of tag that are excluded from the final output.No 

Example Usage

{{tagList
  spaces='Sandbox'
  excludedTags='content-report'
/}}

1734603263099-310.png

Team

A macro that displays avatars of the members of a team, filterable by numerous parameters.

Parameters

 Parameter  Name  Description  Default
 tag Tag Tag that users need to have to be shown  
 users Users Restrict to this list of user names (don't prefix with the wiki identifier)  
 size Size The size (height and width) of an avatar  60
 showUsernames Show Usernames The name of users should be displayed under their avatars  false
 letterAvatarBgColor Letter Avatars Background Color The background color of the letter avatars  #0A6
 letterAvatarFontColor Letter Avatars Font Color The font color of the letter avatars  white
 disableLetterAvatars Disable Letter Avatars Don't use letter avatars and display a default avatar instead  false
 requireExternalAuth Require External AuthThe user should be searched in LDAP or OAuth  false
 limit Limit The maximum number of people to show (0 turns off the limit)  100
 scope Scope The scope of the query used to find users. "global": in the main wiki. "local": in the current wiki. "both": in both the main wiki and the local wiki. "auto": find out from the wiki settings. Has no effect in the main wiki.  auto

Examples

All users

{{team/}}

Results in: 

team-all-users.png

All users, no LDAP or OpenIDC requirements, bigger

{{team requireExternalAuth="false" size="100" /}}

Results in: 

team-all-users-bigger.png

All users, no LDAP or OpenIDC requirements, some colors

{{team requireExternalAuth="false" letterAvatarBgColor="#05C" letterAvatarFontColor="#FFA"/}}

Results in: 

teams-color-icon.png

All users, with LDAP or OpenIDC requirements

{{team requireExternalAuth="true" /}}

All users with names, disable tools

{{team showUsernames="true" disableTools="true"/}}

Results in: 

teams-users-with-names.png

All users with names, disable letter avatars, only in the main wiki

{{team showUsernames="true" disableLetterAvatars="true" scope="global"/}}

Results in: 

teams-avatars-main-wiki.png

Recently Updated

This macro allows you to display the most recently updated pages, blog posts, and attachments. You can filter by space, labels (tags), author (last editor) and you can further customise the display through the maximum number of results, theme, show user profile and hide title parameters. 

Parameters

ParameterDescriptionRequiredDefault
typesComma-separated list of types (page, blogpost, comment or attachment), possibly prefixed with "-".Noall types
spacesComma-separated list of spaces, possibly prefixed with "+" or "-", or special value like @self, @global or @all.No@self
authorComma-separated list of authors.No 
labelsComma-separated list of tags, possibly prefixed with "+" or "-".No 
maxMaximum number of results.No  15
themeAppearance of the macro (concise, social, sidebar).No  concise
widthWidth of the macro in percentage.No  100%
hideHeadingWhether to hide the text "Recently Updated" as titleNo  false
showProfilePicWhether to show the profile picture of usersNo  false

Example

{{recently-updated spaces="Sandbox" types="page, attachments" max="10" showProfilePic="true" hideHeading="true" theme="social"/}}

Results in:

1677176326677-954.png

User List

The macro allows displaying a custom list of users in a table with a set of configurable properties.

Parameters

 Parameter  Name  Description  Default
 users  Users  List of users to be displayed  
 properties  Properties  List of user properties to be displayed  avatar,username

Example

{{userList users="XWiki.JohnDoe,XWiki.StefanaNazare,XWiki.MarySmith" properties="avatar,username"/}}

Results in:

user-list-simple.png

User Profile

The macro allows to display a user with their attributes in a box.

Parameters

 Parameter  Name  Description  Default
 reference  Reference  Reference to a user page  
 properties  Properties  List of user properties to be displayed, separated by a comma  company,email,phone,address

Example

{{userProfile reference="XWiki.MarySmith"/}}

Results in:

user-profile.png

View File

The View Files macro allows you to embed an Office or a PDF document inside an XWiki page or display a thumbnail for office documents and other types of attachments such as images and videos. You will need to attach the document to the page. 

Note: In order for the view-file macro to function as expected, you need to have an office server setup. Please refer to our documentation for more details on how to setup an office server for XWiki. 

Parameters

ParameterDescriptionRequiredDefault
displayKind of display. "button" for a button, "thumbnail" for a thumbnail, "full" to render the document in placenothumbnail (button in inline mode)
nameThe attachment reference to displayif att-filename is not given 
widthThe width of the view in % or px (e.g. 100%, 100px)no100% for the full view or 100px for the thumbnail
heightThe height of the view in % or px (e.g. 100%, 100px)no1000px for the full view or 100px for the thumbnail
att-filenameAlias of name, here for compatibility reasonsIf name is not given

Example

{{view-file name="XWikiLogo.png"/}}

{{view-file display="button" name="migration-gif-2.mp4"/}}

{{view-file display="full" name="XWikiSAS.pdf" height="600"/}}

Results in

view-file-examples.png

Installation Steps

This paid extensions requires XWiki 15.10 or above. In order to install the extension, follow the next steps inside your XWiki instance (on cloud or on premise).

Navigate to the Extension Manager

In the Applications Panel click on "More Applications..." and then "Install new applications...". Alternatively navigate directly to the Administration and select the "Extensions" section.

step1.png

Install the Extension

Search for the extension you wish to install and use the Install button to install it.

step2.png

Get a License

Navigate to the "Licenses" section of the Administration, fill your details, look for the extension you just installed in the live table and click the buttons to get a trial license or to buy a license.

step3.png

Install the License

If you have selected a trial license then you're good and there's nothing else to do. Your trial license is automatically installed.

However if you've selected to buy a license you'll be redirected to a page to perform the payment. At the end you need to come back to the "Licenses" administration section and click on the "Check for Updates" button. This will download and apply the license you bought.

Use the Extension

Start using the Extension! Refer to the extension's documentation to know how to use it.

Installing Paid Apps on Subwikis

If you want to install an application on the whole farm (main wiki + subwikis), you can do so directly from the main wiki’s Extension Manager, as seen below:

step4.png

Extensions can also be installed only on a particular subwiki by global admins. Subwiki admins will not be able to install these extensions due to their limited rights.

Options

The price is per year and varies depending on the support level and the number of users.

Support / Users 10 25 50 100 250
Basic
Pro Macros is part of the XWiki Pro package. By purchasing this package, you will benefit from more extensions at a better price. Check the full offer in XWiki Pro! The Pro Macros can be purchased individually only via online order (credit card payment), following the “How to Buy” procedure described below. The application is part of the XWiki Pro package, which can be purchased through online order for up to 1000 users, or through manual order (bank transfer payment) by contacting sales@xwiki.com.

Benefits

What do you get when you purchase an XWiki extension?

1/3 years license

By purchasing an XWiki extension license, you'll benefit from it during one or three years, depending on the chosen engagement period.

Free updates

You benefit from all the extension updates during one year. You are always up to date.

Support included

If you are facing an issue, you can reach the XWiki support. Our team is always available to help.

How to Buy

To buy, install this extension from inside your XWiki instance and follow the instructions.

Release notes

Extension details

Information

This information is only displayed to Administrators. Your users can't see this tab.

License

  • GNU Lesser General Public License 2.1

Sources

Issues

Type

  • xar

Developed by

Compatibility

  • Requires XWiki 15.10 or above.
Success

Installable with the Extension Manager

Dependencies

  • com.xwiki.licensing:application-licensing-licensor-api 1.32.3
  • com.xwiki.pdfviewer:macro-pdfviewer-ui 2.7
  • org.xwiki.platform:xwiki-platform-rendering-wikimacro-store 15.10
  • org.xwiki.contrib:location-search-macro 1.6.3
  • org.xwiki.platform:xwiki-platform-tag-ui 15.10
  • com.xwiki.date:macro-date-ui 3.10.2
  • com.xwiki.pro:xwiki-pro-macros-api 1.31.3
  • com.xwiki.commons:xwiki-pro-commons-pickers-ui 1.3.0
  • org.xwiki.rendering:xwiki-rendering-macro-html 15.10
  • org.xwiki.platform:xwiki-platform-search-solr-query 15.10
  • org.xwiki.platform:xwiki-platform-rendering-macro-velocity 15.10
  • org.webjars:jquery 3.7.1
  • org.xwiki.platform:xwiki-platform-query-manager 15.10
  • org.xwiki.platform:xwiki-platform-wiki-script 15.10
  • org.xwiki.platform:xwiki-platform-localization-script 15.10
  • org.xwiki.platform:xwiki-platform-wiki-user-script 15.10
  • org.xwiki.platform:xwiki-platform-office-macro 15.10
  • org.xwiki.platform:xwiki-platform-rendering-macro-groovy 15.10