Note that there are some explanatory texts on larger screens.

plurals
  1. POSharepoint 2010 - Pass "u" parameter to advanced search
    primarykey
    data
    text
    <p>The scenario - I am building a site to house a number of reports - thirty or so subsites under a main web for different report categories, and several libraries in each site, one for each separate report. In total, about 600 reports (libraries) across the thirty report categories (sites). This design has been decided on, and cannot change.</p> <p>I plan/want to have a single advanced search page to search all the reports, using various custom metadata columns. That bit's easy, I can do that out of the box.</p> <p>One of the most important search criteria is which report on which to search, of which, as I mentioned, there are many. The dictate is to make the report type added "invisibly" - they will select the report category, then the report type, and THEN get presented with the search page. The search should "know" which report is being searched on.</p> <p>Scope selection is not a viable option, as there's too many libraries, and more will be added as new reports are created.</p> <p>Now, I can get the results I want in the results if I add the "u" parameter to the URL as in; </p> <pre><code>results.aspx?k="RunDate=1/23/13"&amp;U=http://site/report_type/library" </code></pre> <p>(address left unescaped for clarity)</p> <p>My challenge is finding a way to feed that parameter TO the advanced search, and get it to tack it on to the end of its generated query.</p> <p>I'm confident it can be done with only a little fidgeting to the webpart, but I need a bit of a shove in the right direction.</p> <p>Or, as always, if y'all have a more brillianter idea, I could do that.</p> <p>Now, I have a second issue where the different reports have their own varying set of metadata columns, and they only want the RIGHT ones to show up for each report, but one crisis at a time.</p> <p>EDIT - upon further research, it seems I can't extend the advanced search webpart, as it's a sealed type. Has anyone either a way around that, or have a third-party advanced search page that I CAN crack into?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload