I am building a LWC that uses the
pageReference that is not available in Communities.
Is there a way to check what context you are in from the LWC, whether it's in a community, a record page, or something else?
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community