How salesforcelabs/b2b-le-featured-products works
Main Components
a. Frontend Layer:
• Lightning Web Components (LWC)
• b2bFeaturedProducts (main component)
• b2bFeaturedProductsPreview (preview component)
• Static Resources
• B2B_LE_Pictures (image resources)
b. Backend Layer:
• Apex Controllers
• B2B_FeaturedProducts_Controller
• Security Utils
• Feature Products Util
• Custom Labels
• Permission Sets
Component Relationships
User Interface Layer:
[B2B Featured Products LWC] ←→ [Preview Component]
• ↓
[Static Resources (Images)]
• ↓
Business Logic Layer:
[Featured Products Controller]
• ↓
[Security Utils] ←→ [Feature Products Util]
• ↓
Security Layer:
[Permission Sets]
Important Elements to Highlight
• Security layer integration with B2B_FeaturedProducts_SecurityUtils
• Component communication between main and preview LWCs
• Controller-utility class relationships
• Static resource usage in the UI components
• Permission set controls
Technical Notes
Annotations for:
• Salesforce B2B LE context
• Lightning Web Component framework usage
• Apex security enforcement points
• Static resource management
Remember to include version information and any specific Salesforce platform dependencies that might affect the component's functionality or deployment.