---
title: "Salesforce object macro"
canonical: "https://support.appfire.com/space/CCSFCONFC/470091022/Salesforce%20object%20macro"
format: markdown
---
> Macro (aura-html)

## Description

The Salesforce Object macro allows users to:

1. Display either a link to a Salesforce Object on a Confluence page; or
2. Display a table generated from data in Salesforce fields.

Example:

![image](media://a2d52325-e9b5-407b-894a-4d80e67f0715)

 

 

## Parameters

| Name | Required | Migratable to Cloud? | Default Value | Description |
| --- | --- | --- | --- | --- |
| Connection | - [(x)] | - [No] | The default value of the Connection will depend on what the Confluence administrator set in the add-on [Connection set-up](https://appfire.atlassian.net/wiki/spaces/CCSFCONFC/pages/470090616). | Allows the user to choose which Salesforce Connection to use for this macro. |
| Object URL | - [(/)] | - [No] |  | The URL of the Salesforce Object the user wants to display on the Confluence page. |
| Render as Table | - [(x)] | - [No] |  | Enabling this option renders the chosen Salesforce Object fields to be rendered as a table. The fields are specified in the textbox below this parameter. |
| Fields | - [(x)] | - [No] |  | This parameter is only enabled if both the **Object URL** is provided and the **Render as Table** checkbox is selected.<br>Allows the user to type in the Salesforce Object fields that he wants displayed and rendered as a table. |

## Editor View

![image](media://6895e032-e543-47bb-8796-70ce6056eec6)

 

## Macro Edit View

![image](media://a8a9003c-f5de-4ac8-b1ca-e579fe4388fb)


## Notes

- Not applicable.