Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Preethi 32 posts 99 karma points
    Jul 28, 2015 @ 16:24
    Preethi
    0

    To search by custom properties

    I have added two custom member properties. I have added these to the memberlistview.html and they display fine. Please can you let me know what should be done to search on these new properties. Now only the filtering works on member name or id.

  • Simon Justesen 74 posts 193 karma points
    Jul 29, 2015 @ 01:52
    Simon Justesen
    0

    Hi Preethi,

    Check this link: http://stackoverflow.com/questions/26021667/umbraco-examine-search-indexing

    ... and this http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine for more info on how the Umbraco Examine searcher works.

    Its been a while since I worked with the searcher, but I think you need to add your custom properties inside the IndexUserFields subnode inside the IndexSet called "InternalMemberIndexSet" in ExamineIndex.config (check above-mentioned links for reference) to get them indexed by Examine ... ExamineIndex.config and ExamineSettings.config can be found in /config/

    You may need to rebuild the index after adding the extra properties to get them to show up (Developer section -> open the tab 'Examine Management' -> InternalMemberIndexer -> Indexer & Tools -> click 'Rebuild Index'

    HTH, Simon

  • Preethi 32 posts 99 karma points
    Jul 29, 2015 @ 08:50
    Preethi
    0

    Hi Simon,

    My query was in reference to the backoffice package MemberListView for Umbraco 7 not general Umbraco 7. I was wondering how to add the custom properties to filter within this package.

    Thanks

  • Simon Justesen 74 posts 193 karma points
    Jul 29, 2015 @ 12:49
    Simon Justesen
    0

    Ah, sorry :) I forgot to check the category

  • Robert Foster 459 posts 1820 karma points MVP 3x admin c-trib
    Jul 30, 2015 @ 16:09
    Robert Foster
    0

    Hi Preethi, There's a discussion here about filtering on Member Groups that may help you - basically though, you need to edit the filter.html and member.filter.controller.js files to create your own filter.

    You also need to include your properties in the Examine InternalMemberIndexSet configuration so they can be searched if you haven't already.

    Hope this helps, Rob.

  • Preethi 32 posts 99 karma points
    Jul 30, 2015 @ 16:32
    Preethi
    0

    Thanks for that Rob. Will look into it.

Please Sign in or register to post replies

Write your reply to:

Draft