Category: SharePoint 2013

Popularity trends in Sharepoint 2013


Popularity Trends

1.Popularity Trends report for a farm

In the cental admin, click on search service application

pic1

In Diagnostics, click on « Usage Reports ».

pic1

  • There are 2 sections:
    1. Usage reports
    2. Search reports

pic1

 

Report Type Description
Number of Queries This report shows the number of search queries performed. Use this report to identify search query volume trends and to determine times of high and low search activity.

 

Table 1 Usage Reports

Report Type Description
Top Queries by Day This report shows the most popular search queries. Use this report to understand what types of information visitors are seeking.
Top Queries by Month This report shows the most popular search queries. Use this report to understand what types of information visitors are seeking.
Abandoned Queries by Day This report shows popular search queries that received low click-through. Use this report to identify search queries that might create user dissatisfaction and to improve the discoverability of content. Then, consider using query rules to improve the query’s results.
Abandoned Queries by Month This report shows popular search queries that received low click-through. Use this report to identify search queries that might create user dissatisfaction and to improve the discoverability of content. Then, consider using query rules to improve the query’s results.
No Result Queries by Day This report shows popular search queries that returned no results. Use this report to identify search queries that might create user dissatisfaction and to improve the discoverability of content. Then, consider using query rules to improve the query’s results.
No Result Queries by Month This report shows popular search queries that returned no results. Use this report to identify search queries that might create user dissatisfaction and to improve the discoverability of content. Then, consider using query rules to improve the query’s results.
Query Rule Usage by Day This report shows how often query rules fire, how many dictionary terms they use, and how often users click their promoted results. Use this report to see how useful your query rules and promoted results are to users.
Query Rule Usage by Month This report shows how often query rules fire, how many dictionary terms they use, and how often users click their promoted results. Use this report to see how useful your query rules and promoted results are to users.

Table 2 Search reports

2.Popularity Trends report for a site collection

On the site collection level click on « Popularity and Search Reports »

pic1

10 rapports are available, 9 of them have been described earlier + a usage report. .

pic1

3.         Popularity Trends report for a site

Click on « Site settings ».

In the category « Site Administration”, click on « Popularity Trends »

pic1

There is just one option which is « Usage » containing the nombre of hits and the number of users of the site.

pic1

4.         Popularity Trends report for a page

On an sp page, click on Popularity Trends. In the ribbon

pic1

 

Advertisements

How to Overlay calendars in SharePoint 2013


Hi

to overlay calendars and create a global one, you need to follow these simple steps:

  • In Calendar List, go to the Calendar tab and click Calendars Overlay to open the Settings for Calendar Overlay:0005
  • In Calendar Overlay Settings, click New Calendar to add a new Calendar

0004

  • To setup your new calendar, begin by selecting a name for the Task List or other Calendar List for the new calendar. Next, you will need to input some information about your new calendar. This includes the color which you would like assigned to the item in calendar view; the Web URL for your list, and the list type.

0003

  • Follow the above steps to create multiple calendars for your Calendar Overlay. Please note that SharePoint allows a maximum of 10 calendars per view in Calendar Overlay.

0002

  • Show data from many Lists in a Calendar View of a Calendar List:
    • After you have added all your calendars into the Calendar Overlay, you can view all of the data from the calendar overlay in a single calendar view:

0001

SharePoint 2013 Search, the alternative of scopes


Hello

There are no scopes in SP 2013 ( we now have “Result sources” instead),  so no more search scope dropdown  !!!! 😦

image_thumb24

but don’t worry, there is a way to have them back.

1) to test this out please create a basic search center

01

 

2) go to the result page by writing test for exemple and then hitting search and then edit the page

02

 

3) Edit the “Search Results” web part and click change query

03

 

4)Edit the query to match your scope.

04

5)For example, we added a “Path” variable to only search in this site

05

 

This page will be your new drop down menu selection. The above image shows a search that will only return items that match what is typed in the Search Box + sp2013-dev:14455/* in their URL.
6) Edit the page, and edit your search box web part, then Select “Turn on drop-down” and “Use this site’s Search Settings” in the web part menu, and hit apply.

06

 

7) Next, click on “Search Settings” to edit your sites search settings
07

8)Ensure the drop-down and use parent settings are applied, and then add a new link.

08

9)Fill out the title and URL (the URL is the link to your Search Result page), and click OK.

09

 

i added another link named active documents

10) Save your new Search Settings, and test out Search 2013 with the familiar drop-down menu

10

 

Like and Rating functionality in SharePoint 2013 Pages


Hello 🙂

SharePoint 2013 includes Like and Rating functionality out of the box. Just navigate to List/Library Settings -> Rating settings and set it up. It is that easy :-) .

Library Settings

However, you can only like/unlike or rate a item/page in the “All Items” view of the list/library. So, If you want to show this flashy “Like” functionality to your users on different publishing pages of your site, there is no out of the box way to do it.

How to set up a product-centric website in SharePoint Server 2013


Hello

today i am rebloging an excellent post that i found on the internet. it is called

How to set up a product-centric website in SharePoint Server 2013

it shows you how you can use SharePoint Server 2013 to set up a website that is based on product catalog data. and then the author shows you how to use the cross-site publishing feature, and how you can use SharePoint search features to influence how product data is displayed to visitors on a site

http://blogs.technet.com/b/tothesharepoint/archive/2013/02/14/how-to-set-up-a-product-centric-web-site-in-sharepoint-2013.aspx

it is a complete and very helful post

Enjoy.

SharePoint 2010 – 2013 PreUpgradeCheck


Hello

For those of you who migrated projects from 2007 to 2010, you must admit that “stsadm.exe -o preupgradecheck” is awesome !!!

For those who don’t know what i am talking about, “stsadm.exe -o preupgradecheck” gives you information about possible issues upgrading your 2007 farm to 2010.

And now that i am starting to upgrade to SharePoint 2013, I have noticed ( to my horor) that the pre-upgrade feature is missing from SharePoint 2010 😦 .

Surfing the net i found a fairly basic PowerShell script that can give you some of the same information the old “preupgradecheck” option gave you. Information like what your farm’s build number is, what templates you have and what web uses which template, database sizes, solutions installed in the farm, etc.

If you felt like it you would be able to get most of this information by digging around in Central Administration, SQL Management studio,  the SharePoint settings pages, or SharePoint designer, but this script may save you a little time. The script won’t tell you anything specific about the problems you may have upgrading to 2013, it just gives you all the information in one place to use as a reference. I hope you find it to useful.

No Warranty Expressed or Implied. Use with caution (that applies to all PowerShell written by some random person on the internet).

 

#Copy this text into a text document and save it as InfoScript.ps1
#Please login to your SharePoint server using an account that has permissions to run PowerShell Commands.
 # Place the file InfoScript.ps1 into a directory on the server that hosts SharePoint Central Administration.
 # Open the SharePoint 2010 Management Shell and type:
 # c:\[directory where you placed the script]\InfoScript2010.ps1 | Out-File -width 200 c:\InfoOutput.txt
 # The "Out-File -width 200" part of the command is to make the output wider to fit more information on each line
 # Once the script has completed, please forward the InfoOutput.txt file to your Rackspace contact via email.
 #|
 #
add-pssnapin microsoft.sharepoint.powershell -ea 0
$scriptuser = whoami
 write-output "InfoScript was run under account name","------------------------------------", $scriptuser
write-output "Servers in farm, their upgrade status and version number (version is just for comparison)"
 # Added bit to weed out SQL and email servers
 Get-SPServer | Where-Object { $_.role -ne "invalid" } | Select Name, Role, NeedsUpgrade, Version | out-string -width 200
 write-output ""
 write-output "--------------------------------------------------------------------------------------------------------"
 write-output "Web Apps in Farm and if they are using claims auth or not"
Get-SPWebApplication |select DisplayName, URL, @{Label = "Claims Enabled?"; Expression = {$_.UseClaimsAuthentication}} |out-string -width 200
write-output "SharePoint Farm Build number"
 Get-SPFarm | Select BuildVersion | out-string -width 200
write-output ""
 write-output "--------------------------------------------------------------------------------------------------------"
 write-output "Solutions in Farm"
 Get-SPSolution | select Displayname, deployed, DeployedWebApplications | out-string -width 200
write-output ""
 write-output "--------------------------------------------------------------------------------------------------------"
 write-output "Site Collections by DB"
 Get-SPContentDatabase | %{Write-Output "`nDatabase: $($_.Name)"; ForEach($site in $_.sites){write-Output ("`t " + $site.url)}}| out-string -width 200
write-output ""
 write-output "--------------------------------------------------------------------------------------------------------"
 write-output "Database sizes"
 Get-SPDatabase |Sort Name| select Name, @{Label = "DB Size in MB"; Expression = {"{0:N2} MB" -f ($_.DiskSizeRequired/1048576)}}, Type, Id | out-string -width 200
write-output ""
 write-output "--------------------------------------------------------------------------------------------------------"
 write-output "SiteCollection size estimates (very rough)"
 Get-SPSite | Select URL, @{Label="Storage"; Expression={"{0:N2} MB" -f ($_.Usage.Storage/1048576)}} | out-string -width 200
write-output ""
 write-output "--------------------------------------------------------------------------------------------------------"
 write-output "AAM Info"
 Get-SPAlternateURL
 write-output ""
 write-output "--------------------------------------------------------------------------------------------------------"
 write-output "Features in Farm"
 Get-SPFeature -Limit all | out-string -width 200
write-output ""
 write-output "--------------------------------------------------------------------------------------------------------"
 write-output "Templates in Farm"
Get-SPWebTemplate | out-string -width 200
 write-output ""
 write-output "--------------------------------------------------------------------------------------------------------"
 write-output "Template USED in farm by web" " "
Write-Host -foregroundcolor yellow "The final step in this script will list every web (site or subsite)
 in your farm along with the template used by that web.
If you have a large number of sites it might take some time to complete and use a lot of resources.
All the other information collected by this script has already been placed in a file,

 so if you answer no, only this step will be skipped."
$continue = Read-Host "Would you like to continue? (Y/N)"
 if($continue -eq "Y")
 {
 get-spsite -limit all | get-spweb -limit all |select URL, @{Label = "Template"; Expression = { $_.WebTemplate}}, @{Label = "TemplateID"; Expression = { $_.WebTemplateID}} | out-string -width 200
 }
 

 

 

Error: Controltemplate not found in ~/_controltemplates/


Error: Controltemplate not found in ~/_controltemplates/<name_of_usercontrol.ascx>:  frustrating error !!!

When creating a SharePoint Control with a ControlSrc pointing to a user control, you might get an error in the ULS log saying that the control cannot be found in ~/_controltemplates/<name_of_usercontrol.ascx although the file exists in the correct directory. This happens when using SharePoint 2013 and forget to add the correct SharePoint version to the path. In our case this should be

~/_controltemplates/15/<name_of_usercontrol.ascx

there u go !! problem solved ! u’re welcome 😉