You need to sign in to do that
Don't have an account?

Hide and show sections of Page Layout-Salesforce Lightning
Hi Experts.. I have the requirement to hide/show sections of the Salesforce Lightning Layout based on the picklist option value which we select.. is there any alternative way without using LWC controls, I am very newbie to the saleforce. your suggestions would be greatly appreciated..
Thanks
Srikanth
Thanks
Srikanth
You have 3 options:
>>Develop your own layout with VisualForce pages or lightning components (really not recommended, but a viable option).
>>See this idea: Dependent page layouts (https://trailblazer.salesforce.com/ideaView?id=08730000000BroxAAC) and wait until it will be GA.
>>See this article: Dependent Page Layouts – Dynamically Hide/Show Form Fields in Lightning Experience (https://douglascayers.com/2017/06/24/dependent-page-layouts-dynamically-hideshow-form-fields-in-lightning-experience/) and try to use flows in your lightning layouts.
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.
Do we have any form events or fields events (OnChange) for the pagelayout, if so, can we use javascript code to handle this kide of requirement.
Is this requirement not possible by using standard paylayouts? in this case what is the use of pagelayout ?
I haven't tried the other options but I can say go through the links which I posted above.