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.
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).
The contacts from different sites have to be merged under one global contact.
Find and open this file in your project folder: \CMSModules\ContactManagement\Pages\Tools\Contact\Tab_Activities.aspx.cs
Find this line (approx. 41):
fltElem.ShowSiteFilter = this.IsSiteManager && isGlobal; and change it to fltElem.ShowSiteFilter = isGlobal;
Find this line (approx. 57):
listElem.ShowSiteNameColumn = this.IsSiteManager && isGlobal; and change it to listElem.ShowSiteNameColumn = isGlobal;
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.
See also: Online marketing guideApplies to:
Kentico CMS 6, Online marketing