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
seven23seven23 

Lightning component visibility for partner user on contact page

How can I set a lightning component's visibility on a contact lightning record page to show if the contact is a partner user? NOT the logged in, current user; this is to show a button to internal users depending on whether or not the contact being viewed is a partner user.
Raj VakatiRaj Vakati
Override it with Record type and page layouts .. Set the control based on the pagelayout and record type .. this is the only simple way 


Or Second Option Edit the record page by using app builder --> set the visibilty based on the conditions .. 

User-added image

Refer this link 

https://salesforce.stackexchange.com/questions/207049/lightning-component-visibility-filter-to-check-if-value-is-null