You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The "CardioLog Usage Reports" SharePoint Feature enables you to view usage reports from within your SharePoint website, via the "Site Actions" menu. For more information see "View CardioLog Analytics Reports from SharePoint's "Site Actions" Menu".


  
Submit queries directly from website pages with the "CardioLog Usage Reports" SharePoint feature 

In order to install the "CardioLog Usage Reports" SharePoint Feature, perform the following steps:

  1. Go to [CardioLog Installation Folder]\CardioLog\Setup Files\wsp. The following solutions are available:

    NameSolution ScopeFeature ScopeAuto Activated
    CardioLog-Usage-Reports-SharePoint-Feature-Global-FarmActivationFarmFarmYes
    CardioLog-Usage-Reports-SharePoint-Feature-Global-SiteCollectionActivationFarmSite CollectionNo
    CardioLog-Usage-Reports-SharePoint-Feature-SpecificWebAppDeploymentWeb ApplicationSite CollectionNo
    CardioLog-Usage-Reports-SharePoint-Feature-FullControlOnlyFarmSite CollectionNo

    Note: The "Site Statistics" option will be added to the Site Actions menu and visible to everyone with read permissions to the SharePoint site. When installing the "CardioLog-Usage-Reports-SharePoint-Feature-FullControlOnly" solution, the "Site Statistics" option will be visible only to users with full control permissions to the SharePoint site.

  2. Drop the desired "CardioLogUsageReportsSolution.wsp" solution file to your SharePoint application server at C:\Program Files\Common Files\Microsoft Shared\web server extensions\1X\BIN\ (1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013)
  3. Execute the following commands from command prompt in order to add and deploy the solution to the SharePoint farm. Edit the BIN directory path: C:\Program Files\Common Files\Microsoft Shared\web server extensions\1X\BIN (1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013):

    cd c:\program files\common files\microsoft shared\web server extensions\1X\BIN

    stsadm -o addsolution -filename CardioLogUsageReportsSolution.wsp         

    stsadm -o deploysolution -name CardioLogUsageReportsSolution.wsp -immediate

  4. If you have selected a solution which is not auto activated, activate the "CardioLog Usage Reports" feature for the Site Collection of your choice:
    Go to Site Actions > Site Settings > Site Collection Administration > Site collection features > Activate the "CardioLog Usage Reports" feature.
  5. Add the following JavaScript function to the file containing the CardioLog agent tracking code on all SharePoint WFEs (edit the CardioLog server name and port).

    By default, the Java Script tracking code is embedded within a common Java Script file on your SharePoint WFEs -

    For MOSS 2007 only:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\1033\core.js

    For SharePoint 2010 only:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\1033\init.js

    For SharePoint 2013 only:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\init.js

    For MOSS 2007 with "CardioLog Analytics" SharePoint Feature only
    :
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\CardioLogAgent\CardioLogAgent.js

    For SharePoint 2010 with "CardioLog Analytics" SharePoint Feature only:
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\CardioLogAgent\CardioLogAgent.js

    For SharePoint 2013 with "CardioLog Analytics" SharePoint Feature only:

    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\CardioLogAgent\CardioLogAgent.js
     

    The code is located at the end of the file, between these comments: "//Intlock tracking code start", "//Intlock tracking code end". Add the following function to it:

    //Intlock Site Statistics Feature  - START

    function getStatistics() {

         window.open("http://CardioLogServer:port/CardioLog/reports.aspx?url="+document.location.href);

    }
    //Intlock Site Statistics Feature  - END

  6. Perform IISRESET on all SharePoint WFE's.
     

To inherit SharePoint permissions and allow access to the generated report URL based on the logged on user permissions in SharePoint (available with the "CardioLog Analytics" SharePoint Feature only), perform the following steps:

  1. Use the following JavaScript function instead:

    //Intlock Site Statistics Feature  - START

    function getStatistics() {

          window.open("/_layouts/CardioLogAgent/ReportDispatcher.aspx?url=" + encodeURIComponent(document.location.href));

    }

    //Intlock Site Statistics Feature  - END

  2. Edit the following file on all SharePoint WFEs: C:\Program Files\Common Files\Microsoft Shared\web server extensions\1X\TEMPLATE\LAYOUTS\CardioLogAgent\web.config (1X - 12 for MOSS 2007, 14 for SharePoint 2010/SharePoint 2013)
    • <add key="EnableSpSecurity" value="true" /> Mandatory - value should be true or false. To enable SharePoint permissions inheritance value should be true.
    • <add key="SpSecurityClaimsAuthentication" value="" /> Optional - value should be true or false. When using claims based authentication in SharePoint value should be true.
    • <add key="SpSecurityPermissionLevel" value="" /> - Optional - value should be a SharePoint permissions level. If none selected, "Full Control" will be used and only users with full control access to the SharePoint site will have access to the report.

      The following permission levels are available:

      SharePoint 2007 and SharePoint 2010 - "Full Control", "Design", "Contribute", "Read", "Limited Access"
      SharePoint 2013 - "View Only", "Edit", "Approve", "Manage Hierarchy", "Restricted Read", "Restricted Interfaces for Translation"
    • <add key="SpSecurityCheckWebAppPolicies" value="" /> - Optional - value should be true or false. Enable this only if permissions are given from central admin through policy and not directly from the site.
  3. Edit the following file on the CardioLog application server: [CardioLog Installation Folder]\CardioLog\web.config
    • <add key="EnableSpSecurity " value="true" /> Mandatory - value should be true or false. To enable SharePoint permissions inheritance value should be true.

       

Note: If you would like to uninstall the Site Statistics feature, please deactivate it first on every site collection.

  • No labels