none
SharePoint Online - Mutiple Content Search in the same page issue RRS feed

  • Question

  • Hello,

    I have a problem using multiple Content Search web parts in a single page in SharePoint Online. At the beginning I had just one Content Search with the following settings. The query worked correctly and It returned 20 elements.

    Settings

    Query results provided by
    <select id="ctl00_MSOTlPn_EditorZone_Edit0g_56ffa0b3_b7ca_4d36_bb24_23fcb85e6b97_CBSToolPartQueryGroupDropDown" name="ctl00$MSOTlPn_EditorZone$Edit0g_56ffa0b3_b7ca_4d36_bb24_23fcb85e6b97$CBSToolPartQueryGroupDropDown" style="font:inherit;color:#65686b;vertical-align:middle;border:1px solid rgb(217, 217, 217);background-color:#ffffff;box-sizing:border-box;margin:0px;text-transform:none;width:258.4px;" title="To use results from another Web Part, select the other Web Part in the list.">  <option selected="selected" style="font-family:inherit;font-size:inherit;color:#65686b;vertical-align:middle;box-sizing:border-box;border-color:#d9d9d9;background-color:#ffffff;" value="f9fbd799-3ad4-49ad-8b6c-1c6e625c5f79">This Web Part (Content Search ‭[1]‬)</option>  <option style="font-family:inherit;font-size:inherit;color:#65686b;vertical-align:middle;box-sizing:border-box;border-color:#d9d9d9;background-color:#ffffff;" value="61b7498c-1051-4182-9263-687a224e11a0">Content Search ‭[2]‬</option>  <option style="font-family:inherit;font-size:inherit;color:#65686b;vertical-align:middle;box-sizing:border-box;border-color:#d9d9d9;background-color:#ffffff;" value="Default">Ricerca contenuto - Default</option>  </select>

    Result Table
    <select id="ctl00_MSOTlPn_EditorZone_Edit0g_56ffa0b3_b7ca_4d36_bb24_23fcb85e6b97_CBSToolPartResultTableDropDown" name="ctl00$MSOTlPn_EditorZone$Edit0g_56ffa0b3_b7ca_4d36_bb24_23fcb85e6b97$CBSToolPartResultTableDropDown" style="font:inherit;color:#65686b;vertical-align:middle;border:1px solid rgb(217, 217, 217);background-color:#ffffff;box-sizing:border-box;margin:0px;text-transform:none;width:258.4px;" title="To use a non-default results table, pick a table in the list or type the table's name.">  <option style="font-family:inherit;font-size:inherit;color:#65686b;vertical-align:middle;box-sizing:border-box;border-color:#d9d9d9;background-color:#ffffff;" value="PersonalFavoriteResults">PersonalFavoriteResults</option>  <option style="font-family:inherit;font-size:inherit;color:#65686b;vertical-align:middle;box-sizing:border-box;border-color:#d9d9d9;background-color:#ffffff;" value="RefinementResults">RefinementResults</option>  <option selected="selected" style="font-family:inherit;font-size:inherit;color:#65686b;vertical-align:middle;box-sizing:border-box;border-color:#d9d9d9;background-color:#ffffff;" value="RelevantResults">RelevantResults</option>  <option style="font-family:inherit;font-size:inherit;color:#65686b;vertical-align:middle;box-sizing:border-box;border-color:#d9d9d9;background-color:#ffffff;" value="SpecialTermResults">SpecialTermResults</option>  </select>

    Start displaying results from result number
    <input id="ctl00_MSOTlPn_EditorZone_Edit0g_56ffa0b3_b7ca_4d36_bb24_23fcb85e6b97_CBSToolPartStartingItemIndexTextBox" name="ctl00$MSOTlPn_EditorZone$Edit0g_56ffa0b3_b7ca_4d36_bb24_23fcb85e6b97$CBSToolPartStartingItemIndexTextBox" style="font:inherit;color:inherit;vertical-align:middle;box-sizing:border-box;border:1px solid rgb(146, 192, 224);background-color:rgba(255, 255, 255, 0.85);padding:2px 5px;margin:0px;width:258.4px;" title="Start the display with the first result, or choose any other result up to number 50." type="text" value="1" />

    Query Settings

    Query Rules:

    Use query rules from Site Settings for this web part.
    <input checked="checked" id="ctl00_PlaceHolderMain_queryRuleUse" name="ctl00$PlaceHolderMain$QueryRule" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="queryRuleUse" /><label for="ctl00_PlaceHolderMain_queryRuleUse" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">Use Query Rules</label> 
    <input id="ctl00_PlaceHolderMain_queryRuleNotUse" name="ctl00$PlaceHolderMain$QueryRule" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="queryRuleNotUse" /><label for="ctl00_PlaceHolderMain_queryRuleNotUse" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">Don't use Query Rules</label>

    URL Rewriting

    If the query is returning items from a catalog, choose whether to use that catalog's URL settings
    <input id="ctl00_PlaceHolderMain_enableUrlRewrite" name="ctl00$PlaceHolderMain$UrlRewrite" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="enableUrlRewrite" /><label for="ctl00_PlaceHolderMain_enableUrlRewrite" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">Use URL settings from catalog</label> 
    <input id="ctl00_PlaceHolderMain_disableUrlRewrite" name="ctl00$PlaceHolderMain$UrlRewrite" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="disableUrlRewrite" /><label for="ctl00_PlaceHolderMain_disableUrlRewrite" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">Don't rewrite URLs</label>

    Priority

    Choose the importance of this web part's query. We'll run queries according to their relative priorities when the search service is overloaded.
    <input id="ctl00_PlaceHolderMain_throttlehigh" name="ctl00$PlaceHolderMain$Throtteling" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="throttlehigh" /><label for="ctl00_PlaceHolderMain_throttlehigh" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">High</label> 
    <input id="ctl00_PlaceHolderMain_throttleregular" name="ctl00$PlaceHolderMain$Throtteling" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="throttleregular" /><label for="ctl00_PlaceHolderMain_throttleregular" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">Regular</label> 
    <input id="ctl00_PlaceHolderMain_throttlelow" name="ctl00$PlaceHolderMain$Throtteling" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="throttlelow" /><label for="ctl00_PlaceHolderMain_throttlelow" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">Low</label>

    Caching

    Select a user group to reduce page load time. Search results will be cached for all users in the group and will only contain items that are available to everyone in that group.

    <input id="ctl00_PlaceHolderMain_RestrictToGroupsNone" name="ctl00$PlaceHolderMain$RestrictToGroups" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="RestrictToGroupsNone" /><label for="ctl00_PlaceHolderMain_RestrictToGroupsNone" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">No caching</label> 
    <input id="ctl00_PlaceHolderMain_RestrictToGroupsEveryone" name="ctl00$PlaceHolderMain$RestrictToGroups" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="RestrictToGroupsEveryone" /><label for="ctl00_PlaceHolderMain_RestrictToGroupsEveryone" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">Group: Everyone except external users</label> 
    <input id="ctl00_PlaceHolderMain_RestrictToGroupsCustom" name="ctl00$PlaceHolderMain$RestrictToGroups" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;" type="radio" value="RestrictToGroupsCustom" /><label for="ctl00_PlaceHolderMain_RestrictToGroupsCustom" style="color:#777777;font-family:"segoe ui":;,segoe,tahoma,helvetica,arial,sans-serif:;font-size:11.73px;vertical-align:middle;">Group:</label>

    Enter a name or email address...

    ProblemAfter I insert another Content Search with a zone index lower that the previous web part, the previous Content Search stated to return (in a total random way) 20 elements or 0 elements.



    <input aria-required="true" autocapitalize="off" autocomplete="off" autocorrect="off" class="sp-peoplepicker-editorInput" data-sp-peoplepickereditor="true" id="ctl00_PlaceHolderMain_RestrictToGroupsPickerDiv_TopSpan_EditorInput" size="1" style="font-family:inherit;font-size:inherit;color:#444444;vertical-align:inherit;border:0px;background-color:transparent;padding:0px 1px;margin-left:5px;" title="Enter a name or email address..." type="text" value="" />

    Wednesday, July 24, 2019 12:54 PM