Skip to content
+1-888-319-3663

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


Dynamics SL to D365 Business Central Migration - Recordings Now Available!
Connect with eOne at Summit North America 2022 - Live in Orlando!
NEW WEBINAR: Dynamics SL to D365 Business Central Migration - Next Week!
Meet the eOne Team at BC/NAV Tech Days 2022
D365 Finance Integration with SmartConnect - Watch the Recording

POPULAR POSTS


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

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships Partner All Hands Call Popdock promotions release SalesForce SalesForce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.