The purpose of this article is to help Admins create a custom "Cancel" or "Delete" button in the Salesforce Event that Chili Piper creates. Once live, the button will allow your Chili Piper Users to remove a meeting from your users' calendar via a click of a button.
Notes:
- The button will not work for meetings not booked with Chili Piper
- The button will not work if the user attempting to click the button is not a Chili Piper User
Update Dec 13th 2019: We have remove the "Admin Only" permission restriction. Any Chili Piper user will be able to cancel a meeting. If you want to limit which user's can use this button, you will want to not add this button to that user(s) SFDC Page Layout.
Update Feb 22nd 2020: We now have a Public Cancel URL that will allow anybody with access to this URL to delete/cancel the meeting. Please see more details here.
Steps
Salesforce Classic:
- Navigate to "Setup" in Salesforce
- Go to the "Event Buttons and Links" section
- Build -> Customize -> Activities -> Event Buttons and Links
- Click "New Button or Link"
- Configure the Button using the following data:
- Label: Cancel (or Delete) - Your call!
- Name: Cancel (or Delete)
- Display Type: Details Page Button
- Behavior: Display in new window
- Content Source: URL
- Select Field Type: Event
- Link to Add: https://api.chilipiper.com/cancel/{!Event.Id}
- Link Encoding: Unicode (UTF-8)
- Click Save.
Your button setup should match the picture below.
Add button to Event Layout
Navigate to Customize -> Activities -> Event Page Layouts . “Edit” the Event Page Layout.
From the Buttons category in the palette, drag "Cancel" into the Custom Buttons area on the page layout.
Lightning view:
- Navigate to "Setup" in Salesforce
- Go to the "Object Manager" and select "Event," then "Button, Links, and Actions"
- Event -> Button, Links, and Actions
- Click "New Button or Link"
- Configure the Button using the following data:
- Label: Reassign
- Name: Reassign
- Display Type: Detail Page Button
- Behavior: Display in new window
- Content Source: URL
- Select Field Type: Event
- Link to Add: https://api.chilipiper.com/cancel/{!Event.Id}
- Link Encoding: Unicode (UTF-8
- Click Save.
Your button setup should match the picture below.
Add button to layout
Navigate to Setup -> Object Manager -> Event -> Page Layouts . “Edit” the Event Page Layout.
From the Buttons category in the palette, drag "Cancel" into the Custom Buttons area on the page layout.
End Result
The Button you created should appear in your events.
In Lightning you also must create a page layout to display more than three buttons.
Classic view:
Lightning view:
Clicking the Button:
When you click the button, if it is successfully deleted, you will see the message: "Event was successfully canceled".
Tracking when a meeting is canceled
Remember that you have the ability to cancel/delete an event from the Google or Outlook Calendar but keep the event in Salesforce for tracking.
To do this, remember to add the custom field "Canceled_CP" to your Salesforce and disable the setting within CRM - Workspace Preferences "If a meeting is deleted in Google/O365, delete the meeting in Salesforce as well" then Chili Piper will check the field within Salesforce so you know the event was canceled.
Here's the Custom Field you need to add to "Activity Custom Fields"
And here's the setting to make sure you uncheck if you want the Event to stay in Salesforce:
Comments
0 comments
Please sign in to leave a comment.