SharePoint Products TechCenter > SharePoint Products and Technologies Forums > SharePoint - Search > Can someone give me an example of AppQueryTerms in the SearchBoxEx control?
Ask a questionAsk a question
 

QuestionCan someone give me an example of AppQueryTerms in the SearchBoxEx control?

  • Tuesday, November 03, 2009 9:34 PMmcmcom Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    i have a search box control that i dont want to show the scope drop down list in.  I would ideally like to limit the scope to the current sites url only.  Problem is this is going to be a template and we can't put in custom code so i was hoping that someone could provide me an example that could limit the scope to the current site.

    Basically we will have sites like
    mysite/issue01
    mysite/issue02.

    i was hoping there would be something similar to an asp.net server tag that would get the current site url (somethign like <% Sharepoint:SiteUrl %>) or something that would be able to work as new issues are forked off the template.

    thanks in advance,
    mcm

    mcm