Notifications
Clear all

How should the developer follow SFRA best practices to expose this data for rendering?

1 Posts
1 Users
0 Likes
85 Views
(@hepnerjacques)
Posts: 705
Noble Member
Topic starter
 

A client wants to differentiate their monobrand stores with a special icon when shown in the store locator. The information is saved in a true/false custom attribute for each Store object in Merchant tools.

How should the developer follow SFRA best practices to expose this data for rendering?

  • A . Extend the existing Stores_Find controller with a new middleware function that performs the query
    B. Pass the Store system object to the template, so that custom propierties are available
    C. Ad dan <isscript> to the template, and call StoreMgr.searchStoresByCoordinates();
    D. Use the module.superModule functionality and the call method to add a new property to the Store Model.

Show Answer Hide Answer

Suggested Answer: D
 
Posted : 10/01/2023 9:02 pm

Latest Salesforce Certified B2C Commerce Developer Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: