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

It really is a simple question, just wasn't able to find such information, and the wide availability of streaming apis across the web doesn't help searching.

I'm trying to know whether we can enable the Streaming API using apex or if it can be enabled via any other way other than through App Setup -> Custumize -> User Interface -> Setup -> Enable Streaming API.

The objective is to be able to build a package that could propose the activation and make it without the need to travel the menus.

Any help will be welcome :)

share|improve this question
up vote 1 down vote accepted

No, unfortunately that's not possible. As a general rule the setup section is foreign territory for APEX.

You're best option at the moment is to add a link to that particular section of the menu from a setup page (or in an email to the installer). You may also be able to default the box to checked when the page loads with url hacking (although this may not work on setup pages).

share|improve this answer
Thanks Ralph, that helped me more than what I was expecting :) – ricardomartins Feb 22 '13 at 20:05

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.