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

SOLVED

AEM Cloud. What package may contain indices

mpmuradov
Level 1
Level 1

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!

cloud index
1 Accepted Solution
Jörg_Hoh
Correct answer by
Employee
Employee

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
Jörg_Hoh
Correct answer by
Employee
Employee

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

mpmuradov
Level 1
Level 1

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