---
schema_version: "1"
id: 19b427868f73242131e50b67791ee54a6286d812f90a2f2a77a001b100230d27
title: Add Custom Actions for the Salesforce Spiff Commission Estimator
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/sales/264-0-0/spiff_estimator_quote_custom_actions.md
canonical_url: https://help.salesforce.com/s/articleView?id=sales.spiff_estimator_quote_custom_actions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 105d5deb9f38cfdad90c6ffcfd8371934eb8f6773f5652b2458671d206c6b28c
description: Add a picklist value, Estimate Commission, in the Custom Action object so reps can trigger the Salesforce Spiff Commission Estimator. Then, create a custom action for adding the Salesforce Spiff commission estimation button to the Spiff_Commission_Page Visualforce page.
products:
  - Sales Cloud
  - Sales Enablement
release: "264"
---
# Add Custom Actions for the Salesforce Spiff Commission Estimator

Add a picklist value, Estimate Commission, in the Custom Action object so reps can trigger the Salesforce Spiff Commission Estimator. Then, create a custom action for adding the Salesforce Spiff commission estimation button to the Spiff\_Commission\_Page Visualforce page.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available for an additional cost in: <strong>Professional</strong> Edition with Web Services API Enabled</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d69162e76">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d69162e76 ">To create custom fields on a Salesforce object:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d69162e76 ">(Salesforce) Customize Application</td>

          </tr>
        </tbody>
      </table>

1. Add the picklist value to the Custom Action object.
    1. From the Object Manager in Setup, select the Custom Action object.
    2. Select **Fields & Relationships**, and then select **Label**.
    3. Scroll to the Label Picklist Values section and click **New**.
    4. Add the value Estimate Commission and save your changes.
2. Create the custom action.
    1. In Salesforce, go to the user menu and copy your org's domain name.
        
        ![Salesforce domain name in the user menu](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-sales-sales_performance_management-264-0-0-production-enus/b1f2feb4-26b8-444f-97f7-be2349869d93/sales_performance_management/images/spiff/spiff_estimator_quotes_domain.png)
    2. From the App Launcher, go to **Custom Actions**.
    3. In the Custom Actions page, click **New** and enter these values.
        
        - For Name, enter Spiff Commission Action.
        - For Display Order, enter 914.
        - For Type, select **Button**.
        - For Conditions Met, select **All**.
        - For Active, select **True**.
        - For URL Target, select **Popup**.
        - For URL, enter https://domain/apex/Spiff\_Commission\_Page?id={!SBQQ\_\_Quote\_\_c.Id} where domain is the domain name you copied.
        - For Page, select **Quote Line Editor**.
        - For Location, select **Quote**.
        - For Label, enter Estimate Commission.
        - Enter any description.
        
        If the Conditions Met field isn't available, add it to the Custom Actions page layout. See [Page Layouts.](https://help.salesforce.com/s/articleView?id=platform.customize_layout.htm&type=5&language=en_US)
    4. Save your changes.

#### See Also

- [Custom Actions](https://help.salesforce.com/s/articleView?id=sales.cpq_custom_actions.htm&type=5&language=en_US)