Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM CIF Integration

Avatar

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

180 likes

Total Posts

337 posts

Correct Reply

88 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile

Avatar
Give Back 10
MVP
shelly-goel
MVP

Likes

180 likes

Total Posts

337 posts

Correct Reply

88 solutions
Top badges earned
Give Back 10
Validate 1
Shape 1
Ignite 1
Give Back 5
View profile
shelly-goel
MVP

06-06-2021

I've taken the latest aem cloud sdk aem-sdk-quickstart-2021.6.5382.20210602T190018Z-210527.jar and CIF connector(2021.05.26). I'm trying to set up venia store in both author and publish but facing below issues:

1. Author: Installed CIF (far file) and venia storefront. Started proxy (npx local-cors-proxy --proxyUrl <magento endpoint> --port 3002 --proxyPartial '') and provided it in Cloud Services > CIF Configuration

I'm able to see the products under Commerce but when I open venia page, it does not have the category navigation component. Is there an issue with the sdk or connector .far file? Or is it dependent on some configuration?

2. I did the same setup in publish but the Commerce section and CIF cloud configurations are not available. Is there an issue with the sdk or connector .far file?

3. All the templates have "header" and "footer" components included but these are .hidden components then how these got included? Why experience fragment is not used instead?

4. header.html has below line in it

<sly data-sly-test="${resource['navigation/navigationRoot']}" data-sly-resource="${resource.path}/navigation" /> - how does it impact navigation not showing up

5. I was able to locate com.adobe.cq.commerce.core.components.models.header.Header in vendor-packages but it's a interface and I'm unable to locate the implementation class for it

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

511 likes

Total Posts

647 posts

Correct Reply

213 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

07-06-2021

Hi @shelly-goel,

Header and footer would have been directly included in Editable template while creating (something like creating header/footer node manually like we create structure/root/responsivegrid node as opposed to authoring via Template editor as the same are available as hidden components)

Per the header.html test condition, it looks for navigationRoot property on navigation component/node under header node (/content/.../header/navigation -> navigationRoot property) 

Cross check if you have this. If it is available and navigation is still not showing up, then we need to debug Navigation component as it brings/built based on Categories/Catalog retrieved from Magento via GraphQL. 

 

In the Sling Log support, try to add the below packages for Debug level and check (Type in this and see if the same is available via Sling Export Servlet something like - org.apache.sling.models.impl.ExportServlet.com.adobe.cq.wcm.core.components.internal.models.v1.NavigationImpl - Haven't tried this, see if you are able to get log messages this way from Internal Implementation)

  • com.adobe.cq.commerce.core.components.internal.models.v1.navigation
  • com.adobe.cq.commerce.core.components.internal.models.v2.navigation
  • com.adobe.cq.commerce.core.components.internal.models.v1.navigation.GraphQLCategoryProvider

From the header.html, could see that navigation inclusion doesn't depend on anything from Header Model, However if you aren't able to see the logo or other components part of header, then add debugger for Header implementation too

  • com.adobe.cq.commerce.core.components.internal.models.v1.header

You can find OOTB model implementation from official GitHub repo

Answers (1)

Answers (1)

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,162 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

07-06-2021