Gravatar for

Question by soliel, Aug 15, 2017 1:36 PM

Is it possible to customize the search result look and feel with a custom lightning component? (Salesforce, Express)

Does this differ from free-pro?

1 Reply
Gravatar for

Answer by amoreau, Aug 15, 2017 1:44 PM

Yes, you can change the way a result is displayed using Result Templates (see Result Templates).

Note that, with Coveo for Salesforce in Lightning, you are encouraged to use only HTML Result Templates.

Also note that you can access the Interface Editor to be able to change the result templates through the drag-and-drop interface (see Configuring JavaScript Search Result Templates).

If you want to add custom scripts to your lightning components, you should add static resources (see Interacting with the Coveo JavaScript Search Framework with Custom Code).

Hope this helps!


Gravatar for

Comment by soliel, Aug 15, 2017 1:53 PM

Great thank you! @amoreau

Ask a question