Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
HI
I just want to give user a panel which have some category and user can filter search result on basis of this. Has anyone tried such stuff before.
Thanks Manish
Hi,
it is better to show your tree structure.
I supposed that you have category document type and service/product/article document type where category er referenced in it.
so code supposed to be like
var results = Model.Content.Ancestor(1).Desendents("your article page").Where(x=>x.GetPropertyValue<string>("Your Category")== "selected category from filter");
I just write the code directly in text so it may have spelling mistake.
Yasir
@yasir
Basically I want to use facet search. so is there any example which help me out. Many thanks for your answer
Manish
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How can i use filter result on basis of category
HI
I just want to give user a panel which have some category and user can filter search result on basis of this. Has anyone tried such stuff before.
Thanks Manish
Hi,
it is better to show your tree structure.
I supposed that you have category document type and service/product/article document type where category er referenced in it.
so code supposed to be like
I just write the code directly in text so it may have spelling mistake.
Yasir
@yasir
Basically I want to use facet search. so is there any example which help me out. Many thanks for your answer
Manish
is working on a reply...