Cert++
Close

Controller code that renders and links to Page Designer pages

Key Takeaway

A storefront controller finds the page with PageMgr, checks page.isVisible(), and then prints what PageMgr.renderPage() returns, which is a remote include that yields the page markup.

Merchants build Page Designer pages in Business Manager, but shoppers only see a page when a storefront controller finds it and renders it with the dw.experience.PageMgr API. The controller also gives each page a URL. You can use that URL to link to the page from marketing emails, the header or footer, or the main navigation.

What the controller does

For Page Designer, the controller does two things with the dw.experience.PageMgr API. First it finds the page, and then it renders it.

B2C Commerce Developer Study Guide

Checklist progress

0/237Learned

Prepare for the Exam

Play Today's Certle

Study Community

Ask questions and get the latest info from other B2C Commerce Developer studiers.