Platform Explorer / Nuxeo Platform LTS 2015 7.10

Extension point suggesters

Extension point for registering named suggester implementations and their parameters.

Suggester implementations should implement the "org.nuxeo.ecm.platform.suggestbox.service.Suggester" interface.

Contribution Descriptor

Existing Contributions

  • nuxeo-platform-suggestbox-core-7.10-HF01.jar /OSGI-INF/suggestbox-suggesters-contrib.xml
    <extension point="suggesters" target="org.nuxeo.ecm.platform.suggestbox.service.SuggestionService">
    
        <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentLookupSuggester" name="documentLookupByTitle">
          <parameters>
            <parameter name="providerName">DEFAULT_DOCUMENT_SUGGESTION</parameter>
          </parameters>
        </suggester>
    
        <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.UserGroupLookupSuggester" name="searchByUsersAndGroups">
          <parameters>
            <parameter name="userSuggestionsLimit">5</parameter>
            <parameter name="groupSuggestionsLimit">5</parameter>
            <parameter name="searchFields">fsd:dc_creator</parameter>
          </parameters>
        </suggester>
    
      </extension>