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


Tech Tuesday: Using GETMAPXML/VAR to pass in parameters to a map and getting the data back
Tech Thursday: Adding Custom Headers to GP Excel Templates
Become an Expert with Extender Self-Paced Training
Missed the All-Hands Partner Call? You're Not Too Late!
Find us at eXtreme365 in Austin

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 Demo Dynamics 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 Microsoft dynamics crm Microsoft Dynamics GP MSDYNGP Office Relationships partners release SalesForce SalesForce.com scripting SmartConnect 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.