The correct format for embedding a link to a content page within another content asset using the content asset ID 'about-us' is Option B: $url('Content_Show', 'about-us')$. This syntax uses the url function, which is designed to generate URLs in a format compatible with the Salesforce B2C Commerce storefront. The 'Content_Show' parameter specifies that the target is a content asset, and 'about-us' is the ID of the content asset. This method ensures that the link generated will correctly point to the specified content asset when clicked, adhering to the platform's URL handling conventions.
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit