EONE BLOG

Tech Tuesday: How to manually activate and deactivate SalesForce Apex Triggers


Real time SalesForce data sources make use of what are called Apex Triggers. When you register the map, it creates an Apex Trigger, when you unregister the map, it removes the Apex Trigger.

However, on occasion, you might want to activate and deactivate these triggers manually instead of going into SmartConnect and registering and unregistering your maps. These are the steps you would follow to inactivate and activate the triggers without using SmartConnect to do it for you.

Login to your SalesForce environment where you need to inactivate the triggers. Click on the gear icon and press the “Setup” icon.

On the left side of the Setup screen, go down to Custom Code and select Apex Triggers

The real time triggers created by SmartConnect will have eOne_SC_RTDS in the name. The “I” stands for Insert, and the “U” stands for update. Find the ones you want to inactivate, and then click the “Edit” link. The one in my screenshot is a real time “Order” insert trigger.

 

Uncheck the “Is Active” checkbox and hit Save

After making it Inactive, it should show up as Inactive in the Triggers window

You can follow the same process when you want to make the trigger active again.

Leave a Comment




RECENT POSTS


2019 Summer Webinar Schedule
SmartConnect Bootcamp in Raleigh, NC – Don’t Miss It!
Tech Tuesday: Issues to be aware of when creating maps that use text ODBC drivers
Employee Spotlight: Devon Binstock, Support Intern
Q2 2019 Partner Call Recording

POPULAR POSTS


2016 SmartConnect Integration Bootcamps
Tech Tues: Automatically refreshing Pivot Tables in Excel Refreshable Reports
Happy Thanksgiving from the eOne team!
New Releases of Extender and SmartList Builder
2017 SmartConnect Integration Bootcamps

CATEGORIES

ARCHIVES

open all | close all

TAGS

CRM Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News eOne Spotlight ERP Events Excel Excel Report Builder Extender Extender Enterprise Flexicoder GP GPUG integration integration manager Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Office Relationships partners Popdock release Reporting SalesForce SalesForce.com scripting SmartConnect SmartConnect.com SmartConnect Office Hours SmartList SmartList Builder SmartList Designer SmartView SQL Support Tech Tuesday Templates training Zendesk

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.