PageDesigner Beta : Default layout issues #430
Replies: 2 comments
-
I guess you have not setup all the component attributes in the locale you render the storefront for, i.e. created the page in locale 'default' only but then rendered in 'en_US' in the storefront so it misses all the attributes. Until 19.8 you have to provide the attributes separately for each required locale. With 19.8 locale fallback will be available, so that the above scenario would work out of the box. Please let us know if that is the issue you are facing. |
Beta Was this translation helpful? Give feedback.
-
Hello @mlenzner, Thanks a lot, that was a quick fix :D |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
My team and I are trying to implement the Page Designer (beta) on our sandbox, in order to make a demonstration to our customers.
We followed the documentation available on the Page Designer section of the BM (Getting Started - https://xchange.demandware.com/community/help_and_learning/content-and-content-management-resource-center)
(We installed the cartridges, added them on the path, and installed the default pages available for Sitegenesis).
Everything seemed to work fine, the 3 default pages configured worked perfectly (Images and Texts were OK).

But then we tried to create pages using the given layouts / blocs;
This is when our issues appeared. From the configuration page, everything works: We created a page with only a Headline Banner component; With an image, a title and a secondary title, that looks like this
But when we open the page from our storefront, the image doesn't appear, and the texts are "undefined"

An error appears in our error logs saying :
TypeError: Cannot read property "src" from null ([Template:experience/components/assets/headlinebanner:${pdict.image.src.mobile}]#1) at [Template:experience/components/assets/headlinebanner:${pdict.image.src.mobile}]:1
and
TypeError: Cannot read property "alt" from null ([Template:experience/components/assets/headlinebanner:${pdict.image.alt}]#1) at [Template:experience/components/assets/headlinebanner:${pdict.image.alt}]:1
I tried to debug the thing, but I can't find any solution atm.
Have you ever faced the same issue ? If so, how did you fix it ?
Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions