QuestionQ62

VerifiedBasic Lightning Web Component Development

Which code statement should a developer use to import the ID for the current Lightning Experience Site?

Explanation

The @salesforce/site/Id scoped module imports the ID of the Site portion of the current Experience Builder site. @salesforce/community/Id instead provides the ID of its Network (community) portion. Salesforce LWC module reference

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!