You need to sign in to do that
Don't have an account?
Extend Standard Case Controller without using VF page
I need to add some logic to the standard CaseView controller (specifically to capture the user IP address), but cannot use a VF page override because this would disable inline editing of the CaseView page. Is there any way to get a class method to execute without being called from a VF page?
This logic would execute everytime the CaseView standard view was called. I can't use the standard functionality provided to get the IP Address (e.g. ApexPages.currentPage().getheaders()) from within a trigger because the page context isn't relevant to the bulk processing nature of triggers.
Mike Gordon
aka GordymanLG2
Hi ,
There is no way around where you can use the Case View controller to extend it functionality without visual force page.
Thanks
Mohit Mohan
Developer support team