Expand my Community achievements bar.

SOLVED

AEM Cloud. What package may contain indices

Avatar

Level 2

Hi there!

 

I build a translation connector with ui.apps package and put `/apps/smartling-connector` and `/oak:index` into them.

Embedded the connector into WKND site project and deployed them into AEM Cloud. AEM Cloud Code Scanning says this warning:

Inclusion of both /apps/smartling-connector and /oak:index/smtl.fileUri-custom-1 in the same package violates the separation of immutable and mutable paths in the same package.

But according to https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/developing/aem... it is proper way to deliver indices as a part of ui.apps.

 

Does anybody have the same warning? Is there a way to fix them?

 

Thank you!

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

packages with mixed mutable and unmutable content are not working. For indexing I would recommend to start here [1] in the docs.

 

[1] https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/developing/aem...

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

packages with mixed mutable and unmutable content are not working. For indexing I would recommend to start here [1] in the docs.

 

[1] https://experienceleague.adobe.com/docs/experience-manager-cloud-service/implementing/developing/aem...

Avatar

Level 2

I mentioned the same link ))
Both /apps and /oak:index should be put into ui.apps package according to the doc. Here is explanation
For this reason, although Oak indexes are mutable at run time, they must be deployed as code so that they can be installed before any mutable packages are installed. Therefore /oak:index configurations are part of the Code Package and not part of the Content Package