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

daros
daros
オフライン
タイプ
  • すべて
  • 質問
  • ディスカッション
  • アイデア
  • ブログ
ユーザー投稿による絞り込み
  • Hello @webdev91, AEM is shortening the image src path on publish environment, you can confirm that by looking at Day CQ Link checker Transformer on the OSGI configs. You need to match those rule with a rewrite or a mapping, project archetype will already include them: https://github.com/adobe/aem-pr...

    タイプ

    質問

    表示

    5.9K

    いいね!

    2

    返信

    0
  • I made it work! you need to change the URL root meta property on customheaderlibs to use the getRootUrl ( I was wondering what it was for ) from your custom model:  This is the default using spa core Page model<meta property="cq:pagemodel_root_url" data-sly-use.page="com.adobe.aem.spa.projec...

    タイプ

    質問

    表示

    3.6K

    いいね!

    5

    返信

    4
  • @bipinchandra92 In that example i had set Structure Depth to 0, in spa template policy. Here's what it looks like when set to 1: { "title": "English", ":itemsOrder": [], ":items": {...}, ":path": "/en", ":type": "project/components/spa", ":children": { "/en/home": { "title": "H...

    タイプ

    質問

    表示

    3.7K

    いいね!

    4

    返信

    5
  • Thanks for the help @bipinchandra92 , I have implemented a custom page model and shortened the path at said methods: getExportedPath()getModelUrl()getChildPageModels()all three now, remove the content folder part out of the output. but I still get an extra call:made to /en/home.html and i am not abl...

    タイプ

    質問

    表示

    3.7K

    いいね!

    4

    返信

    7
  • Hi, I'm currently facing a lot of issues trying to shorten the URL in an AEM project using the spa editor.Currently we have a structure similar to /content/project/en/home.html that is rewritten to just /en/home/ using dispatcher mod_rewrite.The SPA router just doesn't understand the short URLS, res...

    タイプ

    質問

    表示

    3.8K

    いいね!

    3

    返信

    9