SFRA uses thePage-Showendpoint to render a content asset as a full storefront page. The endpoint accepts the query-string parametercid, which identifies the content asset to display. Consequently, the content-link expression must generate the equivalent of:
Page-Show?cid=about-us
and option A provides the correct syntax.
Salesforce ' s current SFRAPage.jsdocumentation identifiesPage-Showas the endpoint that renders a content asset in a full storefront page and explicitly documentscidas the content asset ID parameter. Salesforce also documents special content-link functions for links embedded inside content assets, allowing merchant-managed rich content to reference storefront resources without hard-coding complete URLs.
Content-ShowandContent-Pageare not the SFRA full-page content endpoints shown in these choices. Additionally, B does not passcidas the required parameter name.
Using the URL generation function rather than a literal storefront URL preserves correct host, locale, URL-rule, and deployment behavior.
Study Guide reference:Application Development — content assets, content links,$url(),Page-Show,cid, and SFRA content-page rendering.
===============
Submit