I would like to hide a related list based on condition . For e.g : If the user doesn't have edit access on opportunity, do not display quotes related list or do not show new button, so new related record can;t be created .


You can if you use Single Related List Component. You will need to use the component visibility

enter image description here

Choose Advanced and Use a Custom Permission that is assigned for all users that have the access to edit opportunity

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.