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

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

Mark Solution

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

解決済み

CQ5.5 Analytics framework.getMapping(key) vs. cmp.getInherited(key, null)

Avatar

Level 2

Within the sitcatalyst.js under /foundation/vault/web/apps/cq/analytics/components/sitecatalyst/

if(framework != null) { for (String name : framework.getAllComponents().keySet()) { FrameworkComponent cmp = framework.getAllComponents().get(name); for (String key : cmp.inheritedKeySet()) { if(key.indexOf(":") < 0) { String value = framework.getMapping(key); if (value == null) continue; if (value.startsWith("eventdata.events.")) { value = key; key = framework.getMapping(key); } %> mapping.push({scVar:"<%= key %>",cqVar:"<%= value %>",resourceType:"<%= name %>"});<% } } } }

When retrieving the value for key, why does it use 

framework.getMapping(key) 

instead of 

cmp.getInherited(key, null)
1 受け入れられたソリューション

Avatar

正解者
Level 10

AFAIK It is fixed request for hotfix NPR-2789

元の投稿で解決策を見る

3 返信

Avatar

Level 10

That could be a bug. I will double check with the Eng team to make sure. Good question. 

Avatar

Level 6

Have you heard anything back from the Eng team?

Avatar

正解者
Level 10

AFAIK It is fixed request for hotfix NPR-2789