Wednesday, September 25, 2013

SharePoint search returns ALL results from web application

Solution: To limit the search result to a certain scope, edit the search results page and on the Search Core Results web part -> 'Modify Shared Web Part', under Miscellaneous -> put in the name of the scope.

Wednesday, June 26, 2013

User seeing all folders, subfolders and files on allitems.aspx

Problem: One user is seeing all folders, subfolders and files (all flattened out) on the all documents view (public view).

Solution:  Go to 'Tools' -> 'Internet Options', and delete all the temporary files.  Might have to do it manually by going to 'Settings' under browsing history and click on 'view files'.

Tuesday, April 30, 2013

Using webpart in masterpage generates error on subsites

Using a dataview webpart in a masterpage created the following error on subsequent subsites:
“Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Windows SharePoint Services-compatible HTML editor such as Microsoft Office SharePoint Designer. If the problem persists, contact your Web server administrator.”
Reason:  Subsite doesn't have that list specified on the webpart and doesn't know to look at the root.

Resolution: Add the following parameter (in green) in the <SelectParameters> section:

   <SelectParameters>
        <asp:Parameter Name="ListName" DefaultValue="Tasks" />
        <asp:Parameter Name="WebID" DefaultValue="RootWeb" />    </SelectParameters>