You need to sign in to do that
Don't have an account?
Gheorghe Sima 7
List button
Hi,
I want to make a list button, but when i select the content source Visualforce Page i don't see my page in the content section. I want to make an button to Contact and i set the standardcontroller="Contact".
Can anyone help me?
I want to make a list button, but when i select the content source Visualforce Page i don't see my page in the content section. I want to make an button to Contact and i set the standardcontroller="Contact".
Can anyone help me?
If you wanted to have list button; you need to write "Extension", only then you can see this page in "Content" section.
Also make sure that your extension should be - StandardSetController.
Example - If you wanted to have a list button for Contact.
1. The VF Page should have below markup.
<apex:page StandardController="Contact" recordSetVar="cons" extensions="contactExtension">
<!-- Your VF Page code-->
</apex:page>
2. The controller extension
public class contactExtension{
public contactExtension(ApexPages.StandardSetController setController){
//Your code here
}
}
Hope this resolves your issue!!