Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

How to use IContentIndexerConventions.ShouldIndexInContentAreaConvention to index content of ContentAreaItem

$
0
0

Hi,

I have a requirement to allow content of ContentAreaItem item to be indexed with page content in SearchText and of course, I can’t use [IndexInContentarea] attribute due to some restrictions on referencing.

So, is it possible to do that with the help of IContentIndexerConventions.ShouldIndexInContentAreaConvention

If it is, then how? I tried to find a code sample, but total waste of time. Can anyone help me with how to use this (ShouldIndexInContentAreaConvention) to allow a Block (say CopyBlock) to get it's content indexed.


Viewing all articles
Browse latest Browse all 9076

Trending Articles