> For the complete documentation index, see [llms.txt](https://help.smallbuilder.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.smallbuilder.com/smallbuilder-troubleshooting/undefined-1/button.md).

# Add Button Warning (If the button is not added to the page)

## Cause

A warning occurs when Salesforce Mobile and Lightning Experience Actions are not enabled.

<figure><img src="/files/8JpO8HB4gPImQ6NcrIB6" alt=""><figcaption><p>Error Message</p></figcaption></figure>

##

## Resolve

{% hint style="info" %}
If you add a button to your PageLayout after Salesforce Mobile and Lightning Experience Actions are enabled, the error will no longer occur.
{% endhint %}

Enable Salesforce Mobile and Lightning Experience Actions for the page layout where you want to add a button to resolve the warning.

<figure><img src="/files/iVPTKfIOJXApkU2pBZU0" alt=""><figcaption><p>Setup > ObjectManger > Selected objects > Page Layouts<br>> Hover over Salesforce Mobile and Lightning Experience Actions > Click the spanner icon</p></figcaption></figure>

Add the added button directly to the PageLayout.

<figure><img src="/files/DxHGZZaBqSEGJg0Eg8da" alt=""><figcaption><p>Mobile &#x26; Lightning Actions > Drag the added button > Drop the created button in the Salesforce Mobile and Lightning Experience Actions panel</p></figcaption></figure>
