2

I need to call a static method when the details page for an object loads. Currently, the only way I know I can do this is to create a Visualforce page and add it to the profile.

Is there another way?

10
  • What is it you are trying to accomplish? Commented May 21, 2015 at 21:20
  • I need to call a method in a third party managed package/plugin. Commented May 21, 2015 at 21:23
  • Yes, you can create a webservice called by a self removing button. Let me know if you want details. Commented May 21, 2015 at 21:29
  • 1
    Sound interesting but I'm not sure if its less "hacky" than embedding the a Visualforcepage. Commented May 21, 2015 at 21:35
  • It's pretty hacky. But it has the advantage of being invisible, whereas the page is 200px that you can't hide... Commented May 21, 2015 at 22:15

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.