How to display contact’s global activities in CMS Desk

   —   
This article will show you what you need to change in order to see contact’s global activities also in CMS Desk of a certain site.
Below are simple steps you need to follow in order to allow the activities to be displayed in CMS Desk. The change involves modifying a default system file, so please be aware of it when applying a hotfix or upgrade in the future. It could be overwritten back to defaults.
  1. Make sure the Allow global contacts and Automatically create global contact for user on multiple sites settings in Site Manager -> Settings -> Online Marketing section are set to true (on global level as well as for your web sites).
  2. The contacts from different sites have to be merged under one global contact.
  3. Find and open this file in your project folder: \CMSModules\ContactManagement\Pages\Tools\Contact\Tab_Activities.aspx.cs
  4. Find this line (approx. 41):
    • fltElem.ShowSiteFilter = this.IsSiteManager && isGlobal; and change it to  fltElem.ShowSiteFilter = isGlobal;
  5. Find this line (approx. 57):
    • listElem.ShowSiteNameColumn = this.IsSiteManager && isGlobal; and change it to listElem.ShowSiteNameColumn  = isGlobal;
  6. Save the changes.

Now, if you go to the Contact details –> Activities tab you will see the site selection drop-down list where you can select the global activities and see then for this particular contact also in CMS Desk without the need of accessing the Site Manager.
-jo-


See also: Online marketing guide

Applies to: Kentico CMS 6, Online marketing
Share this article on   LinkedIn

Juraj Ondrus

Hi, I am the Technical support leader at Kentico. I'm here to help you use Kentico and get as much as possible out of it.