Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

Retrieve and De-Duplicate Content Areas

The sample server-side JavaScript demonstrates how to retrieve the IDs of several content areas by keyword. The script then de-duplicates any repeating occurrences of a content area ID and uses those IDs to retrieve the content area itself. The results include a single instance of every content area referenced by specific keywords.