Page History
...
Anchor | ||||
---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
- Open CardioLog-Analytics-2.0.XXX.XXX.exe
- Follow the Installation Wizard steps.
- Start CardioLog Scheduling Service and CardioLog Diagnostics Service
- Run the Run the IISReset command on the CardioLog application server and check the status to confirm that IIS stopped and restarted.
Note: If you are upgrading from versions lower than 2.0.3.0:
Upgrade your product to version 2.0.3.0 first.
Note: If you are upgrading from versions lower than 2.0.2.0:
Install the following components on the CardioLog server:
- Microsoft .NET Framework 3.5 Service Pack 1
- Microsoft Chart Controls for Microsoft .NET Framework 3.5
Microsoft provides these downloads here
For Windows Server 2008 x64 with IIS 7.0, make sure that the CardioLog application pool runs in 64-bit mode:
- Open IIS Manager go to Application Pools, and right-click CardioLogApplicationPool
- Select Advanced Settings from the contextual menu > Click Enable 32-bit Applications and select False
- Click OK > Right-click CardioLogApplicationPool again, and then select Recycle
- .
- Start CardioLog Scheduling Service and CardioLog Diagnostics Service
- Delete the following key from the CardioLogAgent\web.config, located under the <appSettings> section:
<add key="GetUserNameCustom" value=" function GetUsername() { __trace("GetUsername"); var currentUsername = __readCookie("_userid"); var currentUserId = __readCookie("spUserid"); if (typeof(_spPageContextInfo) != "undefined") { if (!currentUserId || currentUserId != _spPageContextInfo.userId) { currentUsername = null; __saveCookie("spUserid", _spPageContextInfo.userId, 1000, element.CookieDomain); } } var useridInput = this.document.getElementById("userid"); if (useridInput && useridInput.value != "") { currentUsername = useridInput.value; } else if (currentUsername == null || currentUsername == "") { if (typeof (getSPUserAccount) != "undefined") { currentUsername = getSPUserAccount(); } else { currentUsername = "Anonymous_"+Math.random()*100000; } } __saveCookie("_userid", currentUsername, 1000, element.CookieDomain); __trace("GetUsername return: "+currentUsername); return currentUsername; }"/>
- Edit the following key in the CardioLogAgent\web.config, located under the <appSettings> section:
<add key="UseSPAuth" value="true"/>
Anchor | ||||
---|---|---|---|---|
|
If you have customized the Tracking Agent code in your environment, which is often done if you use a custom search feature on your site, please contact us before upgrading your product.
For SharePoint Online, see how to update the tracking code for SharePoint Online.
SharePoint On-Premise
Update the Tracking Agent according to the method you chose to embed the Tracking Agent code in your SharePoint farm when you installed CardioLog:
Using the 'CardioLog Analytics' SharePoint Feature
- To automatically update the 'CardioLog Analytics' SharePoint Feature and Tracking Agent code open CardioLog Analytics > Administration > System Configuration > SharePoint Tree Adaptor > click on the SharePoint farm > Additional Actions > Click on Update Tracking Feature.
SharePoint Tree Adaptor Settings
- Select Farm > Click on Update.
This action will automatically retract and remove the 'CardioLog Analytics' solution from the farm, deploy the new solution, and update the tracking agent code located on the SharePoint WFE servers.
Note: The following permissions and roles are required for the CardioLog user account to update the 'CardioLog Analytics' solution - SharePoint farm administrator, a local administrator on the SharePoint application server and WFEs and "db_owner" on the SharePoint config database.
Update Tracking Agent Feature
Temporary downtime of SharePoint is required while updating the 'CardioLog Analytics' solution. In case you would like to update it manually:
- Update the Tracking Agent code on the SharePoint WFE servers:
In the navigation pane, go to Administration > System Configuration > SharePoint Tree Adaptor > click on the SharePoint farm > Additional Actions > Click on Update Tracking Feature and select Web Front End > Enter the WFE server names and click on Update.
Update Tracking Agent Code - Update the 'CardioLog Analytics' solution:
Execute the following commands from command prompt on the SharePoint application server in order to deactivate the feature, retract and remove the solution from your SharePoint farm (edit the directory path: 1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013):
- Update the Tracking Agent code on the SharePoint WFE servers:
- Go to [CardioLog Installation Folder]\CardioLog\Configuration\AgentFeature\
- Copy the solution file "cardiologtrackingagentfeature.wsp" to your SharePoint application server to C:\Program Files\Common Files\Microsoft Shared\
For SharePoint 2013 only:
For MOSS 2007 with "CardioLog Analytics" SharePoint Feature only:
- web server extensions\1X\BIN folder (1X - 12 for MOSS 2007, 14 for SharePoint 2010, 15 for SharePoint 2013)
Execute the following commands from command prompt in order to add and deploy the solution to the SharePoint farm (edit the directory path):
For SharePoint 2010 with "CardioLog Analytics" SharePoint Feature only:
Adding the JavaScript tracking code to SharePoint common JavaScript files or master pages
Replace the Java Script tracking code with the one found in your CardioLog application. In the navigation pane, go to Administration > System Configuration > Usage Tracking Code (select your SharePoint version).
By default, the JavaScript tracking code is embedded within a common JavaScript file on all of your SharePoint WFEs (Web Front Ends), which typically is one of the following locations relevant to your software versions:
For MOSS 2007 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\
12\TEMPLATE\LAYOUTS\
CardioLogAgent1033\
CardioLogAgentcore.js
For SharePoint
2010 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\
1033\
CardioLogAgentinit.js
For SharePoint 2013 only:
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS\
init.js
The tracking code is located at the end of the file, between these comments: "//Intlock tracking code start" and "//Intlock tracking code end"
Replace the Java Script tracking code with the one found in your CardioLog application or SharePoint Marketing Suite. In the navigation pane, go to Administration > System Configuration > Usage Tracking Code (select your SharePoint version).
For the CardioLog Analytics SharePoint Feature only:
Edit the Java Script tracking code - replace all the occurrences of http://[server name]:[port]/ (This will be the name of your CardioLog server name and port number) with /_layouts/.
If you have tracking agent files that reside on your SharePoint WFEs (Usually located under "_layouts" if you use the CardioLog Analytics SharePoint Feature), update the CardioLog tracking agent files:
- Create a backup of the CardioLogAgent directory, located on all of your SharePoint WFEs, by saving the directory to a separate folder or disk.
- Copy all installation files from [CardioLog Installation Directory]\CardioLogAgent to the existing CardioLogAgent directory, except the web.config file and custom files. If you have customized the Tracking Agent code in your environment, which is often done to enable custom search, please contact us before replacing the files.
- Edit the following keys in the CardioLogAgent\web.config file, located under the <appSettings> section -
<add key="CardioLogAgentRoot" value="/_layouts"/>
<add key="version" value="2.0.8.3"/>
- Add the following keys to the CardioLogAgent\web.config file, located under the <appSettings> section -
<add key="UseSPAuth" value="false"/>
<add key="FixClaimsUserAccountRegex" value="^(.*[|])(.*)$"/>
SharePoint Online
- Browse to your SharePoint Online site Solution Gallery (edit the website root URL): [https://intlock.sharepoint.com]/_catalogs/solutions/forms/allitems.aspx
- Deactivate the CardioLog Analytics Integration solution and then delete it.
- Click Upload Solution > Choose File > select [CardioLog Installation Folder]\CardioLog\Configuration\AgentFeature\Online\CardioLog Analytics Integration.wsp > Activate
- Browse to CardioLog Analytics Integration solution configuration page (edit the website root URL): [https://intlock.sharepoint.com]/CardioLogAnalytics/Configuration.2.0.8.0.aspx
- Copy the tracking code from Administration > System Configuration > Usage Tracking Code > SharePoint Online.
- Edit the tracking code and verify that the all URLs contained in the tracking code that redirect to the CardioLog application server, have the public DNS name and appropriate protocol. The URLs should be accessible over the internet. Use https if you are tracking secured SharePoint Online site collections and http for public websites.
- Add the JavaScript tracking code and click OK.
- You can update the tracking code on all monitored site collections via Administration > System Configuration > SharePoint Tree Adaptor > SharePoint Online > click on Publich tracking code