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
How to implement search in umbraco 10 using examine with multinode tree picker value as it store the path in instead of node name
Can someone help with any documentation or code snippet please
Thanks
This code help me to index the mutlinode tree picker for examine search
https://www.umbrajobs.com/blog/posts/2021/june/umbraco-9-examine-creating-a-custom-index/
only need to change
var updatedValues = e.ValueSet.Values.ToDictionary(x => x.Key, x => x.Value.ToList()); updatedValues.Add("YOURKEY",new List<object> { "YOURVALUE" }); e.SetValues(updatedValues.ToDictionary(x => x.Key, x => (IEnumerable<object>)x.Value));
also this link help
https://www.jondjones.com/learn-umbraco-cms/umbraco-9-tutorials/getting-started-with-umbraco-9/how-to-build-a-search-page-in-umbraco-v9/
and
https://codeshare.co.uk/blog/how-to-search-by-picked-multi-node-tree-picker-values-in-umbraco-v8/
I hope this help anyone
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to search by multi node tree picker values in Examine Umbraco v10
Hi
How to implement search in umbraco 10 using examine with multinode tree picker value as it store the path in instead of node name
Can someone help with any documentation or code snippet please
Thanks
Hi
This code help me to index the mutlinode tree picker for examine search
https://www.umbrajobs.com/blog/posts/2021/june/umbraco-9-examine-creating-a-custom-index/
only need to change
also this link help
https://www.jondjones.com/learn-umbraco-cms/umbraco-9-tutorials/getting-started-with-umbraco-9/how-to-build-a-search-page-in-umbraco-v9/
and
https://codeshare.co.uk/blog/how-to-search-by-picked-multi-node-tree-picker-values-in-umbraco-v8/
I hope this help anyone
is working on a reply...