This macro requires valid licenses for both Salesforce & Confluence Server Connector and Reporting for Confluence Server & Data Center.

Allows reporting of Salesforce Objects using SOQL.

This reporter will obtain data from Salesforce from a SOQL query.

The data is obtained using the configured Salesforce connection. (See Configuring the Connector for details on how to set up or modify this connection.)




Migratable to Cloud?

Default Value



  • (/)

  • NO

The SOQL query to execute in SalesForce.

The result of the query will be made available to the Salesforce Supplier.

Editor View

Macro Edit View

  • Not applicable.


Simple Query
{soql-reporter:query=SELECT Account.Name, Name,Amount,StageName From Opportunity}
{report-column:title=Stage Name}{report-info:sf:StageName}{report-column}

Displays a table with a list of all of the Opportunities, grouped by account, with the opportunity, amount and name of the stage of the opportunity.

Aggregrated Query
{soql-reporter:query=SELECT StageName, Count(ID) CT From Opportunity Group By StageName} {soql-reporter}

Displays a table with a list of Opportunity's Name of Stage and its frequency.

Tutorial Examples