1. @sitecore-cloudsdk/search/server

ContentOptions

Version:

Type

Type

Import path

@sitecore-cloudsdk/search/server

The content options property of the results widget item. Used to select the attributes to request for each item. For example, to request only the title and description attributes.

Signature

export type ContentOptions = { 
  attributes?: ArrayOfAtLeastOne<string>
} | Record<string, never>;

Examples

{
 attributes: ["title", "description", "name", "price"]
}
If you have suggestions for improving this article, let us know!