cancel
Showing results for 
Search instead for 
Did you mean: 

Live Edit Preview Context - Active Catalog Version

Former Member
0 Kudos

With Live Edit 5.5 in the Preview Context there is no "active catalog version" selection anymore, which causes several issues when trying to preview the pages in Staged version. Seems that by default the Online versions is taken. For example, Product Carousels do not show in Staged version because they have products from Staged Catalog not Online.

We have tried to enable it in liveEditPreviewArea, but we get an exception - "name must not be null".

Does anyone have a solution? Why was this feature removed? And how to preview pages in Staged version now?

Thanks and Best Regards, Armands

Accepted Solutions (0)

Answers (3)

Answers (3)

pooja1_
Explorer
0 Kudos

Hi Armands, in order to solve "name must not be null" please check liveEditPreviewArea_PreviewData.xml config file present in liveeditaddon. Go To HMC->usergroups->cmsmanagergroup->admin tab->cockpit configurations. There should be a file - 'LiveEditPreviewArea'. Open this file and check its content. It should match with the one present in liveeditaddon. After changing the content of this file, i am no more getting "name should not be null" error.

Former Member
0 Kudos

Thanks for your answer! It worked for me !

Former Member
0 Kudos

Hi. I'm agree with Armands. We can't switch product catalog version in live edit, it loads product catalog online version automaticaly So, I recovered classes "CategoryVersionRadioEditor and CategoryVersionCheckboxComponent" from hybris version 5.4. It works for me.

Former Member
0 Kudos

Hi there ! during 5.5 development we noticed that the radio button to select the catalog version to preview was inactive, no matter the selection we were always face with the same catalog. Furthermore, we came to realize that the standard left navigation of the cmscockpit was a nice and smooth solution for this : switch catalog version from the left navigation effectively reloads your liveedit preview context to the corresponding version. Hope this helps. Frederic Misfits team

Former Member
0 Kudos

Thanks Frederic for you answer! Yes, Content Catalog Version selection works fine using left navigation. But my questions is about the Product Catalog Version.

The problem is that, when I switch to Staged version of content catalog, for example, my Product Carousel component is broken, because it expects products from Online version of Product Catalog (instead of Staged). Where can we set the version for Product Catalog for preview?

Thanks, Armands