function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SSarangiSSarangi 

Including a custom button in related list section with content type as VisualForce page!

Hi,

 

I want to include a custom button in the Quote Line Items related list section of the Quote page. The content type has to be a VisualForce page which displays Quote object fields.

Hence, I have to use the standard controller as Quote and if i do so, the VF page does not appear in the Content dropdown of the Custom Button. 

 

Where am I going wrong? Can anyone please give a solution to this? Its urgent.

 

Thanks in advance.

vbsvbs
If this new button needs to be displayed in the related list for the Line Items why is it setup on the Quote Object? The button will need to be setup on Line Items object and then you can alter the Quotes page layout and add this button in the relevant related list section.