How does CJA treat identities in an array? | Community
Skip to main content
Level 2
November 14, 2025
Solved

How does CJA treat identities in an array?

  • November 14, 2025
  • 1 reply
  • 183 views

Hi,

 

In efforts to aggregate data points, I am wondering if CJA can identify person IDs within an array as individual identities or People, when the data is added to a Connection/Data View? I know that values in an array are flattened when pulled into CJA freeform, but I'm curious about the behavior when the primary ID column is in an array. 

 

For example, a record of page visits with an array of ECNs for everyone who visited that page. In CJA. would it return count of every single ECN under the People metric for that page?

 

Thanks!

 

 

Best answer by Harveer_SinghGi1

Hi @janiceak ,

You cannot use an Array as person ID because for a field to be available to use as person ID it has to be setup as an identity in AEP schema for the related dataset and AEP identities can only be strings.

Also, I don't understand why you would have identities for multiple people on a single event? An event is always linked to a single person who can have different types of identities but not different values for same identity. An identity by definition is a unique identifier for the user, it cannot have multiple values for the same person, it defeats the whole purpose.

Maybe you can share your use case and we can discuss more.

Cheers!

1 reply

Harveer_SinghGi1
Community Advisor and Adobe Champion
Harveer_SinghGi1Community Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
November 15, 2025

Hi @janiceak ,

You cannot use an Array as person ID because for a field to be available to use as person ID it has to be setup as an identity in AEP schema for the related dataset and AEP identities can only be strings.

Also, I don't understand why you would have identities for multiple people on a single event? An event is always linked to a single person who can have different types of identities but not different values for same identity. An identity by definition is a unique identifier for the user, it cannot have multiple values for the same person, it defeats the whole purpose.

Maybe you can share your use case and we can discuss more.

Cheers!