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
Minky VaidMinky Vaid 

Different Layout for seprate custom button

Hi

I have created the 2 custom buttons and added to account page layout.

1 in Open activities related list
2 in Activity history related list

I want seprate page layout for both customs buttons in same profile and same Record type. I did URL hacking with seprate layouts but its only showing layout which is assigned to the record type on the profile.
In other words its only showing one layout for all custom buttons

Is there a way to get seprate layouts to seprate customs buttons? 

 
Ankit Gupta@ DeveloperAnkit Gupta@ Developer
Hi Minky,

You can create inline vf page instead of different page layouts to display the buttons on some condition.



 
Minky VaidMinky Vaid
Hi Ankit,

Could you guide me to some links or steps how to do that?