コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

Sling Mappings

Avatar

Level 4
1 受け入れられたソリューション

Avatar

正解者
Level 4

You need to add a few resource resolver mapping rules in the "Apache Sling Resource Resolver" configuration manager in the felix console. 

Your requirement will be resolved by using the below rules,

/stringtohide/select-a-country.html>/select-a-country.html
/stringtohide/select-a-country.html</select-a-country.html

/stringonetohide/stringtwotohide/privacy.html>/privacy.html
/stringonetohide/stringtwotohide/privacy.html</privacy.html

The below link helped me understand the mapping better,

http://ilikeorangutans.github.io/2012/11/20/apache-sling-resource-resolver-rule-priority-explained/

Hope this helps

元の投稿で解決策を見る

3 返信

Avatar

正解者
Level 4

You need to add a few resource resolver mapping rules in the "Apache Sling Resource Resolver" configuration manager in the felix console. 

Your requirement will be resolved by using the below rules,

/stringtohide/select-a-country.html>/select-a-country.html
/stringtohide/select-a-country.html</select-a-country.html

/stringonetohide/stringtwotohide/privacy.html>/privacy.html
/stringonetohide/stringtwotohide/privacy.html</privacy.html

The below link helped me understand the mapping better,

http://ilikeorangutans.github.io/2012/11/20/apache-sling-resource-resolver-rule-priority-explained/

Hope this helps

Avatar

Level 10

Avatar

Level 10