Expand my Community achievements bar.

SOLVED

How to define an aggregation in ACS custom resource

Avatar

Level 4

Hi all,

 

How to define an aggregation in ACS custom resource. Is it only by linking with N collection cardinality?

For example: if a profile has shipping address as an aggregation with address fields .

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 1

Hi,

 

You can perform aggregate in Query, as shown below:

jyotiy2857946_1-1590046879258.png

 

Add Group by line and you will be able to execute query without error.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 1

Hi,

 

You can perform aggregate in Query, as shown below:

jyotiy2857946_1-1590046879258.png

 

Add Group by line and you will be able to execute query without error.

Avatar

Level 4
The aggregation i mentioned in the query was about the aggregation of an object , a parent has a child object of item type and my question was how do we create that in the schema if not a 1-1 or a 1-N relationship linking. Thank you