5

Where can we find available parameters for sforce.console.fireEvent('XYZ');? Is there any list available for standard methods?

I can see this call in a Visualforce Page:

sforce.console.fireEvent('RefreshAccount');

Where might this event be defined, or is it a standard event?

1

As stated in the documentation fireEvent this method is used to fire a "custom" event. Then you can use addEventListener to handle your "custom" event. Using this technique you can implement communication between several components.

Try to search for "addEventListener('RefreshAccount'" in your project and you should find the handler for it. The implementation can be in Static resources as well if your Visualforce pages includes some custom libraries.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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