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
Del_SantosDel_Santos 

Disable and Enable a custom link

Hi,

 

Can anybody give me an idea on how can I disable a custom link. I created a custom link in the opportunity page.

I want this link enabled based on a condition.

 

something like:

 

IF (Opportunity Type == New Service, link enabled, link disabled)

 

Thanks,

Del

 

Santhosh KumarSanthosh Kumar

Even though this type of capability in the standard layout would be a great time saver, there is no mechanism to apply these type of conditional visibilty/enablements to buttons/links. Only option is to create various record types, and create different page layouts with those buttons present/or not as appropriate.