I have use sitefinity search in Sitefinity 6.3 Problem is that on the search result the items coming from dynamicmodule doesn't have links. that is the dynamicmodule related items doesn't have href on it while other are showing fine
<dt class="sfsearchResultTitle"><a id="cphContent_ctl01_ctl00_ctl00_resultsList_A1_1">my item data in dynamic module</a></dt>
Please let me know what to do with it?
In the Documentation it is mentioned that
Configure search index settings for dynamic modules If you are searching in dynamic module items or custom fields created for any module, you must set the fields where you want the system to search. You do this by expanding Advanced and entering the fields where to search, separated by commas. For example, if you want to search your dynamic content types by Definition, enter Definition.
But it is not clear.
what i check that my fields are mentioned in search fields list by checking settings -> advanced ->dynamic modules -> controls - >mydynamic module -> Views -> mydynamicmoduleBackendList ->SearchFields
My fields are mentioned there automatically
My user control for search has markup as
<asp:Repeater ID="resultsList" runat="server">
<HeaderTemplate>
<dl class="sfsearchResultsWrp sfsearchReultTitleSnippetUrl">
</HeaderTemplate>
<ItemTemplate>
<div class="search-result">
<div class="inner">
<div class="font22 bold result-title">
<dt class="sfsearchResultTitle"><a id="A1" runat="server" href='<%# Eval("Link")%>'><%# Eval("Title") %></a></dt>
</div>
<div class="font13">
<br>
<dd class="sfsearchResultUrl"><a id="A2" runat="server" href='<%# Eval("Link")%>'><%# Eval("Link")%></a></dd>
</div>
</div>
</div>
</ItemTemplate>
<FooterTemplate>
</dl>
</FooterTemplate>
</asp:Repeater>
Please let me know what is wrong
P.S. in http://www.sitefinity.com/developer-network/forums/bugs-issues-/search-functionality somebody also faced this empty url problem but no answer there