Gravatar for jlynch@sonusnet.com

Question by Jim Lynch, Jan 9, 2017 5:44 PM

Altering raw data to eliminate duplicate facets

I have two Salesforce objects (Cases and WorkNotes) with similar data. My query selects from the sources. I currently have 4 facets defined for each source. Since the results can include data from each source, I can get duplicate facets. For example, each of the sources has an account name but the SF name is different for source, hence, two facets for the account name.

In my preprocessResults function, I copy the raw data for the 4 facets for the WorkNotes to the corresponding fields used for the Cases facets.

But, when I filter for just WorkNotes results, I get no facets.

Thoughts ?

Thanks Jim

0 Reply
Ask a question