Repairing Data Connections
If you or another user modifies the object that an existing data repeater, data table, data function, or form is connected to, the data connection might break. For example, this can happen if a connected object or field is renamed or deleted, or if its permissions are changed.
Required Editions
| Available in: Salesforce Classic |
Available for purchase in: Enterprise, Performance, and Unlimited Editions Available (with limitations) in: Developer Edition |
When you open a site page containing broken data connections, a dialog box that lists
the problems appears. Hover over each item's
icon to see the possible
solutions.
| Problem | Solution |
|---|---|
| A data repeater, data table, or data function is connected to an object that doesn't have the correct access permission, or has been renamed or deleted. | Open the guest user profile and ensure the Read permission is enabled on the object. If that's unsuccessful, click Edit beside the listed item to open the Data Connection dialog box, and ensure the correct object is selected. If the object has been renamed, select the renamed object. If the object has been deleted, you must either choose a different object or delete the page element. |
| A data repeater, data table, or data function is trying to filter results using fields that are longer visible, or have been renamed or deleted. | Open the guest user profile and ensure the object has the correct field-level security enabled for each field. If that's unsuccessful, click Edit beside the item to open the Data Connection dialog box, and reset the filter criteria. |
| A data element is connected to a field that's no longer visible, or has been deleted or renamed. | Open the guest user profile and ensure the object has the correct field-level security enabled for the field. If that's unsuccessful, click Edit beside the item to open the Edit Data Element dialog box, and ensure the correct fields are referenced in all relevant drop-down lists and in any custom text. |
| A form is connected to an object that doesn't have the correct access permission, or has been renamed or deleted. | Open the guest user profile and ensure the Create permission is enabled on the object. If that's unsuccessful, you must replace the form, as you can't edit a form's data connection. |
| A form is missing one or more required fields, which were added to the object after the form was created. | Add the missing field to the form. |
| A form field is pointing to a field that's no longer visible, or has been renamed or deleted. | Open the guest user profile and ensure the object has the correct field-level security enabled for the field. If that's unsuccessful, remove the field from the form. |

