<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Search UI App Archives - SearchStax Docs</title>
	<atom:link href="https://demo.searchstax.com/docs/searchstudio_categories/search-ui-app/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>Documentation</description>
	<lastBuildDate>Tue, 03 Jun 2025 10:18:12 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.1</generator>

<image>
	<url>https://demo.searchstax.com/docs/wp-content/uploads/2023/10/cropped-favicon-32x32.png</url>
	<title>Search UI App Archives - SearchStax Docs</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Hosted Search Experience</title>
		<link>https://demo.searchstax.com/docs/searchstudio/searchstax-studio-searchjs-module/</link>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Tue, 28 Sep 2021 18:02:02 +0000</pubDate>
				<guid isPermaLink="false">https://demo.searchstax.com/docs/?post_type=searchstudio&#038;p=9805</guid>

					<description><![CDATA[<p>Hosted Search Experience Introduction The SearchStax Site Search solution&#8217;s Hosted Search Experience provides a Vue.js Based Search Interface for your Site Search App. It serves PCs, tablets, and mobile platforms&#8230; <a class="more-link" href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-searchjs-module/">Continue reading <span class="screen-reader-text">Hosted Search Experience</span></a></p>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-searchjs-module/">Hosted Search Experience</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="h-hosted-search-experience">Hosted Search Experience</h1>



<hr class="wp-block-separator has-css-opacity"/>



<h2 class="wp-block-heading" id="h-introduction"><strong>Introduction</strong></h2>



<p>The SearchStax Site Search solution&#8217;s <strong>Hosted Search Experience</strong> provides a Vue.js Based Search Interface for your Site Search App. It serves PCs, tablets, and mobile platforms with equal facility.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="446" src="https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-30-1024x446.png" alt="" class="wp-image-21416" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-30-1024x446.png 1024w, https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-30-300x131.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-30-768x334.png 768w, https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-30.png 1215w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>


<div class="wp-block-image">
<figure class="aligncenter size-large is-resized"><img decoding="async" width="1024" height="923" src="https://demo.searchstax.com/docs/wp-content/uploads/2021/06/image-4-1024x923.png" alt="Site Search UI App is a Vue based toolkit for creating your custom website search page. " class="wp-image-9038" style="width:400px;height:462px" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2021/06/image-4-1024x923.png 1024w, https://demo.searchstax.com/docs/wp-content/uploads/2021/06/image-4-300x270.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2021/06/image-4-768x692.png 768w, https://demo.searchstax.com/docs/wp-content/uploads/2021/06/image-4-1536x1384.png 1536w, https://demo.searchstax.com/docs/wp-content/uploads/2021/06/image-4-2048x1845.png 2048w, https://demo.searchstax.com/docs/wp-content/uploads/2021/06/image-4-1200x1081.png 1200w, https://demo.searchstax.com/docs/wp-content/uploads/2021/06/image-4-1980x1784.png 1980w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Search environment for mobile phone. </figcaption></figure></div>


<p>The Hosted Search Experience allows users to:</p>



<ul class="wp-block-list">
<li>Search using keywords</li>



<li>View a &#8220;Smart Answers&#8221; AI-based response when the query takes the form of a question. </li>



<li>Show search results in grid or list format</li>



<li>Track searches and clicks for analysis</li>



<li>Search with auto-suggest/ auto-complete feature</li>



<li>Show facets (refinements) as configured in the Studio</li>



<li>Pagination of search results</li>



<li>Result sorting by customizable options. </li>



<li>Show did-you-mean suggestions for misspellings</li>



<li>Show related searches</li>



<li>Show external promotions</li>



<li>Ability to apply transformation functions to show fields</li>



<li>Ability to submit feedback for tracking and analysis</li>
</ul>



<h2 class="wp-block-heading" id="h-implementation">Implementation</h2>



<p>Each Site Search App has its own Hosted Search app out of the box. To access it, navigate to <strong>Site Search > Configurations > Search UI > Hosted Search App.</strong></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="393" src="https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-34-1024x393.png" alt="" class="wp-image-21554" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-34-1024x393.png 1024w, https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-34-300x115.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-34-768x295.png 768w, https://demo.searchstax.com/docs/wp-content/uploads/2021/09/image-34.png 1163w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>The Hosted Search App is preconfigured to provide an appropriate search experience to the Search App&#8217;s index and settings.  Click the <strong>View</strong> button to open the Hosted Search App in a browser window. You can copy the URL to share with stakeholders and coworkers. </p>



<p>Each time you update the Search Experience in any way, click the <strong>Regenerate</strong> button before using the Hosted Search App.  </p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p>Do not hesitate to contact the <a href="mailto:support@demo.searchstax.com?subject=Site%Search%3A%20Hosted%20SearchJS%20Experience" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
</div></div>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-searchjs-module/">Hosted Search Experience</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Overview</title>
		<link>https://demo.searchstax.com/docs/searchstudio/searchstax-studio-ux-accelerator/</link>
		
		<dc:creator><![CDATA[Gurinder Singh]]></dc:creator>
		<pubDate>Thu, 25 Mar 2021 14:38:14 +0000</pubDate>
				<guid isPermaLink="false">https://site-qa.searchstax.com/docs/?post_type=site_search&#038;p=8307</guid>

					<description><![CDATA[<p>Search UI App Overview The Search UI App is a set of prebuilt tools that make it easy to set up a search page that uses all of the features&#8230; <a class="more-link" href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-ux-accelerator/">Continue reading <span class="screen-reader-text">Overview</span></a></p>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-ux-accelerator/">Overview</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="h-search-ui-app-overview">Search UI App Overview</h1>



<hr class="wp-block-separator has-css-opacity"/>



<p>The <strong>Search UI App</strong> is a set of prebuilt tools that make it easy to set up a search page that uses all of the features of the Searchstax <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-searchjs-module/">Hosted Search Experience</a>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1024" height="538" src="https://demo.searchstax.com/docs/wp-content/uploads/2021/03/image-48.png" alt="" class="wp-image-20237" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2021/03/image-48.png 1024w, https://demo.searchstax.com/docs/wp-content/uploads/2021/03/image-48-300x158.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2021/03/image-48-768x404.png 768w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<ul class="wp-block-list">
<li><a href="/docs/searchstudio/searchstax-studio-searchjs-module/">Search UI App</a>: This app provides a Vue.js Based Search Interface to integrate with your Search App. It provides interface to:
<ul class="wp-block-list">
<li>Allow users to be able to search using keywords</li>



<li>Ability to show search results in grid or list format</li>



<li>Built in analytics tracking – tracking searches and clicks</li>



<li>Search with auto-suggest/ auto-complete feature</li>



<li>Show facets (refinements) as configured in Site Search</li>



<li>Pagination of search results and ability to sort by relevance and date</li>



<li>Show did-you-mean suggestions for misspellings</li>



<li>Ability to apply transformation functions to show fields</li>
</ul>
</li>



<li><a href="/docs/searchstudio/searchstax-studio-autosuggest-js/">Search UI App Search Bar</a>: The SearchStax Search UI App provides a lightweight pure javascript widget to show a simple search icon and searchbox on your website. When the search is fired, the widget redirects to your actual search page.</li>



<li><a href="/docs/searchstudio/searchstax-studio-getting-user-feedback/">Search UI App Feedback</a>: Site Search offers a special widget that you can optionally install on your application search page to encourage visitors to leave feedback about the search experience.</li>
</ul>



<h2 class="wp-block-heading" id="h-js-css-libraries"><strong>JS/CSS Libraries:</strong></h2>



<p>To integrate the Hosted Search Experience, download the following JS and CSS files or include them directly on your webpage:</p>



<ul class="wp-block-list">
<li>https://static.searchstax.com/studio-js/v3.8/css/studio-app.css</li>



<li>https://static.searchstax.com/studio-js/v3.8/js/studio-app.js</li>



<li>https://static.searchstax.com/studio-js/v3.8/js/studio-vendors.js</li>



<li>https://static.searchstax.com/studio-js/v3.8/js/studio-analytics.js</li>



<li>https://static.searchstax.com/studio-js/v3.8/js/studio-feedback.js (Optional to include Search Feedback)</li>
</ul>



<p>The above integrates a specific version of the library. To get the latest v3 version, use the following:</p>



<ul class="wp-block-list">
<li>https://static.searchstax.com/studio-js/v3/css/studio-app.css</li>



<li>https://static.searchstax.com/studio-js/v3/js/studio-app.js</li>



<li>https://static.searchstax.com/studio-js/v3/js/studio-vendors.js</li>



<li>https://static.searchstax.com/studio-js/v3/js/studio-analytics.js</li>



<li>https://static.searchstax.com/studio-js/v3/js/studio-feedback.js (Optional to include Search Feedback.)</li>
</ul>



<h2 class="wp-block-heading" id="h-integration"><strong>Integration</strong></h2>



<ol class="wp-block-list">
<li>Include the downloaded files or hosted version of these files in the head section of the HTML page</li>
</ol>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: jscript; auto-links: false; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
     var _msq = _msq || &#x5B;]; //declare object
     var analyticsBaseUrl = &#039;https://app.searchstax.com&#039;;
     (function () {
       var ms = document.createElement(&quot;script&quot;);
       ms.type = &quot;text/javascript&quot;;
       ms.src = &quot;https://static.searchstax.com/studio-js/v3/js/studio-analytics.js&quot;;
       var s = document.getElementsByTagName(&quot;script&quot;)&#x5B;0];
       s.parentNode.insertBefore(ms, s);
     })();
&lt;/script&gt;
&lt;link href=https://static.searchstax.com/studio-js/v3/css/studio-app.css rel=preload as=style /&gt;
&lt;link href=https://static.searchstax.com/studio-js/v3/js/studio-app.js rel=preload as=script /&gt;
&lt;link href=https://static.searchstax.com/studio-js/v3/js/studio-vendors.js rel=preload as=script /&gt;
&lt;link href=https://static.searchstax.com/studio-js/v3/css/studio-app.css rel=stylesheet /&gt;
</pre></div>


<ol start="2" class="wp-block-list">
<li>Change the&nbsp;<code>'analyticsBaseUrl'</code>&nbsp;based on the Analytics URL shown in the “Analytics API” section of your App within Site Search App Settings.</li>



<li>Define the DIVs in your HTML where the search box and various other components should be shown:</li>
</ol>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: jscript; auto-links: false; title: ; notranslate">
&lt;div class=&quot;search-input-wrapper&quot;&gt;
     &lt;div class=&quot;feedback-wrapper&quot;&gt;&lt;div id=&quot;sf-feedback&quot;&gt;&lt;/div&gt;&lt;/div&gt;
      &lt;div id=&quot;searchInput&quot;&gt;&lt;/div&gt;
    &lt;/div&gt;

    &lt;div class=&quot;search-results-summary-options-wrapper&quot;&gt;
      &lt;div id=&quot;searchResultSummarySection&quot;&gt;&lt;/div&gt;
      &lt;div id=&quot;searchOptionsSection&quot;&gt;&lt;/div&gt;
    &lt;/div&gt;

    &lt;div class=&quot;search-results-wrapper&quot;&gt;
      &lt;div class=&quot;facet-container-wrapper&quot;&gt;
        &lt;div id=&quot;searchFacetSection&quot;&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class=&quot;result-container-wrapper&quot;&gt;
        &lt;div id=&quot;external-search-result-container&quot;&gt;&lt;/div&gt;
        &lt;div id=&quot;searchResultsSection&quot;&gt;&lt;/div&gt;
        &lt;div id=&quot;relatedSearchesSection&quot;&gt;&lt;/div&gt;
        &lt;div id=&quot;paginationSection&quot;&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;

</pre></div>


<ul class="wp-block-list">
<li><strong>searchInput</strong> is the input textbox for Search</li>



<li><strong>searchResultSummarySection</strong> is the area where summary of the search results should be shown. Example: Showing 1-10 of 200 results for Sitecore</li>



<li><strong>searchOptionsSection</strong> is the section where options for display (list/grid) and Sort Options are shown.</li>



<li><strong>searchFacetSection</strong> is the area for showing the Facets/Filters</li>



<li><strong>external-search-result-container</strong> is the area for showing External Promotions</li>



<li><strong>searchResultsSection</strong> is the area for showing the Search Results</li>



<li><strong>relatedSearchesSection</strong> is the area for showing Related Searches</li>



<li><strong>paginationSection</strong> is the area for showing Pagination controls</li>



<li><strong>sf-feedback</strong> is the area for showing Search Feedback</li>
</ul>



<ul class="wp-block-list">
<li>These divs can be styled and be located as per your web design.</li>
</ul>



<p>Initialize the search box by providing information about your Studio Application endpoints and keys as shown below:</p>



<h4 class="wp-block-heading">Script for apps using <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth" target="_blank" rel="noreferrer noopener">Token Authentication</a> (you will find <a href="#definition-start">definitions below</a> the scripts):</h4>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: jscript; auto-links: false; title: ; notranslate">
&lt;script&gt;
      const studioConfig = {
        &quot;connector&quot;: {
          &quot;url&quot;: &quot;https://XXXXX.searchstax.com/solr/ss-sample/emselect&quot;,
          &quot;language&quot;: &quot;fr&quot;,
          &quot;authentication&quot;: &quot;&quot;,
          &quot;apikey&quot;: &quot;9irZHJbDKzVGnjJjEGgzOVWLt8e2OAHv6krBuf5uvSY&quot;,
          &quot;search_auth_type&quot;: &quot;token&quot;,
          &quot;select_auth_token&quot;: &quot;cc8f8efead0ce681REDACTED&quot;,
          &quot;suggester_auth_token&quot;: &quot;cc8f8efead0ce681REDACTED&quot;,
          &quot;session&quot;: session,
          &quot;fields&quot;: {
            &quot;title&quot;: &quot;ds_title&quot;,
            &quot;url&quot;: &quot;site_url&quot;,
            &quot;paths&quot;: &quot;breakcrumbs&quot;,
            &quot;ribbon&quot;: &quot;category&quot;,
            &quot;date&quot;: &quot;ds_field_display_date&quot;,
            &quot;thumbnail&quot;: &quot;image_s&quot;
          },
          fieldFormatters: {
            &quot;ds_field_display_date&quot;: format_date
          }
 
          searchAdditionalArgs: &quot;hl.fragsize=200&quot;,
          suggester: &quot;https://XXXXX.searchstax.com/solr/ss-sample-suggester-3/emsuggest&quot;,
          relatedSearches: &#039;https://app.searchstax.com/api/v1/2/related-search/&#039;, searchAPIKey: &#039;81c09977fedb7e89310c87df81d7bc787301155e&#039;
          hideUniqueKey: true,
          autoCorrectSpellings: true
        },
        searchResults: &#039;#searchResultsSection&#039;,
        searchInput: &#039;#searchInput&#039;,
        searchResultSummarySection: &#039;#searchResultSummarySection&#039;,
        facetSection: &#039;#searchFacetSection&#039;,
        searchOptionsSection: &#039;#searchOptionsSection&#039;,
        relatedSearchesSection: &#039;#relatedSearchesSection&#039;,
        paginationSection: &#039;#paginationSection&#039;,
    	customSearchTemplate: &#039;#search-template&#039;,
    	customSearchFeedbackTemplate: &#039;#searchFeedback-template&#039;,
    	customPagingTemplate: &#039;#paging-template&#039;,
    	customSearchOptionSectionTemplate: &#039;#searchOptionSection-template&#039;,
    	customNoResultTemplate: &#039;#noresult-template&#039;,
    	customFacetTemplate: &#039;#facet-template&#039;,
        relatedSearchesSection: &#039;#relatedSearchesSection&#039;,
        hideBranding: false,
        display: &#039;multi&#039;,
        facet_pagination: 3,
        customResultTemplate: &#039;#result-template&#039;,
        customRelatedSearchesTemplate: &#039;#customRelatedSearches-template&#039;,
        externalSearchResults: &#039;#external-search-result-container&#039;,
        customExternalPromotionsTemplate: &#039;#external-search-result-template&#039;,
        suggestAfterMinChars: 2,
        showUnavailableFacets: false;
        orFacets: true,
        searchOnSuggestionChange: false,
      };
    &lt;/script&gt;

</pre></div>


<h4 class="wp-block-heading">Script for apps using <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#basic-auth" target="_blank" rel="noreferrer noopener">Basic Authentication</a>:</h4>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: jscript; auto-links: false; title: ; notranslate">
&lt;script&gt;
      const studioConfig = {
        &quot;connector&quot;: {
          &quot;url&quot;: &quot;https://XXXXX.searchstax.com/solr/ss-sample/emselect&quot;,
          &quot;language&quot;: &quot;fr&quot;,
          &quot;authentication&quot;: &quot;YXBwNDMtYXBpOkNhbGl4IzIz&quot;,
          &quot;apikey&quot;: &quot;9irZHJbDKzVGnjJjEGgzOVWLt8e2OAHv6krBuf5uvSY&quot;,
          &quot;session&quot;: session,
          &quot;fields&quot;: {
            &quot;title&quot;: &quot;ds_title&quot;,
            &quot;url&quot;: &quot;site_url&quot;,
            &quot;paths&quot;: &quot;breakcrumbs&quot;,
            &quot;ribbon&quot;: &quot;category&quot;,
            &quot;date&quot;: &quot;ds_field_display_date&quot;,
            &quot;thumbnail&quot;: &quot;image_s&quot;
          },
          fieldFormatters: {
            &quot;ds_field_display_date&quot;: format_date
          }
 
          searchAdditionalArgs: &quot;hl.fragsize=200&quot;,
          suggester: &quot;https://XXXXX.searchstax.com/solr/ss-sample-suggester-3/emsuggest&quot;,
          relatedSearches: &#039;https://app.searchstax.com/api/v1/2/related-search/&#039;, searchAPIKey: &#039;81c09977fedb7e89310c87df81d7bc787301155e&#039;
          hideUniqueKey: false,
          autoCorrectSpellings: true
        },
        searchResults: &#039;#searchResultsSection&#039;,
        searchInput: &#039;#searchInput&#039;,
        searchResultSummarySection: &#039;#searchResultSummarySection&#039;,
        facetSection: &#039;#searchFacetSection&#039;,
        searchOptionsSection: &#039;#searchOptionsSection&#039;,
        relatedSearchesSection: &#039;#relatedSearchesSection&#039;,
        paginationSection: &#039;#paginationSection&#039;,
    	customSearchTemplate: &#039;#search-template&#039;,
    	customSearchFeedbackTemplate: &#039;#searchFeedback-template&#039;,
    	customPagingTemplate: &#039;#paging-template&#039;,
    	customSearchOptionSectionTemplate: &#039;#searchOptionSection-template&#039;,
    	customNoResultTemplate: &#039;#noresult-template&#039;,
    	customFacetTemplate: &#039;#facet-template&#039;,
        relatedSearchesSection: &#039;#relatedSearchesSection&#039;,
        hideBranding: false,
        display: &#039;multi&#039;,
        facet_pagination: 3,
        customResultTemplate: &#039;#result-template&#039;,
        customRelatedSearchesTemplate: &#039;#customRelatedSearches-template&#039;,
        externalSearchResults: &#039;#external-search-result-container&#039;,
        customExternalPromotionsTemplate: &#039;#external-search-result-template&#039;,
        suggestAfterMinChars: 2,
        showUnavailableFacets: false;
        orFacets: true,
        searchOnSuggestionChange: false,
      };
    &lt;/script&gt;

</pre></div>


<ul id="definition-start" class="wp-block-list">
<li><strong>connector.url</strong>: <em>required</em>: This is the Search Engine URL for your Site Search Application</li>



<li><strong>connector.language:</strong> <em>optional:</em> This defines language of the app (default: ‘en’)</li>



<li><strong>connector.suggester</strong>: <em>optional:</em> This is the Auto-Suggest URL for your Site Search Application</li>



<li><strong>connector.relatedSearches</strong>: <em>optional</em>: This is the Related Searches API URL for your application</li>



<li><strong>connector.searchAPIKey</strong>: <em>optional</em>: This is the API key for searches for all app.searchstax.com requests, which currently includes related searches.</li>



<li><strong>connector.authentication</strong>: <em>required for apps on <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#basic-auth">Basic Auth</a>: </em>This is the Basic Authentication header for the Search Endpoint. You can construct this from the API username/password that was used when configuring the Site Search Application &#8211; <a href="https://www.blitter.se/utils/basic-authentication-header-generator/">https://www.blitter.se/utils/basic-authentication-header-generator/</a> . <mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-black-color"><em>If your app is using <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth">Token Auth</a>, leave this value empty &#8211; &#8220;&#8221;.</em></mark></li>



<li><strong>connector.apiKey</strong> &#8211;&nbsp; <em>required: </em>This is the Analytics tracking key that you can find in your Site Search Application settings &#8211; <a href="https://searchstudio.searchstax.com/#/apps-management">https://searchstudio.searchstax.com/#/apps-management</a></li>



<li><strong>connector.search_auth_type</strong> &#8211; <em>required for apps on <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth">Token Auth</a></em>: Set this value as &#8220;token&#8221;. This will instruct the accelerator that this is the method for authentication. <em>If your app is using <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#basic-auth">Basic Auth</a>, you do not need to include this connector configuration.</em></li>



<li><strong>connector.select_auth_token</strong> &#8211; <em>required for apps on <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth">Token Auth</a></em>: This is the Token key that you can find in you can find in your <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth">Site Search App Settings</a>. It is recommended to use the Read Only token here. <em>If your app is using <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#basic-auth">Basic Auth</a>, you do not need to include this connector configuration.</em></li>



<li><strong>connector.suggester_auth_token</strong> &#8211; <em>required for apps on <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth">Token Auth</a></em>: This is the Token key that you can find in you can find in your <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth">Site Search App Settings</a>. It is recommended to use the Read Only token here. <em><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-black-color">If your app is using <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#basic-auth">Basic Auth</a>, you do not need to include this connector configuration.</mark></em></li>



<li><strong>connector.session</strong>:&nbsp; <em>required: </em>Unique session id that should be passed to track the user.&nbsp;</li>



<li><strong>connector.fields</strong>:&nbsp; <em>required: </em>Search UI App shows certain fields in a special way. These special fields are:<ul><li><strong>title</strong> :&nbsp; <em>required: </em>This is shows as the header, on clicking which the “url” is opened<strong>url</strong>:&nbsp; <em>required: </em>Field containing the URL that will be tracked and opened when the title is clicked on<strong>paths:</strong> <em>optional</em>: Field whose data will be shown in a special style under the title (blog / 6-reasons-for-searchstax-solr-as-a-service styling shown below)<strong>ribbon</strong>:&nbsp; <em>optional: </em>Field whose data will be shown at the top of the tile as a ribbon. (Blog styling shown below)</li></ul>
<ul class="wp-block-list">
<li><strong>date</strong>: <em>optional: </em>Field that contains the date. Only if this field is present, sorting options to show search results by Relevance or Most Recent will be shown.</li>



<li><strong>thumbnail</strong>: <em>optional: </em>Field that contains the url of an image that should be shown in a special way as a thumbnail to the left of the search result item.</li>
</ul>
</li>
</ul>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="882" height="200" src="https://demo.searchstax.com/docs/wp-content/uploads/2022/01/Screenshot-2022-01-13-at-10.52.39-AM.png" alt="" class="wp-image-10622" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2022/01/Screenshot-2022-01-13-at-10.52.39-AM.png 882w, https://demo.searchstax.com/docs/wp-content/uploads/2022/01/Screenshot-2022-01-13-at-10.52.39-AM-300x68.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2022/01/Screenshot-2022-01-13-at-10.52.39-AM-768x174.png 768w" sizes="auto, (max-width: 882px) 100vw, 882px" /></figure>



<ul class="wp-block-list">
<li><strong>connector.searchAdditionalArgs: </strong><em>optional: </em>&nbsp;can be used to add any additional parameters that you would like to add to the Solr select endpoint. Example: <code>"hl.fragsize=200&amp;hl.simple.pre=&lt;font color='red'&gt;&amp;hl.simple.post=&lt;/font&gt;"</code>. You can also set the relevance model for the page in this argument, Example: <code>"model=ElevatedRelevanceModel"</code></li>



<li><strong>connector.hideUniqueKey</strong>: <em>optional</em>: can be used to hide the value of the Unique id/key (as defined in the schema) from the search results that are shown. Sometimes, the unique key is a url and you would like to display it, while sometimes it might be a UUID that you would not like to display.</li>



<li><strong>connector.autoCorrectSpellings</strong>: <em>optional</em>: can be used to automatically show results for spell-corrected queries when a misspelt input is searched.</li>



<li><strong>connector.defaultQuery</strong>: <em>optional</em>: can be used to provide the default query that the page should be loaded with. If you would like all results to be shown when your search page is first rendered, you can pass the defaultQuery as &#8216;*&#8217;</li>



<li><strong>fieldFormatters:</strong> <em>optional: </em>can be used to transform any field. For example, if your dataset contains the field as a long, or any other format, you can write a formatter to transform it into a readable date string. As shown in the example, for any of the fields, you can specify the formatter function that the module should call when showing the value of that particular field.</li>



<li><strong>display: </strong><em>optional: </em>&nbsp;lets you control how the search results will be shown. Available options are grid(default), list and multi (Shows toggle option between list and grid)</li>



<li><strong>hideBranding</strong>: <em>optional</em>: Setting this value to True hides SearchStax branding from the SearchBox</li>



<li><strong>facet_pagination</strong>: controls how many facets should be shown in the UI by default, after which &#8220;More&#8221; is shown to view more facets. More lets user view the next &#8220;facet_pagination&#8221; number of facet values, with the max limit of values that are controlled from Site Search&#8217;s facet Max Count configuration</li>



<li><strong>suggestAfterMinChars</strong>: controls the minimum number of characters that should be entered in the search box at which the Auto-Suggest module should trigger and start offering suggestions. </li>



<li><strong>showUnavailableFacets:</strong> If <strong>false</strong> (default), when the user selects a facet value, all incompatible values disappear from the screen. If <strong>true</strong>, the incompatible values remain visible but are grayed out. </li>



<li><strong>orFacets:</strong> If <strong>false</strong> (default), the <strong>AND</strong> operator will apply for facet values. If <strong>true</strong>, the <strong>OR</strong> operator will apply for facet values.&nbsp; The <strong>true</strong> setting offers all facet values all the time, overriding the setting of <strong>showUnavailableFacets</strong> (above). </li>



<li><strong>searchOnSuggestionChange</strong>: if set to false, navigating through autosuggest items with keyboard keys will not trigger search</li>
</ul>



<p><strong>Settings for Sections showing various UI components:</strong></p>



<ul class="wp-block-list">
<li><strong>searchResults</strong> and <strong>customResultTemplate</strong>: The div for showing the search results and the id of the template html for that section. <strong>customNoResultTemplate</strong> is the template html for when search gives back no results.</li>



<li><strong>searchInput</strong> and <strong>customSearchTemplate</strong>: The div for showing the search input textbox and the id of the template html for that section. </li>



<li><strong>facetSection</strong> and <strong>customFacetTemplate</strong>: The div for showing the facets/filters and the id of the template html for that section. </li>



<li><strong>searchResultSummarySection</strong> and <strong>customSearchFeedbackTemplate</strong>: The div for showing the summary of search results (Like Showing 1-10 of 200 results for “Sitecore) and the id of the template html for that section</li>



<li><strong>searchOptionsSection</strong> and <strong>customSearchOptionSectionTemplate</strong>: The div for showing the search options for sorting and display styles and the id of the template html for that section</li>



<li><strong>paginationSection</strong> and <strong>customPaginationTemplate</strong>: The div for showing pagination and the div template html for that section</li>



<li><strong>relatedSearchesSection</strong> and <strong>customRelatedSearchesTemplate</strong>: The div and template html for showing the Related Searches</li>



<li><strong>externalSearchResults</strong> and <strong>customExternalPromotionsTemplate</strong>: The div and template html for showing External Promotions</li>
</ul>



<p>The templates for each section can be used for customizing the HTML layout of that section. Modifying them will require <span style="font-size: revert;">some knowledge on how to write Vue templates. The variables available in the template are:</span></p>



<ol style="list-style:lower-alpha"><li>isGridLayout: Dynamic internal function that returns true if the layout is grid. You can use this to specify a different CSS for Grid Layout vs List Layout</li><li>ribbon: Data for the configured ribbon field as returned by the search</li><li>title: Data for the configured title field as returned by the search</li><li>url: Data for the configured url field as returned by the search</li><li>paths: Data for the configured paths field as returned by the search</li><li>thumbnail: Data for the configured thumbnail field as returned by the search</li><li>date: Data for the configured date field as returned by the search</li><li>snippet: Data for the configured snippet field as returned by the search</li><li>result: contains all unparsed result data for more complex implementations</li><li>promoted: Contains flag if the search result is promoted (true/false)</li></ol>



<p>For the result to be clickable, a property <code>@click="navigate($event, url)"</code> should be placed on the tag.</p>



<p>Below are two example templates examples for the results section: <strong>Template 1:</strong> Show all configured fields.</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: jscript; auto-links: false; title: ; notranslate">
&lt;script type=&quot;text/x-template&quot; id=&quot;result-template&quot;&gt;
&lt;div class=&quot;card-searchstudio-js-custom&quot; :class=&quot;{ &#039;card-searchstudio-js-grid-layout&#039;: isGridLayout, &#039;has-thumbnail&#039;: thumbnail !== &#039;&#039;, &#039;display-none&#039;: searchStore.studioConfig.customResultTemplate }&quot;&gt;
    &lt;div class=&quot;card-searchstudio-jsClass&quot;&gt;
      &lt;a class=&quot;stretched-link&quot; :href=&quot;url&quot; :autofocus=&quot;keyIndex === 0&quot; @click=&quot;navigate($event, url)&quot;&gt;
        &lt;div class=&quot;card-searchstudio-js-body p-0&quot;&gt;
          &lt;span class=&quot;badge&quot; :class=&quot;valueClass(ribbon)&quot; v-if=&quot;ribbon&quot; v-html=&quot;ribbon&quot; /&gt;

          &lt;h3 class=&quot;card-searchstudio-js-title&quot; v-if=&quot;title&quot;&gt;
            &lt;span v-html=&quot;title&quot; /&gt;
            {{ keyIndex }} KEY
          &lt;/h3&gt;
          &lt;span class=&quot;card-searchstudio-js-path&quot; v-if=&quot;paths&quot; v-html=&quot;paths&quot; /&gt;
          &lt;span class=&quot;star elevated&quot; :class=&quot;valueClass(ribbon)&quot; v-if=&quot;promoted&quot;&gt;&amp;nbsp;&lt;/span&gt;
          &lt;div class=&quot;thumbnail&quot; v-if=&quot;thumbnail&quot;&gt;
            &lt;span&gt;
              &lt;img alt=&quot;&quot; :src=&quot;thumbnail&quot; /&gt;
            &lt;/span&gt;
          &lt;/div&gt;

          &lt;div class=&quot;card-searchstudio-js-body p-0&quot; v-if=&quot;snippet&quot;&gt;
            &lt;div v-if=&quot;snippet&quot;&gt;
              &lt;div class=&quot;card-searchstudio-js-text&quot;&gt;
                &lt;span v-html=&quot;snippet&quot; /&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class=&quot;card-searchstudio-js-body p-0&quot; v-if=&quot;description&quot;&gt;
            &lt;div class=&quot;card-searchstudio-js-text&quot;&gt;
              &lt;span v-html=&quot;description&quot; /&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/script&gt;

</pre></div>


<p><strong>Template 2:</strong> Show standard fields, and have a way to loop through and show any extra fields returned by the search, which are present in the raw <em>result variable:</em></p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: jscript; auto-links: false; title: ; notranslate">
&lt;script type=&quot;text/x-template&quot; id=&quot;result-template&quot;&gt;
&lt;div class=&quot;card-searchstudio-js-custom&quot; :class=&quot;{ &#039;card-searchstudio-js-grid-layout&#039;: isGridLayout, &#039;has-thumbnail&#039;: thumbnail !== &#039;&#039;, &#039;display-none&#039;: searchStore.studioConfig.customResultTemplate }&quot;&gt;
    &lt;div class=&quot;card-searchstudio-jsClass&quot;&gt;
      &lt;a class=&quot;stretched-link&quot; :href=&quot;url&quot; :autofocus=&quot;keyIndex === 0&quot; @click=&quot;navigate($event, url)&quot;&gt;
        &lt;div class=&quot;card-searchstudio-js-body p-0&quot;&gt;
          &lt;span class=&quot;badge&quot; :class=&quot;valueClass(ribbon)&quot; v-if=&quot;ribbon&quot; v-html=&quot;ribbon&quot; /&gt;

          &lt;h3 class=&quot;card-searchstudio-js-title&quot; v-if=&quot;title&quot;&gt;
            &lt;span v-html=&quot;title&quot; /&gt;
            {{ keyIndex }} KEY
          &lt;/h3&gt;
          &lt;span class=&quot;card-searchstudio-js-path&quot; v-if=&quot;paths&quot; v-html=&quot;paths&quot; /&gt;
          &lt;span class=&quot;star elevated&quot; :class=&quot;valueClass(ribbon)&quot; v-if=&quot;promoted&quot;&gt;&amp;nbsp;&lt;/span&gt;
          &lt;div class=&quot;thumbnail&quot; v-if=&quot;thumbnail&quot;&gt;
            &lt;span&gt;
              &lt;img alt=&quot;&quot; :src=&quot;thumbnail&quot; /&gt;
            &lt;/span&gt;
          &lt;/div&gt;

          &lt;div class=&quot;card-searchstudio-js-body p-0&quot; v-if=&quot;snippet&quot;&gt;
            &lt;div v-if=&quot;snippet&quot;&gt;
              &lt;div class=&quot;card-searchstudio-js-text&quot;&gt;
                &lt;span v-html=&quot;snippet&quot; /&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class=&quot;card-searchstudio-js-body p-0&quot; v-if=&quot;description&quot;&gt;
            &lt;div class=&quot;card-searchstudio-js-text&quot;&gt;
              &lt;span v-html=&quot;description&quot; /&gt;
            &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class=&quot;card-searchstudio-js-body p-0&quot; :key=&quot;propertyName&quot; v-for=&quot;(value, propertyName) in searchResultKeysOrdered&quot;&gt;
            &lt;div v-if=&quot;!value.result_card || value.result_card === &#039;date&#039;&quot;&gt;
              &lt;div class=&quot;card-searchstudio-js-text&quot; :class=&quot;value.name&quot;&gt;
                &lt;span class=&quot;image&quot; v-if=&quot;isImage(result&#x5B;value.name])&quot;&gt;
                  &lt;img alt=&quot;&quot; :src=&quot;result&#x5B;value.name]&quot; /&gt;
                &lt;/span&gt;
                &lt;span v-else-if=&quot;value.result_card === &#039;date&#039;&quot; v-html=&quot;date&quot; /&gt;
                &lt;span :class=&quot;valueClass(result&#x5B;value.name])&quot; v-html=&quot;extractedValue(value.name, result&#x5B;value.name])&quot; v-else /&gt;
              &lt;/div&gt;
            &lt;/div&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/script&gt;

</pre></div>


<p></p>



<ol start="5" class="wp-block-list">
<li>If using the Optional Search Feedback, initialize the plugin as shown below:</li>
</ol>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: jscript; auto-links: false; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
     (function (w,d,s,o,f) {w&#x5B;&#039;sf-widget&#039;]=o;w&#x5B;o] = w&#x5B;o] || function () {(w&#x5B;o].q = w&#x5B;o].q || &#x5B;]).push(arguments)};
     js = d.createElement(s);fjs = d.getElementsByTagName(s)&#x5B;0];js.src = f;js.async = 1;fjs.parentNode.insertBefore(js, fjs);}
     (window, document, &#039;script&#039;, &#039;_sf&#039;, &#039;https://static.searchstax.com/studio-js/v2/js/studio-feedback.js&#039;));
 
     _sf(&quot;9irZHJbDKzVGnjJjEGgzOVWLt8e2OAHv6krBuf5uvSY&quot;);
   &lt;/script&gt;
</pre></div>


<p>The parameter to <strong>_sf</strong> method is the Analytics API Key that is also used before as the<strong> connector.apiKey</strong> parameter.</p>



<h2 class="wp-block-heading" id="h-full-example">Full Example:</h2>



<p>The Hosted Search Experience is a search page built with the Search UI Kit using your Solr and Site Search settings. Simply view the <strong>page source</strong> for the most up-to-date example of Hosted Search Experience integration.</p>



<p></p>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p>Do not hesitate to contact the <a href="mailto:support@demo.searchstax.com?subject=Studio%3A%20UX%20SearchStax%20Studio%20UX%20Accelerator" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
</div></div>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-ux-accelerator/">Overview</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Browser Compatibility</title>
		<link>https://demo.searchstax.com/docs/searchstudio/searchstax-studio-ux-accelerator-browser-compatibility/</link>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Fri, 09 Jul 2021 14:00:19 +0000</pubDate>
				<guid isPermaLink="false">https://demo.searchstax.com/docs/?post_type=site_search&#038;p=9292</guid>

					<description><![CDATA[<p>Search UI App Browser Compatibility The SearchStax Site Search solution&#8217;s Search UI App features are compatible with the following list of web browsers. Safari (recommended at least version 12) Edge&#8230; <a class="more-link" href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-ux-accelerator-browser-compatibility/">Continue reading <span class="screen-reader-text">Browser Compatibility</span></a></p>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-ux-accelerator-browser-compatibility/">Browser Compatibility</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="h-search-ui-app-browser-compatibility">Search UI App Browser Compatibility</h1>



<p>The SearchStax Site Search solution&#8217;s <strong>Search UI App</strong> features are compatible with the following list of web browsers.</p>



<hr class="wp-block-separator has-css-opacity"/>



<p><strong>Safari (recommended at least version 12) </strong></p>



<ul class="wp-block-list">
<li>Mac (versions 10.13.6 or higher)</li>



<li>iOS (versions 11 or higher)</li>
</ul>



<p><strong>Edge (recommended at least version 79) </strong></p>



<ul class="wp-block-list">
<li>Mac (versions 10.12.6 or higher)</li>



<li>Windows 10</li>
</ul>



<p><strong>Chrome (recommended at least version 60) </strong></p>



<ul class="wp-block-list">
<li>Mac (versions 10.10.5 or higher)</li>



<li>Windows (versions 7 or higher)</li>



<li>iOS (versions 11 or higher)</li>



<li>Android (versions 4.4 or higher)</li>
</ul>



<p><strong>Firefox (recommended at least version 55) </strong></p>



<ul class="wp-block-list">
<li>Mac (versions 10.11.6 or higher)</li>



<li>Windows (versions 7 or higher)</li>



<li>Android (versions 4.4 or higher)</li>
</ul>



<p><strong>Opera (recommended at least version 47) </strong></p>



<ul class="wp-block-list">
<li>Mac (versions 10.10.5 or higher)</li>



<li>Windows (versions 7 or higher)</li>
</ul>



<p><strong>Samsung Internet </strong></p>



<ul class="wp-block-list">
<li>Samsung devices running Android (versions 5 or higher)</li>
</ul>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p>Do not hesitate to contact the <a href="mailto:support@demo.searchstax.com?subject=Studio%3A%20UX%20Accelerator%20Browser%20Compatibility" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
</div></div>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-ux-accelerator-browser-compatibility/">Browser Compatibility</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>External Promotions</title>
		<link>https://demo.searchstax.com/docs/searchstudio/searchjs-promotions/</link>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Wed, 08 Feb 2023 21:33:35 +0000</pubDate>
				<guid isPermaLink="false">https://demo.searchstax.com/docs/?post_type=searchstudio&#038;p=13978</guid>

					<description><![CDATA[<p>Add External Promotions to the Search UI App The SearchStax Site Search solution&#8217;s Search UI App can display External Promotions to your Search Application. To enable External Promotions on your&#8230; <a class="more-link" href="https://demo.searchstax.com/docs/searchstudio/searchjs-promotions/">Continue reading <span class="screen-reader-text">External Promotions</span></a></p>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchjs-promotions/">External Promotions</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="h-add-external-promotions-to-the-search-ui-app">Add External Promotions to the Search UI App</h1>



<hr class="wp-block-separator has-css-opacity"/>



<p>The SearchStax Site Search solution&#8217;s Search UI App can display <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-promotions-tab/">External Promotions</a> to your Search Application.</p>



<p>To enable External Promotions on your Accelerator follow the steps below. </p>



<h2 class="wp-block-heading"><a id="post-13978-_wz2k89mahsbo"></a>1. Add the Container &lt;div&gt; in the HTML</h2>



<p>Add the following container <strong>div</strong> under the <strong>result-container-wrapper</strong> in the HTML. Technically, it can be anywhere, but it’s recommended at the top of the search results.</p>





<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1656" height="856" src="https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-1-1.png" alt="" class="wp-image-13984" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-1-1.png 1656w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-1-1-300x155.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-1-1-1024x529.png 1024w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-1-1-768x397.png 768w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-1-1-1536x794.png 1536w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-1-1-1568x811.png 1568w" sizes="auto, (max-width: 1656px) 100vw, 1656px" /></figure>



<h2 class="wp-block-heading"><a id="post-13978-_f0de0i1q0ysi"></a>2. Enable External Promotions in the studioConfig Object</h2>



<p>Add the following fields in the <strong>studioConfig</strong> initializer object:</p>



<ul class="wp-block-list">
<li><strong>externalSearchResults:</strong> &#8216;#external-search-result-container&#8217;,</li>
</ul>



<ul class="wp-block-list">
<li><strong>customExternalPromotionsTemplate:</strong> &#8216;#external-search-result-template&#8217;,</li>
</ul>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1430" height="1538" src="https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-2-1.png" alt="" class="wp-image-13985" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-2-1.png 1430w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-2-1-279x300.png 279w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-2-1-952x1024.png 952w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-2-1-768x826.png 768w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-2-1-1428x1536.png 1428w" sizes="auto, (max-width: 1430px) 100vw, 1430px" /></figure>



<h2 class="wp-block-heading"><a id="post-13978-_r8ze14rtt5rh"></a>3. Add the External-search-result-template Script</h2>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: xml; title: ; notranslate">
&lt;script type=&quot;text/x-template&quot; id=&quot;external-search-result-template&quot;&gt;
	&lt;div class=&quot;external-searches-container&quot;&gt;
	&lt;div class=&quot;list-wrapper external-list-wrapper&quot;
		:key=&quot;externalResult.url&quot;
		v-for=&quot;externalResult in externalSearchResults&quot;&gt;
	&lt;div class=&quot;card-searchstudio-js-custom&quot;&gt;
		&lt;div class=&quot;card-searchstudio-jsClass&quot;&gt;
		&lt;div class=&quot;card-searchstudio-js-body p-0&quot;&gt;
			&lt;div class=&quot;card-searchstudio-js-title&quot;&gt;
			&lt;a :href=&quot;externalResult.url&quot;
				@click.prevent=&quot;trackClick(externalResult, $event)&quot;
				class=&quot;stretched-link&quot;&gt;{{ externalResult.name }}&lt;/a&gt;
			&lt;/div&gt;
						&lt;div class=&quot;icon-elevated&quot; /&gt;
			&lt;div class=&quot;card-searchstudio-js-body p-0&quot;&gt;
			&lt;div class=&quot;card-searchstudio-js-text content&quot;&gt;
				&lt;span class=&quot;SearchStax&quot;&gt;{{ externalResult.description }} &lt;/span&gt;
			&lt;/div&gt;
			&lt;/div&gt;
			&lt;div class=&quot;card-searchstudio-js-body p-0&quot;&gt;
			&lt;div class=&quot;card-searchstudio-js-text content&quot;&gt;
				&lt;span class=&quot;SearchStax&quot;&gt;{{ externalResult.url }}&lt;/span&gt;
			&lt;/div&gt;
			&lt;/div&gt;
			&lt;div class=&quot;card-searchstudio-js-body p-0&quot; /&gt;
		&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;/script&gt;

</pre></div>


<h2 class="wp-block-heading">4. Make Styling Updates</h2>



<p>You will need to add styling updates to <strong>.card-searchstudio-js-custom</strong>.</p>



<figure class="wp-block-image"><img loading="lazy" decoding="async" width="1646" height="2048" src="https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-3-1.png" alt="" class="wp-image-13986" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-3-1.png 1646w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-3-1-241x300.png 241w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-3-1-823x1024.png 823w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-3-1-768x956.png 768w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-3-1-1235x1536.png 1235w, https://demo.searchstax.com/docs/wp-content/uploads/2023/02/word-image-13978-3-1-1568x1951.png 1568w" sizes="auto, (max-width: 1646px) 100vw, 1646px" /></figure>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p>Do not hesitate to contact the <a href="mailto:support@demo.searchstax.com?subject=Studio%3A%20External%20Promotions%20in%20SearchJS" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
</div></div>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchjs-promotions/">External Promotions</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Search Widget</title>
		<link>https://demo.searchstax.com/docs/searchstudio/searchstax-studio-autosuggest-js/</link>
		
		<dc:creator><![CDATA[Dipsy]]></dc:creator>
		<pubDate>Wed, 31 Mar 2021 15:41:24 +0000</pubDate>
				<guid isPermaLink="false">https://site-qa.searchstax.com/docs/?post_type=site_search&#038;p=8406</guid>

					<description><![CDATA[<p>Lightweight Search Widget The SearchStax Site Search solution&#8217;s Search UI App provides a lightweight pure javascript widget to show a simple search icon and search box on your website. When&#8230; <a class="more-link" href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-autosuggest-js/">Continue reading <span class="screen-reader-text">Search Widget</span></a></p>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-autosuggest-js/">Search Widget</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="h-lightweight-search-widget">Lightweight Search Widget</h1>



<hr class="wp-block-separator has-css-opacity"/>



<p>The SearchStax Site Search solution&#8217;s <strong>Search UI App</strong> provides a lightweight pure javascript widget to show a simple search icon and search box on your website. When the search is actually fired, the widget redirects to your actual search page.</p>



<p>This widget is not dependent on JQuery or Vue.</p>



<p>It shows up by default as the search icon shown below:</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh6.googleusercontent.com/G7efb7_tUxcJkTH8F3OlcuvykTXqHGwbt9a_a45jsaxV6qjH4p9eOwcIDe7Re5aPvTyZYGgRa3kqpsSxz859QR_jacAdYzK-9GL_hyi2S9Rlw4G7LSuDURo-4i4OMea-PL6uj_8H" alt=""/></figure></div>


<p>which when clicked shows the search bar, complete with search suggestions.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img decoding="async" src="https://lh5.googleusercontent.com/P0O7MplEx3aoYjorhDj1ikY0FO96BuYvkWXqdYkLtCa3x0eNGXjVkrakFXvP4dqzI4YTvVM35F-FnUpisJKMa9fPvCHk9uqD4Bt1g_AoyHYmbrWCcEnQFHUry6Br1aoIjKgm75za" alt=""/></figure></div>


<p>The search icon and the search bar can be reformatted easily using CSS.</p>



<p>To use this widget:</p>



<ol class="wp-block-list">
<li>Include the following in the header:</li>
</ol>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: jscript; auto-links: false; title: ; notranslate">
&lt;script src=&quot;https://static.searchstax.com/studio-js/v3/js/search-widget.min.js&quot;&gt;&lt;/script&gt;
</pre></div>


<ol start="2" class="wp-block-list">
<li>Include the widget container in your website:</li>
</ol>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;div-widget-id&quot; class=&#039;studio-search-widget&#039;&gt;&lt;/div&gt;
</pre></div>


<ol start="3" class="wp-block-list">
<li>Initialize the widget once the container is finished rendering</li>
</ol>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: jscript; auto-links: false; title: ; notranslate">
new SearchstudioWidget(
    &#039;ZTBwNDA12345tYXBpOlN0YXgjMjM0&#039;,
    &#039;https://ssXXXX.searchstax.com/solr/suggester-collection/emsuggest&#039;,
    &#039;https://www.searchstax.com/search/&#039;,
    3,
    &#039;searchStudioQuery&#039;,
    &#039;div-widget-id&#039;,
    &#039;en&#039;,
    &#039;token&#039;
)
</pre></div>


<ul class="wp-block-list">
<li>The parameters to the widget are:
<ul class="wp-block-list">
<li><strong>authentication: </strong>This is the authentication header for the Auto Suggest Endpoint. If your app is using <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth">Token Authentication</a>, you will be able to find your token in App Settings. If your app is using <a href="/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth">Basic Authentication</a>, you can construct this from the API username/password that was used when configuring the Search App &#8211; <a href="https://www.blitter.se/utils/basic-authentication-header-generator/">https://www.blitter.se/utils/basic-authentication-header-generator/</a> . It is recommended to use Read Only.</li>



<li><strong>auto suggest endpoint: </strong>This is the Auto-suggest endpoint of your search application, that you can get from the App Management page</li>



<li><strong>search page link: </strong>This is the link to your search page. The widget will pass the search query to the search page so it can render the results and take you to that page&nbsp;</li>



<li><strong>number of characters: </strong>Auto-suggestions will display after this number of characters is typed. Please note that this is a static value that should be same or greater than what is configured within your Site Search application. This widget does not dynamically load any of the settings.</li>



<li><strong>query:</strong> When the search page link is invoked, the widget will pass <strong>?&lt;SPECIFIED PARAMETER&gt;=&lt;QUERY&gt;</strong> to the search page link</li>



<li><strong>ID of the widget</strong>: The ID of the widget</li>



<li><strong>language:</strong> Which <a href="/docs/searchstudio/searchstax-studio-multi-language-experiences/">language-specific experience</a> to use as the <a href="/docs/searchstudio/searchstax-studio-auto-suggest/">auto-suggest</a> source. If not specified, defaults to &#8216;en&#8217;.</li>



<li><strong>authentication method</strong> &#8211; <em><em>required for apps on&nbsp;<a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#token-auth">Token Auth</a></em>: </em>Set this value as “token”. This will instruct the widget that this is the method for authentication.&nbsp;<em>If your app is using&nbsp;<a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-search-api-tab/#basic-auth">Basic Auth</a>, you do not need to include this connector configuration.<em>.</em></em> </li>
</ul>
</li>
</ul>



<h2 class="wp-block-heading">Modifying the Widget</h2>



<p>The Lightweight Search Widget is supplied to you in a generic form. If you wish to modify it, there are three steps:</p>



<ul class="wp-block-list">
<li>Download <a href="https://static.searchstax.com/studio-js/v3/js/search-widget.min.js">https://static.searchstax.com/studio-js/v3/js/search-widget.min.js</a> and modify it as you require.</li>



<li>Place the modified .js file somewhere in your website environment.&nbsp; </li>



<li>Modify line 11 of the widget html file to point&nbsp;to your new .js file.</li>
</ul>



<h2 class="wp-block-heading" id="h-full-html-example">Full HTML Example</h2>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: xml; auto-links: false; title: ; notranslate">
&lt;!DOCTYPE html&gt;
 
&lt;html lang=&quot;en&quot;&gt;
  &lt;head&gt;
    &lt;meta charset=&quot;utf-8&quot; /&gt;
    &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot; /&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,initial-scale=1.0&quot; /&gt;
    &lt;title&gt;Search Widget&lt;/title&gt;
 
 
        &lt;script src=&quot;https://static.searchstax.com/studio-js/v3/js/search-widget.min.js&quot;&gt;&lt;/script&gt; 
 
    &lt;script type=&quot;text/javascript&quot;&gt;
        function initiateSearchWidget(){
            //Call when document is loaded
            new SearchstudioWidget(
                &#039;ZTBwNDA12345tYXBpOlN0YXgjMjM0&#039;,
                &#039;https://ssXXXX.searchstax.com/solr/suggester-collection/emsuggest&#039;,
                &#039;https://www.searchstax.com/search/&#039;,
                3,
                &#039;q&#039;, 
                &#039;div-widget-id&#039;,
                &#039;en&#039;,
                &#039;token&#039;
            )
        }
    &lt;/script&gt;
    &lt;style&gt;
        .left-margin{
            margin-left: 500px;
        }
        .flex{
            display: flex;
        }
        .text{
            padding: 10px;
 
        }
    &lt;/style&gt;
    &lt;style&gt;
         .studio-search-widget {
            position: relative;
            width: 60px;
            text-align: center;
            border: 1px solid #ced4da;
            border-radius: 80px;
            padding: 10px 0;
        }

        .studio-search-widget .studio-widget-search-icon{
						position:relative;
						display:inline-block;
						background: #fff;
						border-radius: 30px;
						height: 8px;
						width: 8px;
						border: 2px solid #2e2e30;
						margin-left: -5px;
        }

        .studio-search-widget .studio-widget-search-icon:after {
						content: &quot;&quot;;
						height: 2px;
						width: 8px;
						background: #2e2e30;
						position:absolute;
						top:9px;
						left:7px;
    				                -webkit-transform: rotate(45deg);
						-moz-transform: rotate(45deg);
						-ms-transform: rotate(45deg);
						-o-transform: rotate(45deg);
  			}

        .studio-search-widget .search-wrapper{
            visibility: hidden;
            position: absolute;
            right: -1px;
            top: -1px;
            width: 60px;
            text-align: center;
            border: 1px solid #ced4da;
            border-radius: 80px;
            padding: 10px 0;
            background-color: white;
            transition: visibility 0.2s, width 0.2s ease-in;
	    display: flex;
        }

	.studio-search-widget .search-wrapper .studio-widget-small-search-icon{
		position:relative;
		display:inline-block;
		background: #fff;
		border-radius: 30px;
		height: 6px;
		width: 6px;
		border: 2px solid #2e2e30;
		margin-left: 15px;
		margin-right: 5px;
		margin-top: 4px;
	}
	.studio-search-widget .search-wrapper .studio-widget-small-search-icon:after{
		content: &quot;&quot;;
		height: 2px;
		width: 6px;
		background: #2e2e30;
		position:absolute;
		top:7px;
		left:5px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		-o-transform: rotate(45deg);
	}

	.studio-search-widget .search-wrapper .studio-widget-search-input{
		padding-top: 4px;
	}

        .studio-search-widget.expanded .search-wrapper{
            visibility: visible;
            width: 600px;
        }


        .studio-search-widget .search-wrapper .studio-widget-autosuggest-results{
            position: absolute;
            width: calc(100%);
            top: 42px;
            box-shadow: 0 6px 15px 0 rgb(0 0 0 / 10%);
	    border-radius: 15px;
        }

        .studio-search-widget .search-wrapper .studio-widget-autosuggest-results .result-row{
            width: calc(100% - 60px);
            padding: 10px;
	    padding-left: 30px;
            text-align: left;
	    text-transform: capitalize;
        }

        .studio-search-widget .search-wrapper .studio-widget-autosuggest-results .result-row.searchstudio-active-row{
            /* background-color: white; */
	    color: #4bb5e2;
            cursor: pointer;
        }

        .studio-search-widget .search-wrapper input{
            width: calc(100% - 40px);
            border: none;
            height: 13px;
            box-shadow: none;
            outline: none;
            z-index: 4;
            /* padding: 0 20px; */
        }
    &lt;/style&gt;
  &lt;/head&gt;
&lt;body onload=&quot;initiateSearchWidget()&quot;&gt;
    &lt;div class=&quot;left-margin&quot;&gt;
        &lt;div class=&quot;flex&quot;&gt;
            &lt;div class=&quot;text&quot;&gt;&amp;nbsp;&lt;/div&gt;
            &lt;div&gt;
                &lt;div id=&quot;div-widget-id&quot; class=&#039;studio-search-widget&#039;&gt;&lt;/div&gt;
            &lt;/div&gt;
            &lt;div class=&quot;text&quot;&gt;&amp;nbsp;&lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;

</pre></div>


<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p>Do not hesitate to contact the <a href="mailto:support@demo.searchstax.com?subject=Studio%3A%20Lightweight%20Search%20Widget" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
</div></div>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-autosuggest-js/">Search Widget</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Feedback Widget</title>
		<link>https://demo.searchstax.com/docs/searchstudio/searchstax-studio-getting-user-feedback/</link>
		
		<dc:creator><![CDATA[Bruce]]></dc:creator>
		<pubDate>Fri, 12 Mar 2021 04:13:52 +0000</pubDate>
				<guid isPermaLink="false">https://site-qa.searchstax.com/knowledgecenter/?post_type=site_search&#038;p=7936</guid>

					<description><![CDATA[<p>Getting User Feedback The SearchStax Site Search solution offers a special widget that you can optionally install on your application search page to encourage visitors to leave feedback about the&#8230; <a class="more-link" href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-getting-user-feedback/">Continue reading <span class="screen-reader-text">Feedback Widget</span></a></p>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-getting-user-feedback/">Feedback Widget</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="wp-block-heading" id="h-getting-user-feedback">Getting User Feedback</h1>



<hr class="wp-block-separator has-css-opacity"/>



<p>The SearchStax Site Search solution offers a special widget that you can optionally install on your application search page to encourage visitors to leave feedback about the search experience. It looks like this:</p>



<figure class="wp-block-image"><img decoding="async" src="https://lh5.googleusercontent.com/VcbhIiaARHF_x5HrJ_6ErZ3jn51KjoZzX7EBj11R5REXgmw8_USKJLdpXvS8lMrhIpkEe_laFkSUSs4hQerur7ZTqD7ZWuYoLuugdHDfrqIaOoNL4xS2n1UYETnNNns8Jum5M5R4" alt="Site Search Feedback widget collects user ratings, comments and email. "/></figure>



<p>When a user fills out this form, the input is added to the App database for examination in the Site Search UI by the Business User.&nbsp;</p>



<p>To include this widget in your search page, use the script on <strong>Site Search > App Settings > All APIs ></strong> <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-analytics-api-tab/">Analytics</a>. </p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="980" height="692" src="https://demo.searchstax.com/docs/wp-content/uploads/2021/03/Screenshot-2025-01-29-at-4.22.19 PM.png" alt="" class="wp-image-20460" srcset="https://demo.searchstax.com/docs/wp-content/uploads/2021/03/Screenshot-2025-01-29-at-4.22.19 PM.png 980w, https://demo.searchstax.com/docs/wp-content/uploads/2021/03/Screenshot-2025-01-29-at-4.22.19 PM-300x212.png 300w, https://demo.searchstax.com/docs/wp-content/uploads/2021/03/Screenshot-2025-01-29-at-4.22.19 PM-768x542.png 768w" sizes="auto, (max-width: 980px) 100vw, 980px" /></figure>



<div class="wp-block-group"><div class="wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained">
<h2 class="wp-block-heading" id="questions">Questions?</h2>



<p>Do not hesitate to contact the <a href="mailto:support@demo.searchstax.com?subject=Studio%3A%20Feedback%20Widget" target="_blank" rel="noreferrer noopener">SearchStax Support Desk</a>.</p>
</div></div>
<p>The post <a href="https://demo.searchstax.com/docs/searchstudio/searchstax-studio-getting-user-feedback/">Feedback Widget</a> appeared first on <a href="https://demo.searchstax.com/docs">SearchStax Docs</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
