Error when trying to create filter on Profile extension resource (using other custom resources)

Avatar

Avatar

davidh2892249

Avatar

davidh2892249

davidh2892249

29-10-2020

Hi there,


I'm trying to build a filter definition on the profile resource extension.

 

This is so that users have a much simpler filter to use when building queries that use linked data.

 

The filter definition is like this:

davidh2892249_0-1603991491420.png

 

My data model looks like this:

davidh2892249_1-1603991532669.png

 

Essentially I'm trying to build a filter that returns profiles that have an order record where order date is on or after xxx

And the contains an order item record where product name comtains xxxx.

 

However, when trying to publish - I am getting the following error:

The field 'orderItems/products/productName' has not been found for the parameter 'productName_parameter' of filter 'orderedXSkuInLastXMonths' in custom resource 'profile'.

However, I tried replacing the productName_parameter with a hardcoded string and the filter publishes OK and returns the expected data.

 

Can anyone advise why this might be happening?

 

Thanks

 

David

 

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Sukrity_Wadhwa

Employee

Avatar

Sukrity_Wadhwa

Employee

Sukrity_Wadhwa
Employee

11-11-2020

Hi @davidh2892249,

Were you able to resolve this query with the given solution? Do let us know.

Thanks!