Displaying a List of Entities in a Table Format
Let's use the Salesforce Entity to display a table of entities extracted from a Salesforce Object.
Ingredients
Apps | Connector for Salesforce.com and Confluence |
---|---|
Macros | Salesforce Entity |
Guide
Create a Salesforce Entity macro.
An Insert 'Salesforce entity' Macro pop-up window will appear:
The * (default) field is used to enter the Salesforce Object in which the macro will search for entities. (This is a required field.)
The conditions field is used to filter the search query results by using the SalesForce.com Confluence Query Conditions.
The fields field is used to filter search query results by what fields you want the macro to display. (Leaving this empty will make the macro display all fields.)For this example, enter "Contact" in the * field, so that the macro will search within Salesforce Contacts.
Then, let's filter the Contacts results to only those that belong to an Account that begins with the string "United".
In the conditions field, enter "Account.Name=Like:United%".Lastly, let's choose what fields to display.
Enter "Name, Email, Phone, Fax, MailingStreet".You should have something that looks like this:
Click Insert and then save the page.
Notes
Not applicable.
Result
You should have something that looks like this:
