Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

webpart zone has "noindex" class by default

$
0
0

Hello,

  •   I have a page layout . and I add a web part zone in it .
  •   I create a custom web-part that read from List . And added on the page .
  •  I configure search successfully.
  •  When I search for a word  in the list , The result search don't display the link of the page that has a web part.
  • I notice in the rending the web part zone has a class "noIndex" by default

       <div webpartid="ddc2a055-278d-4cb3-a573-632aedfd2ba3" haspers="false" id="WebPartctl00_ctl35_g_ddc2a055_278d_4cb3_a573_632aedfd2ba3" width="100%" class="ms-WPBodynoindex " allowdelete="false" allowexport="false" style=""><div id="ctl00_ctl35_g_ddc2a055_278d_4cb3_a573_632aedfd2ba3">

 I  think the search cannot search inside this web part because this class , How Can I remove it ?

  Thanks


ASk


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>