1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Documents - tags, categories and an advanced search interface

Documents - tags, categories and an advanced search interface

2 posts, 0 answered
  1. Mark
    Mark avatar
    86 posts
    Registered:
    08 Feb 2010
    29 Jun 2010
    Link to this post

    I'm building an intranet, and want to use the documents module to manage the documents

    However, i dont believe the front end control is powerful enough
    I'm not sure if sitefinity is the correct platform based on the requirements, most of these are for the front end control, however the areas i'm struggling with are:

    A "Search Documents" control would be dragged onto the page and in the settings you would have:
    - categories Tree with check boxes so you can select which categories to include in the search
    - a section to select which libraries to search (or which ones to exclude)
    - ability to add/remove tags from results, (i.e. 2 texts boxes, 1- tags to include, 2 tags to exclude)

    The control would filter by these tags (i.e. show all docs and also include tags: tag1, tag2 tag3) or (show all docs but Exclude any with tags: Tag7, Tag8)

    There would be a standard search box, which would search all docs within the above criteria, the above settings are just a pre-filter to whatever the user is searching on

    Would this be possible within sitefinity?
    If so i'd appreciate some direction

    Thanks

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    29 Jun 2010
    Link to this post
    Hi Dave,

    First you need to implement a custom Search Provider for Images and Documents. Sample code can be found here - n the mean time series (part 4): BONUS TRACK - "Products" module - implementing search index

    A "Search Documents" control would be dragged onto the page and in the settings you would have:
    - categories Tree with check boxes so you can select which categories to include in the search
    - a section to select which libraries to search (or which ones to exclude)
    - ability to add/remove tags from results, (i.e. 2 texts boxes, 1- tags to include, 2 tags to exclude)

    The control would filter by these tags (i.e. show all docs and also include tags: tag1, tag2 tag3) or (show all docs but Exclude any with tags: Tag7, Tag8)

    You have to implement this options in your CustomIndexSettingsControl. The public controls are only presentation controls.  As a possible hack would be overriding SearchResults control and exposing all these options as a public properties and then alter the ResultsItem list in CreateChildControls.

    Here is a sample code that I provided some time ago that shows how to tweak the control.


    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered