Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it tied to a page load? If so, which pages? Or some other element inside the page? Sidebar maybe? Is it possible for a packaged app to interfere with the reminder pop-up function?

I'm trying to understand why a user might cease to see reminder pop-ups while using a native packaged app in Salesforce.

share|improve this question
up vote 3 down vote accepted

You can use something like the Chrome Developer Tools to view, pretty print, debug, or step through the JavaScript being used by Salesforce to make it easier to comprehend.

It looks like the JavaScript responsible for popping up the activity reminder window is in the sfdc/main.js file in the code related to the ActivityReminder.

You can execute the following JavaScript from the Chrome Developer Console to get the Activity Reminder Window to pop up.


It will just display sample test data:

activity window with sample

Also, the Chrome Developer Tools can give you a good view of the JavaScript that is written directly in the page (as opposed to included from .js file) and a view of the actual HTML of the page.

On the account detail page (standard layout) in my DE the ActivityReminder gets initialized in a function called bodyOnLoad() which is called from the body's onload() event.

Although it could be useful to understand what's going on behind the scenes to diagnose your problem, you should not write any code that depends on / uses any of the built in JavaScript. It is not a published Salesforce API and, therefore, could change at any time. You could end up in a situation like chatterfeed toggle not working post Spring '13.

share|improve this answer
Excellent, thorough answer. Thank you Peter! – Eric Wu Feb 23 '13 at 0:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.