A plugin marketplace for GitHub Copilot and other AI agents that provides Power Platform development plugins, including reusable skills, agents, and commands for building and deploying solutions.
Generative AI Search Component
Use this reference only to add or edit:
{% codecomponent name:Pages.SearchSummary ... %}
Do not use it for {% include 'Search' %}, Search web templates, Search content snippets,
the Search Results page record, site markers, or search indexing/settings.
Markup
{% codecomponent name:Pages.SearchSummary enableRedirectToSearchPage:'true' %}
The designated Search Results page uses:
{% codecomponent name:Pages.SearchSummary %}
- Keep
name:Pages.SearchSummary. - Place the tag directly inside the selected
.columnBlockLayoutor Flex Container. - Treat it as a leaf component; do not add child markup or a custom search form.
- Allow multiple instances. Each instance keeps independent attributes.
- Do not impose a column width, breakpoint, padding, or margin.
Attributes
Attributes are independently composable:
| Behavior | Attribute | Value |
|---|---|---|
| Show results inline | enableRedirectToSearchPage |
'false' |
| Redirect to the Search Results page | enableRedirectToSearchPage |
'true' |
| Search placeholder | placeholderText |
Localized text |
| Summary heading | searchSummaryHeading |
Localized text |
| Results heading | searchResultHeading |
Localized text; Search Results page only |
| Component styles | searchStyles |
Base64-encoded JSON |
Example:
{% codecomponent name:Pages.SearchSummary enableRedirectToSearchPage:'false' placeholderText:'What would you like to search?' searchSummaryHeading:'Summary' %}
- Escape the selected Liquid string delimiter and backslashes.
- Preserve existing attribute order, quote style, and unrelated attributes.
- Preserve existing
enableFeedback,enableFollowUpActions,searchInputId, andenableSearchResults; do not add them.
Search Results page
- Identify it through the website's
Searchsite marker. - Use
searchResultHeadingandSearchResultsstyles only on that page. - Omit
enableRedirectToSearchPagethere unless preserving existing markup. - A website has one designated Search Results page.
- Do not create or reassign the site marker during a component edit.
Styles
searchStyles decodes to:
{
"SearchBar": {},
"SearchSummary": {},
"SearchResults": {}
}
| Sector | Properties |
|---|---|
SearchBar |
border, borderRadius, backgroundColor, box-shadow, display, position, width, height, minWidth, minHeight, maxWidth, maxHeight, margin, padding, top, right, bottom, left, fontFamily, fontWeight, fontSize, letterSpacing, fontHeight |
SearchSummary |
Search Bar properties plus gap, flexGrow, flexShrink, FlexBasis |
SearchResults |
fontSize, kerning, lineHeight |
For a style edit:
- Decode the existing value; stop on invalid base64 or JSON.
- Preserve unknown sectors and properties.
- Change only requested values.
- Serialize compact JSON and base64-encode it.
- Replace only the
searchStylesvalue.
Do not edit the runtime-generated component DOM.
Requirements
- Dataverse search must be enabled for the environment. This is an environment-level feature, not a site setting.
- Site search must be enabled for the website (site setting
Search/EnableDataverseSearch). - Enable Site search with generative AI must be on in the Setup workspace (site setting
Search/EnableGenerativeAI). - Tenant governance must allow generative AI usage for the website.
- The feature must be available for the website's region and language.
- The Dataverse search index must be provisioned and synchronized.
- Redirect mode requires a valid page assigned to the
Searchsite marker. - Faceted search is unavailable with Generative AI Search.
For Dataverse table content, the selected table must be included in the search source. Citation
links require an associated page that uses id as its record query-string parameter. Generative
summaries use unstructured content such as multiline text columns or files.
Before adding the component, inspect available site settings and downloaded metadata. Report environment, tenant, region/language, or index readiness that can't be verified locally. Do not enable search, change governance, configure indexing, or reassign site markers during a component edit.
Editing
Identify one exact {% codecomponent name:Pages.SearchSummary ... %} tag by page, section,
column, attributes, and nearby content. Change only the requested tag or its position. Preserve
surrounding Liquid, HTML, siblings, indentation, and line endings.
Verification
- Confirm
name:Pages.SearchSummary. - Confirm each requested instance appears once in the correct position.
- Confirm redirect behavior and localized text.
- Confirm Search Results-only attributes are used only on the designated page.
- Decode and verify
searchStyles. - Confirm unrelated content, site configuration, pages, and locales are unchanged.