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
krish99krish99 

Hide and show custom Button In Standard page

HI,

          I have an custom button is Email, which is in Quote Pagelayout, in that quote i have a field called status, when status =true means the button should be show and when i click that button it is connect to the link ====>> _ui/core/email/author/EmailAuthor,  remain cases button should be disable.
saikrishna.Gsaikrishna.G
Write java script
krish99krish99
@saiKrishna

             Can you give me the sample code for this
MagulanDuraipandianMagulanDuraipandian
Hi,
Create two page layouts, one with custom buttom email and another without it.

Create two record types and assign the page layouts.

If status is true, assign the record type which doesn't have custom button and vice versa thru trigger or field update.

If this solves your problem, kindly mark it as the best answer.
Hit Like, if it saved your work :-)

Regards,
Magulan
http://www.infallibletechie.com
krish99krish99
@Magulan D,

                       Hi Where i have to check the status in Workflow rule. then which action i have to perform.can you explain me step by step..