Using the Salesforce Table Macro with Charts
A very useful application of the Using Salesforce Table macro would be to combine it with Atlassian's Chart macro.
The following is a quick and simple example of what is possible when you use Salesforce Table with Charts.
Unfortunately, this use case is no longer possible due to the introduction of Confluence Cloud's new editor. See reference.
Steps
Let's start with creating a Saved Filter.
For this example, we have created a Saved Filter that searches for all Opportunities under "
Grand Hotels
":
This is the SOQL Query that was generated:SELECT Name, Amount FROM Opportunity WHERE Name LIKE 'Grand Hotels%' ORDER BY Name ASC NULLS FIRST
We have saved this Saved Filter under the name"
Grand Hotels Opp
".Now, on an empty page, create a Chart macro.
Edit the Chart macro and change the Type parameter to "
Bar
".
Â
Click Save.Within the Chart macro, create a Salesforce Table macro.
Edit the Salesforce Table macro.
Let's use the Saved Filter we created earlier on.
Â
Click Save.
As a side note, this is what the Salesforce Table would look like without using the Chart macro:Save the Confluence page to view the result:
Â