You need to sign in to do that
Don't have an account?
Mark Slavin
Invoking a custom Task VF page via a List Button.
Hi,
I created a custom Task page based on a standart cotroller and would like to invoke it via a list button from contact's open activities. I'm not sure how to build a URL link which not only will invoke the page, but also pass a few arguments.
thanks
I created a custom Task page based on a standart cotroller and would like to invoke it via a list button from contact's open activities. I'm not sure how to build a URL link which not only will invoke the page, but also pass a few arguments.
thanks
To access URL parameters via VF reference the merge field "$CurrentPage.parameters.myparam".
To access URL parameters via Apex class, create an extension and, in the constructor, set property = ApexPages.currentPage().getParameters().get('param2');
For example the URL field is:
The VF page is:
Apex class is:
Hope this helps!