Expand my Community achievements bar.

Adobe Summit is live! Tune in to take part in the premier digital experience event.
SOLVED

Entity ID in AEM

Avatar

Level 1

Hello,

Our group is working to setup a Recommendations activity that is based on Adobe Analytics data. Per Adobe documentation, there is a unique ID (entity.id) that allows us to tie catalog records in Adobe Target to Adobe Analytics and AEM (see link at bottom). We'd like to grab this value and publish it to a data layer.

  1. Does this id (entity.id) automatically get generated in AEM when content is created?
    • On the other hand maybe it only applies to 'products'?
  2. If so, where can the AEM team look to find it? We cannot seem to find a reference to it in documentation, maybe the name has changed?
  3. If this id is not automatically generated in AEM, is it accurate to say that we can use any method to generate our own unique id?

https://docs.adobe.com/content/help/en/target/using/recommendations/entities/entity-attributes.html

Thanks in advance for any information you might have.

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

I highly doubt that AEM generate IDs as it breaches Rule 7 of David's rules here: Data Modeling - David Nuescheler's Model

View solution in original post

1 Reply

Avatar

Correct answer by
Former Community Member

I highly doubt that AEM generate IDs as it breaches Rule 7 of David's rules here: Data Modeling - David Nuescheler's Model

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----