Skip to content

Comments

suit-issue-108: Adds configuration options and documentation for Saved Search#76

Open
nikhilj13 wants to merge 3 commits intoattivio:developfrom
nikhilj13:saved-search
Open

suit-issue-108: Adds configuration options and documentation for Saved Search#76
nikhilj13 wants to merge 3 commits intoattivio:developfrom
nikhilj13:saved-search

Conversation

@nikhilj13
Copy link
Contributor

@nikhilj13 nikhilj13 commented Apr 23, 2019

Adds documentation and configuration options for saved searches, once pull request #110 for SUIT is approved (attivio/suit#110)
You can configure the zone (savedSearchZone), table name (savedSearchTable) and search workflow (savedSearchWorkflow) to be used for saved searches by using the corresponding options in the SearchBar. Below is an example:

// These properties configure only the default values for properties of any SearchBar components
  // that allow the user to enter their queries.
  SearchBar: {
    // The placeholder text to display when the input field is empty.
    placeholder: 'Search\u2026',
    // The placeholder text to display when the input field is empty and the language is advanced.
    placeholderAdvanced: 'Enter an advanced query\u2026',
    // If true, the "microphone" button is displayed beside the search bar and the user can use speech recognition to input the
    // query
    allowVoice: true,
    // Whether to show a toggle for simple/advanced language in the search bar
    allowLanguageSelect: true,
    autoCompleteUri: '/rest/autocompleteApi/richCgi/dictionaryProvider',
    // configures the search workflow used for saved searches, if empty the default search workflow is used
   savedSearchWorkflow: 'searchSavedSearches',
   // configures the table name for saved searches
   savedSearchTable: 'testTable',
   // specifies the index zone for saved searches
   savedSearchZone: 'testZone',
  },

@nikhilj13 nikhilj13 changed the title SUIT-issue-108: Adds configuration options and documentation for Saved Search suit-issue-108: Adds configuration options and documentation for Saved Search Apr 23, 2019
@klk1010 klk1010 added dependent Dependent on another PR/release merge conflicts Has merge conflicts that need to be resolved labels Jul 22, 2019
@klk1010 klk1010 changed the base branch from master to develop July 26, 2019 19:09
@klk1010 klk1010 added this to the v1.0.8 milestone Jul 26, 2019
@klk1010 klk1010 modified the milestones: v5.6.3, 5.6.5 Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependent Dependent on another PR/release merge conflicts Has merge conflicts that need to be resolved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants