I am trying to index rendered content. I am using the following plugin.
It works with a global data source, however, it does not index rendered content if the data source is local (local:/Data/Rich Text
). I traced down the piece of code that is failing. When Sitecore retrieves the Item's renderings via the Visualization.GetRenderings
it returns an empty string in the DataSource
property of the result.
Is this a known issue? Also, am I doing this right? Meaning is there a better way to index data connected to a page via a rendering data source?
Some more context:
When I step through the code I can see the DataSource is an empty string:
However, I do see the data source on the item:
Here it is coming through with the id when I use a direct link: