Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.