Slide 1

Slide 1 text

© 2014 IBM Corporation SHOW301: Make Your IBM® Connections Deployment Your Own: Customize It! Klaus Bild, Belsoft AG Wannes Rams, GFI

Slide 2

Slide 2 text

This presentation mentions the following Copyrights and Trademarks §  IBM® Connections §  IBM Cognos® §  IBM® Lotus® Connections 3.0 §  IBM® Domino® §  IBM® Sametime® §  IBM® Tivoli® §  IBM® WebSphere® 2 §  Android™ §  BlackBerry® §  CKEditor™ §  Firefox® §  Google Maps™ §  Microsoft® Windows® §  Microsoft® Windows Server® 2008 R2 §  OASIS® §  LinkedIn® §  Twitter® §  Wordpress®

Slide 3

Slide 3 text

Introduction About Klaus Bild 3 kbild.ch twitter.com/kbild linkedin.com/in/kbild ® ®

Slide 4

Slide 4 text

Introduction About Wannes Rams 4 wannes.rams.be twitter.com/wannesrams linkedin.com/in/wannesrams

Slide 5

Slide 5 text

Introduction And what do Klaus and Wannes have in common? 5

Slide 6

Slide 6 text

Introduction Goal Show you live what can be customized and give you a starting point for your own customizations 6

Slide 7

Slide 7 text

Agenda – First Part §  Introduction §  User Interface §  Login Page §  Notifications §  Getting Started Page §  Communities §  Wikis §  Profiles §  Richtext Editor 7

Slide 8

Slide 8 text

Agenda – Second Part (if time will allow it) §  Media Gallery Object Types §  Mobile App §  Reports §  Desktop Plugin §  IBM Connections Content Manager 8

Slide 9

Slide 9 text

Introduction So, who are you? 9

Slide 10

Slide 10 text

Introduction Our environment §  Microsoft Windows Server 2008 R2 §  IBM Connections 4.5 CR3 (IBM Domino LDAP, single box installation) §  CONNECTIONS_CUSTOMIZATION_DEBUG enabled §  Next Generation Theme §  Profile templateReloading in profiles-config.xml set to 15 secs §  Login credentials stored in soap.client.properties -> Always disable debug & reloading settings in production! 10

Slide 11

Slide 11 text

Introduction Remarks §  We use following abbreviations: – custom_dir: Customization directory, check the WebSphere variable CONNECTIONS_CUSTOMIZATION_PATH (here D:\IBM\Connections\data\shared\customization\ ) – provision_dir: Provision directory, check the WebSphere variable CONNECTIONS_PROVISION_PATH (here D:\IBM\Connections\data\shared\provision\) – profiles_dir: WebSphere profiles directory (here D:\IBM\WebSphere\AppServer\profiles) – htdocs: HTTP Server htdocs directory (here D:\IBM\HTTPServer\htdocs) 11

Slide 12

Slide 12 text

User Interface – Introduction §  In this part we will: – Change logo and colors – Add a custom menu and permanent link 12

Slide 13

Slide 13 text

User Interface - Example 13 Custom menu Custom permanent link Custom colors, logo

Slide 14

Slide 14 text

14 User Interface – How to Change Logo and Colors §  Open WAS Administrative Console and navigate to “Applications – WebSphere enterprise applications” §  Stop Common App

Slide 15

Slide 15 text

15 User Interface – How to Change Logo and Colors §  We are using the Next Generation Theme http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_themes_for_IBM_Connections_4.5_CR1_ic451 §  NextGen Theme works different than the standard theme – We have to customize a source file (com.ibm.social.gen4.theme_4.0.0.cr3.jar) – This is more a hack than a proper documented way (but it is a supported way!) – Therefore you have to backup your changes before any fix/fixpack installation or upgrade (the changes may be overwritten) – Standard theme customization is easier, just create your own theme css file in custom_dir\themes\defaultTheme

Slide 16

Slide 16 text

16 User Interface – How to Change Logo and Colors §  Go to folder provision_dir\webresources\ §  Open com.ibm.social.gen4.theme_4.0.0.cr3.jar with a zip program

Slide 17

Slide 17 text

17 User Interface – How to Change Logo and Colors §  Extract all files to provision_dir\webresources\com.ibm.social.gen4.theme_4.0.0.cr3\

Slide 18

Slide 18 text

18 User Interface – How to Change Logo and Colors §  Delete the file com.ibm.social.gen4.theme_4.0.0.cr3.jar §  Rename the new folder to com.ibm.social.gen4.theme_4.0.0.cr3.jar REMARK: customizations can directly be tested, no repacking needed

Slide 19

Slide 19 text

19 User Interface – How to Change Logo and Colors §  Open the new folder com.ibm.social.gen4.theme_4.0.0.cr3.jar and navigate to resources\css\defaultTheme §  Open defaultTheme.css with a text editor

Slide 20

Slide 20 text

20 User Interface – How to Change Logo and Colors §  Search .lotusui30 div.lotusBanner .lotusRightCorner §  Replace the color gradient #3c404 - #151718 with #00b2ef - #00649d

Slide 21

Slide 21 text

21 User Interface – How to Change Logo and Colors §  Hide the IBM logo and add a new logo

Slide 22

Slide 22 text

22 User Interface – How to Change Logo and Colors §  Copy your referenced logo ibmconnect.png to the htdocs\images folder

Slide 23

Slide 23 text

23 User Interface – How to Change Logo and Colors §  Open WAS Administrative Console and navigate to „Applications – WebSphere enterprise applications“ §  Start the Common App

Slide 24

Slide 24 text

24 User Interface – Result Change Logo and Colors §  Refresh the browser

Slide 25

Slide 25 text

25 User Interface – How to Custom Menu and Permanent Link §  Copy the header.jsp file from profiles_dir\AppSrv01\installedApps\connectionsCell01\Homepage.ear \homepage.war\nav\templates to custom_dir\common\nav\templates

Slide 26

Slide 26 text

26 User Interface – How to Custom Menu and Permanent Link §  Open the copied header.jsp file with a text editor §  Change/Add some lines at the end of the file
 " Custom permanent link Reference to custom menu

Slide 27

Slide 27 text

27 User Interface – How to Custom Menu and Permanent Link §  Copy the referenced image question.png to the htdocs\images folder

Slide 28

Slide 28 text

28 User Interface – How to Custom Menu and Permanent Link §  Create a folder called menu and create the referenced jsp file ibmconnect14.jsp

Slide 29

Slide 29 text

29 User Interface – How to Custom Menu and Permanent Link

Slide 30

Slide 30 text

30 User Interface – Result Custom Menu and Permanent Link §  Refresh your browser

Slide 31

Slide 31 text

User Interface – Resources §  Customizing the user interface http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_the_user_interface_ic45 §  Customization of the Next Gen Theme http://kbild.ch/2013/07/customization-of-the-next-gen-theme-for-ibm-connections/ §  Customizing the navigation bar http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_the_navigation_bar_ic45 31

Slide 32

Slide 32 text

Login Page – Introduction 32 §  In this part we will: – Add a disclaimer to the login page

Slide 33

Slide 33 text

Login Page – Example 33

Slide 34

Slide 34 text

Login Page – How to Alter the login.jsp §  We need to change login.jsp. To do that copy profiles_dir/AppSrv01/installedApps/connectionsCell01/Blogs.ear/blogs.war/nav/ templates/login.jsp to custom_dir\common\nav\templates §  Replace the following part 34

Slide 35

Slide 35 text

Login Page – How to Alter the login.jsp §  With the following code to add the agreement text and agreement button 35

Slide 36

Slide 36 text

Login Page – How to Alter the login.jsp §  Next thing is to change the loginbutton to make it disabled and assign an id for reference in our javascript. Change this code §  With this 36

Slide 37

Slide 37 text

Login Page – How to Add Javascript §  Now we need to add a small piece of javascript to detect if the agreement was accepted to change the login button to enabled §  To do this add following javascript to the script section of the file 37

Slide 38

Slide 38 text

Login Page – How to Add property file(s) §  Last step is to add the property files that contain the actual text. To do so add a new file to custom_dir\strings §  Name the file com.ibm.lconn.core.strings.templates.properties §  You can add files for other languages if you have a multi-language deployment 38

Slide 39

Slide 39 text

39 Login Page – How to §  Open WAS Administrative Console and navigate to „Applications – WebSphere enterprise applications“ §  Stop and Start the Common and Homepage App

Slide 40

Slide 40 text

40 Login Page – Result §  Refresh your browser

Slide 41

Slide 41 text

Login Page – Resources §  Customizing IBM Lotus Connections 3.0 http://public.dhe.ibm.com/software/dw/lotus/LC30CustomizeFinal.pdf 41

Slide 42

Slide 42 text

Notifications – Introduction 42 §  In this part we will: – Change default notifications texts – Change global sender for notifications – Change default notifications sending intervals – Change logo and colors

Slide 43

Slide 43 text

Notifications – Example 43 Custom colors, logo Custom text Changed sender

Slide 44

Slide 44 text

Notifications – Example 44 Change default weekly newsletters to daily

Slide 45

Slide 45 text

45 Notifications – How to Change Text §  Open following folder: profiles_dir\Dmgr01\config\cells\connectionsCell01\LotusConnections-config \notifications\ §  Here you can find the source files for all the different notifications

Slide 46

Slide 46 text

46 Notifications – How to Change Text §  Open notification(_en).properties in the \resources\nls\ folder

Slide 47

Slide 47 text

47 Notifications – How to Change Text §  Change the text IBM Connections to IBM Connect 14 §  Do the same for each language file which you want to use

Slide 48

Slide 48 text

48 Notifications – How to Change Text §  Go back to the notifications folder and now open the notification(_en).properties in \news\resources\nls\ §  Change every occurrence of IBM Connections to IBM Connect 14

Slide 49

Slide 49 text

49 Notifications – How to Change Logo and Colors §  Go back to the notifications folder and now open the style.ftl in \news\aggregated\ §  Change every occurrence of color #474747 to #025d9c

Slide 50

Slide 50 text

50 Notifications – How to Change Logo and Colors §  Change the referenced footer image from ibmLogoWhite23.png to ibmconnect.png

Slide 51

Slide 51 text

51 Notifications – How to Change Logo and Colors §  Go back to notification and copy ibmconnect.png to resources\images

Slide 52

Slide 52 text

52 Notifications – How to Change Logo and Colors §  Open WAS Administrative Console and navigate to „Applications – WebSphere enterprise applications“ §  Stop an Start the News App

Slide 53

Slide 53 text

53 Notifications – How to Change Default Notifications Settings §  Start the wsadmin client and execute connectionsConfig.py §  Check out the notification-config.xml LCConfigService.checkOutNotificationConfig('D:/temp','connectionsCell01’)

Slide 54

Slide 54 text

54 Notifications – How to Change Default Notifications Settings §  Open notification-config.xml in D:\temp §  Change properties for sender and mobile links

Slide 55

Slide 55 text

55 Notifications – How to Change Default Notifications Settings §  Change all defaultFollowFrequency="WEEKLY” to defaultFollowFrequency=”DAILY"

Slide 56

Slide 56 text

56 Notifications – How to Change Default Notifications Settings §  Close the file and check it in LCConfigService.checkInNotificationConfig() §  Execute newsAdmin.py

Slide 57

Slide 57 text

57 Notifications – How to Change Default Notifications Settings §  Run following command to refresh the default Email settings: NewsEmailDigestService.refreshDefaultEmailPrefsFromConfig()

Slide 58

Slide 58 text

58 Notifications – Result Change Default Notifications Settings §  Check the new settings in the browser by resetting to default notifications settings

Slide 59

Slide 59 text

59 Notifications – Result Change Logo and Colors §  You can trigger the email digests by accessing the following URL to verify your settings (admin will only receive digest) http://connections.snt.com/news/web/testEmailDigestSendMail.action?type=daily §  Or for all users http://connections.snt.com/news/web/testEmailDigestSendMail.action?type=daily&initNextTranche=true

Slide 60

Slide 60 text

60 Notifications – Result Change Logo and Colors §  Check Newsletters in your mail client (Desktop and Mobile) Mail on Mobile

Slide 61

Slide 61 text

61 Notifications – Resources §  Customizing notifications http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_notifications_ic45 §  Including mobile links in notifications http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Including_mobile_links_in_notifications_ic45 §  Setting the default frequency of email digests http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Setting_the_default_frequency_of_email_digests_ic45 §  Verifying email digests http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Verifying_email_digests_ic45

Slide 62

Slide 62 text

Getting Started Page – Introduction 62 §  In this part we will: – Add a tab to the Getting Started Page

Slide 63

Slide 63 text

Getting Started Page – Example 63

Slide 64

Slide 64 text

64 Getting Started Page – How to §  To add a tab to the getting started page we need to start the wsadmin client and execute homepageAdmin.py §  Check out the gettingstarted-config.xml HomepageCellConfig.checkOutGettingstartedConfig('D:/temp','connectionsCell01’)

Slide 65

Slide 65 text

Getting Started Page – How to §  Add following to the gettingstarted-config.xml file §  All content must share the same host (http://connections.snt.com). Use your IBM http server to host the content 65

Slide 66

Slide 66 text

Getting Started Page – How to §  To add the text for the tab, add a customization file to custom_dir\strings §  Name it com.ibm.lconn.homepage.resources.nls.jsp.jsp_resources.properties and add the title for the tab §  You can add files for other languages if you have a multi-language deployment 66

Slide 67

Slide 67 text

67 Getting Started Page – How to §  Close the file and check it in HomepageCellConfig.checkInGettingstartedConfig()

Slide 68

Slide 68 text

68 Getting Started Page – How to §  Execute connectionsConfig.py and run following commands to update your configuration/ version stamp LCConfigService.checkOutConfig('D:/temp','connectionsCell01’) LCConfigService.updateConfig(“versionStamp”,””) LCConfigService.checkInConfig()

Slide 69

Slide 69 text

69 Getting Started Page – How to §  Open WAS Administrative Console and navigate to „Applications – WebSphere enterprise applications“ §  Stop an Start the Homepage App

Slide 70

Slide 70 text

70 Getting Started Page – Result §  Refresh your browser

Slide 71

Slide 71 text

Getting Started Page – Ressources §  Customizing the Getting Started view http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_the_Getting_Started_view_ic45 71

Slide 72

Slide 72 text

Communities – Introduction 72 §  In this part we will: – Create two additional Community themes – Add labels for this new themes – Add the themes – Create two simple Widgets – Add these Widgets to Communities

Slide 73

Slide 73 text

73 Communities – Example Theme Two new themes (Belsoft, Gfi)

Slide 74

Slide 74 text

74 Communities – How to Theme §  Take defaultTheme.css as template and create a new theme css (nameTheme.css) in folder custom_dir\themes\nameTheme\ -> create folders belsoftTheme and gfiTheme and create files belsoftTheme.css and gfiTheme.css in this folders

Slide 75

Slide 75 text

75 Communities – How to Theme §  Take your customized NextGen defaultTheme.css as source for the new css files (provision_dir\webresources \com.ibm.social.gen4.theme_4.0.0.cr3.jar\resources\css\defaultTheme) §  change all relative paths to absolute ../../sprite/sprite16.png - > /com.ibm.social.gen4.theme/sprite/sprite16.png §  Customize the theme css files (Belsoft, Gfi) by changing the color gradients

Slide 76

Slide 76 text

76 Communities – How to Theme §  Pay special attention how to link your custom images and where you have to place them

Slide 77

Slide 77 text

77 Communities – How to Theme §  Start the wsadmin client and execute communitiesAdmin.py §  Check out the communities-config.xml CommunitiesConfigService.checkOutConfig('D:/temp','connectionsCell01’)

Slide 78

Slide 78 text

78 Communities – How to Theme §  Open communities-config.xml in D:\temp §  Add your new themes (the labels and thumbnails will be added in the next steps)

Slide 79

Slide 79 text

79 Communities – How to Theme §  Check in communities-config.xml CommunitiesConfigService.checkInConfig()

Slide 80

Slide 80 text

80 Communities – How to Theme §  Add com.ibm.lconn.communities.strings.ui.properties to custom_dir\strings folder and add your labels

Slide 81

Slide 81 text

81 Communities – How to Theme §  Copy the theme thumbnail images to custom_dir\communities\images

Slide 82

Slide 82 text

82 Communities – How to Theme §  Open WAS Administrative Console and navigate to „Applications – WebSphere enterprise applications“ §  Stop and Start the Communities App

Slide 83

Slide 83 text

83 Communities – Result Theme §  Open a Community and change the theme to one of the new themes

Slide 84

Slide 84 text

84 Communities – Example Widgets

Slide 85

Slide 85 text

85 Communities – How To Widgets §  We will add two very simple widgets to the Communities application. An iFrame widget showing clickable images that will guide you through the community and a widget that will show the displayname and email address of the logged on user. §  Add the widgets to your communities customization path custom_dir\communities

Slide 86

Slide 86 text

§  Test if you can access the widget descriptor 86 Communities – How To Widgets

Slide 87

Slide 87 text

87 Communities – How To Widgets §  Now we add the widget to our Connections communities, start the wsadmin client and execute communitiesAdmin.py §  Check out the widgets-config.xml CommunitiesConfigService.checkOutWidgetsConfig('D:/temp','connectionsCell01')

Slide 88

Slide 88 text

88 Communities – How To Widgets §  Open widgets-config.xml in D:\temp §  Add your new widget definition §  Check in widgets-config.xml CommunitiesConfigService.checkInWidgetsConfig() This will define the widget to display in the middle column of the community

Slide 89

Slide 89 text

89 Communities – How to Theme §  Open WAS Administrative Console and navigate to „Applications – WebSphere enterprise applications“ §  Stop and Start the Communities App

Slide 90

Slide 90 text

90 Communities – Result Widgets §  Go to your Community and click “Community Actions – Customize” §  Select your widgets to add them

Slide 91

Slide 91 text

91 Communities – Resources §  Adding a custom theme to Communities http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Adding_a_custom_theme_to_Communities_ic45 §  Branding Communities in IBM Connections (Jerald Mahurin) http://www.sociallycurious.com/2013/05/21/branding-communities-ibm-connections §  Enabling custom widgets for Communities http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Enabling_custom_widgets_for_Communities_ic45

Slide 92

Slide 92 text

Wikis – Introduction 92 §  In this part we will: – Change the default Welcome Page of Wikis

Slide 93

Slide 93 text

93 Wikis – Example

Slide 94

Slide 94 text

94 Wikis – How to Welcome Page §  Create a new Wiki and click edit §  Change the Welcome Page to your needs, we will use it as template for the customization §  Switch to the HTML Source view and copy the HTML code

Slide 95

Slide 95 text

95 Wikis – How to Welcome Page §  Paste the HTML code into a file and remove all “end of lines” (EOL)

Slide 96

Slide 96 text

96 Wikis – How to Welcome Page §  Create com.ibm.lconn.share.services.handlers.wiki.nls.WikiWelcomeMessages_en.properties in custom_dir\strings\ and add your title and HTML code (one line!) §  Create a property file for every language you want to support

Slide 97

Slide 97 text

97 Wikis – How to Welcome Page §  Open WAS Administrative Console and navigate to “Applications – WebSphere enterprise applications” §  Stop and Start the Wikis App

Slide 98

Slide 98 text

98 Wikis – Result Welcome Page §  Create a new Wiki

Slide 99

Slide 99 text

99 Wikis – Resources §  Customizing the Wikis welcome page http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_the_Wikis_welcome_page_ic45

Slide 100

Slide 100 text

Profiles - Agenda §  Add custom profile fields §  Synchronize custom fields using IBM TDI §  Add a profile widget §  Add profile types 100

Slide 101

Slide 101 text

Profiles – Introduction Add custom profile fields 101 §  In this part we will: – Add custom profile fields – Create customized labels – Add custom macros for advanced layout – Edit the freemarker templates to display the custom fields

Slide 102

Slide 102 text

Profiles – Example Add custom profile fields 102 Custom field from LDAP Custom field type

Slide 103

Slide 103 text

Profiles – Example Add custom profile fields 103 Custom field type

Slide 104

Slide 104 text

Profiles – How To Add custom profile fields §  Start the wsadmin client and execute profilesAdmin.py §  Check out the profiles-config.xml ProfilesConfigService.checkOutConfig('D:/temp','connectionsCell01’) §  We need to declare the custom fields in the profiles-config.xml, open the file with a text editor 104

Slide 105

Slide 105 text

Profiles – How To Add custom profile fields §  Add following attributes to the Profile Data Model 105

Slide 106

Slide 106 text

Profiles – How To Add custom profile fields §  Now we need to associate the new fields with a profile type §  To do so, edit the profiles-types.xml and add the new fields to the default profile 106

Slide 107

Slide 107 text

Profiles – How To Add custom profile fields §  Check in the profiles-config.xml ProfilesConfigService.checkInConfig() 107

Slide 108

Slide 108 text

Profiles – How To Add custom profile fields §  We need to add custom strings for the interface labels §  To do so we will create a custom resource bundle com.connect.profiles.strings.uilabels.properties in custom_dir\strings §  Create translation files for all languages you want to support 108

Slide 109

Slide 109 text

Profiles – How To Add custom profile fields 109

Slide 110

Slide 110 text

Profiles – How To Add custom profile fields §  Now we need to register the custom resource bundle and make it available for the Freemarker templates §  To register the file, check out the Connections configuration. First execute connectionsConfig.py and the check out LotusConnections-config.xml LCConfigService.checkOutConfig('D:/temp','connectionsCell01’) §  Add following to the LotusConnections-config.xml file in the resources section 110

Slide 111

Slide 111 text

Profiles – How To Add custom profile fields §  Check in the configuration file LCConfigService.checkInConfig() §  Check out the profiles-config.xml again ProfilesConfigService.checkOutConfig('D:/temp','connectionsCell01’) 111

Slide 112

Slide 112 text

Profiles – How To Add custom profile fields §  Edit the profiles-config.xml file and add a reference to the registered bundle 112

Slide 113

Slide 113 text

Profiles – How To Add custom profile fields §  Next step is to add some custom macros for advanced controls. Instead of adding these to the commonUtil.ftl file that comes with Connections we will add these to a custom file to easy any upgrades and further customization §  Create a file customControls.ftl in profiles_dir\Dmgr01\config\cells\connectionsCell01\LotusConnections-config \profiles\templates §  This file will contain functions to render radio buttons, multiselect buttons and drop-down lists. We will show some parts of the file on the next slide. 113

Slide 114

Slide 114 text

Profiles – How To Add custom profile fields 114

Slide 115

Slide 115 text

Profiles – How To Add custom profile fields §  To be able to alter your profile we first need to edit the profileEdit.ftl file in D:\temp §  We need to import the newly created custom controls §  Adjust the file to display the fields required and import the sections to change the visualization 115

Slide 116

Slide 116 text

Profiles – How To Add custom profile fields 116

Slide 117

Slide 117 text

Profiles – How To Add custom profile fields 117

Slide 118

Slide 118 text

Profiles – How To Add custom profile fields §  We need to alter profileDetails.ftl in D:\temp to show the content in non-edit mode 118

Slide 119

Slide 119 text

Profiles – How To Add custom profile fields 119

Slide 120

Slide 120 text

Profiles – How To Add custom profile fields 120

Slide 121

Slide 121 text

Profiles – How To Add custom profile fields §  Check in the profiles-config.xml again and synchronize all nodes (this will copy customControls.ftl to all nodes). REMARK: we already changed the template reloading to 15 seconds ProfilesConfigService.checkInConfig() synchAllNodes() 121

Slide 122

Slide 122 text

Profiles – Introduction Synchronize custom fields using TDI §  In this part we will: – Synchronize a custom profile field with the LDAP server using TDI 122

Slide 123

Slide 123 text

§  We will synchronize the twitter Id from LDAP to the Profiles database using TDI §  To do so, you need to add the following to your tdi-profiles-config.xml file in D:\IBM\TDI\V7.1\tdisol\TDI\conf\LotusConnections-config Profiles – How To Synchronize custom fields using TDI 123

Slide 124

Slide 124 text

Profiles – How To Synchronize custom fields using TDI §  The data is stored in the “twitterid” field in LDAP §  Run your sync script 124

Slide 125

Slide 125 text

125 Profiles – How to §  Open WAS Administrative Console and navigate to “Applications – WebSphere enterprise applications” §  Stop and Start the Profiles App

Slide 126

Slide 126 text

126 Profiles – Result Custom profile fields §  Open a profile and test your custom fields

Slide 127

Slide 127 text

Profiles – Introduction Widget §  In this part we will add a custom google widget to profiles: – Create widget – Add widget 127

Slide 128

Slide 128 text

128 Profiles – Example Widget Office address displayed on Google Maps

Slide 129

Slide 129 text

129 Profiles – How to Widget §  Create your widget called googleMap.xml in custom_dir\profiles

Slide 130

Slide 130 text

130 Profiles – How to Widget

Slide 131

Slide 131 text

131 Profiles – How to Widget

Slide 132

Slide 132 text

132 Profiles – How to Widget §  Now we add the widget to our Connections profiles, start the wsadmin client and execute profilesAdmin.py §  Check out the widgets-config.xml ProfilesConfigService.checkOutWidgetConfig('D:/temp','connectionsCell01')

Slide 133

Slide 133 text

133 Profiles – How to Widget §  Open widgets-config.xml in D:\temp §  Add your new widget

Slide 134

Slide 134 text

134 Profiles – How to Widget §  Check in widgets-config.xml ProfilesConfigService.checkInWidgetConfig()

Slide 135

Slide 135 text

135 Profiles – How to Widget §  Open WAS Administrative Console and navigate to “Applications – WebSphere enterprise applications” §  Stop and Start the Profiles App

Slide 136

Slide 136 text

136 Profiles – Result Widget §  Open a profile and test your widget

Slide 137

Slide 137 text

Profiles – Introduction Add profile types §  In this part we will add a second profile type. This profile type will contain only a subset of the profile attributes that the default profile will have. We will also disable widgets based on the profile §  What are profile types – Definition of different types of users – Allows to change look and feel of the profiles application – Example: customer, employee, contractor §  Why use profile types – Show different data for different types of users – Block certain features – Block built in widgets – Block custom widgets – Limit information stream – Phase a rollout 137

Slide 138

Slide 138 text

Profiles – Example Add profile types 138

Slide 139

Slide 139 text

Profiles – How To Add profile types §  First thing we need to decide is what field in LDAP will define the profile type. In this example we will use an existing field that is not used for anything else §  Now we need to configure TDI to add the profile type to the Profiles database. Alter the map_dbrepos_from_source.properties file in your TDI Solution directory and map profileType to your field in LDAP 139

Slide 140

Slide 140 text

Profiles – How To Add profile types §  Now run your TDI sync command §  This is what you will see in the Employee database 140

Slide 141

Slide 141 text

Profiles – How To Add custom profile fields §  Start the wsadmin client and execute profilesAdmin.py §  Check out the profiles-config.xml ProfilesConfigService.checkOutConfig('D:/temp','connectionsCell01’) 141

Slide 142

Slide 142 text

Profiles – How To Add profile types §  We need to define the profile types and the profile fields we want to show in the file profiles-types.xml 142

Slide 143

Slide 143 text

Profiles – How To Add profile types 143

Slide 144

Slide 144 text

§  We can now disable profile features or widgets based on the profile type. We will start with the profile features §  Open profiles-policy.xml and add the desired configuration Profiles – How To Add profile types 144

Slide 145

Slide 145 text

Profiles – How To Add custom profile fields §  Check in the profiles configuration ProfilesConfigService.checkInConfig() 145

Slide 146

Slide 146 text

146 Profiles – How to Widget §  Open WAS Administrative Console and navigate to “Applications – WebSphere enterprise applications” §  Stop and Start the Profiles App

Slide 147

Slide 147 text

§  Login with the external user Profiles – Result Add profile types 147 Tagging enabled when logged on as external user No Twitter Id

Slide 148

Slide 148 text

Profiles – Result Logged in with internal user 148 Tagging disabled No invitation button Disabled

Slide 149

Slide 149 text

Profiles – How To Add profile types §  We will now disable widgets based on the profile type §  Check out the widget configuration. §  Disable the widgets you don’t want to show in widgets-config.xml 149

Slide 150

Slide 150 text

§  Check in the widget configuration again and restart the profiles application Profiles – How To Add profile types 150

Slide 151

Slide 151 text

Profiles – Result Add profile types 151 Tags and sand gone Tabs gone All widgets gone except links

Slide 152

Slide 152 text

152 Profiles – Resources §  Adding custom widgets to Profiles http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Adding_custom_widgets_to_Profiles_ic45 §  Customizing IBM Connections – Modifying the Report-To Chain iWidget to include profile data retrieved via Ajax (Hunter Medney) https://www.ibm.com/developerworks/community/blogs/hmedney/entry/ customizing_connections_modifying_the_report_to_chain_widget_using_profile_data §  Connections iWidget Development Guide http://www-10.lotus.com/ldd/lcwiki.nsf/dx/development-guide §  Easy as a pie – Creating Widgets for IBM Connections (Mikkel Heisterberg) http://www.slideshare.net/lekkim/bp207-easy-as-pie-creating-widgets-for-ibm-connections §  Customizing IBM Connections 4.0 Profiles http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_IBM_Connections_4.0_Profiles

Slide 153

Slide 153 text

153 Profiles – Resources §  Customizing Profiles http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_Profiles_ic45 §  Phasing an IBM Connections Rollout? Profile Types May Be the Answer https://www-304.ibm.com/connections/blogs/socialbusiness/entry/ phasing_an_ibm_connections_rollout_profile_types_may_be_the_answer4 §  Profile types and locking profile features http://www.slideshare.net/palmke/profile-types-and-locking-profile-features-15498931

Slide 154

Slide 154 text

Richtext Editor – Introduction 154 §  In this part we will: – Create a new plugin – Add the plugin to the Richtext Editor

Slide 155

Slide 155 text

155 Richtext Editor – Example

Slide 156

Slide 156 text

156 Richtext Editor – How to §  You have to know how to create CKEditor Plugins http://docs.cksource.com/CKEditor_3.x/Tutorials §  Create your Business Card plugin

Slide 157

Slide 157 text

157 Richtext Editor – How to §  Place your plugin in custom_dir\javascript\com\ibm\oneui\ckeditor\editor\plugins\

Slide 158

Slide 158 text

158 Richtext Editor – How to §  Open provision_dir\webresources\com.ibm.lconn.blogs.web.resources_*.jar with a zip program and extract ckeditor.js from \resources folder

Slide 159

Slide 159 text

159 Richtext Editor – How to §  Copy ckeditor.js to custom_dir\javascript\lconn\blogs\ (or wikis)

Slide 160

Slide 160 text

160 Richtext Editor – How to §  Open ckeditor.js and add the new plugin

Slide 161

Slide 161 text

161 Richtext Editor – How to §  Open WAS Administrative Console and navigate to “Applications – WebSphere enterprise applications” §  Stop and Start the Common App

Slide 162

Slide 162 text

162 Richtext Editor – Result §  Refresh your browser cache §  Create a new Blog entry and test the plugin

Slide 163

Slide 163 text

163 Richtext Editor – Resources §  CKEditor Tutorials http://docs.cksource.com/CKEditor_3.x/Tutorials §  Tutorial – Extending the IBM Connections Rich Text Editor (Rob Novak) http://ibmrockstar.com/2013/05/tutorial-extending-the-ibm-connections-rich-text-editor

Slide 164

Slide 164 text

164 Second Part (if time will allow it)

Slide 165

Slide 165 text

Second Part – Examples 165

Slide 166

Slide 166 text

Media Gallery Object types – Introduction 166 §  In this part we will: – Add a custom object type for the media gallery – Add custom properties to the object type – Show how to enable and use the new object type

Slide 167

Slide 167 text

Media Gallery Object types – Example 167

Slide 168

Slide 168 text

§  Object types are defined in XML according to the Content Management Interoperability Services (CMIS) standard. §  Content Management Interoperability Services (CMIS) is an open standard that allows different content management systems to inter-operate §  CMIS provides a common data model covering typed files and folders with generic properties that can be set or read. There is a set of services for adding and retrieving documents ('objects') §  For this example we create a file connect_photo.xml in D:\temp Media Gallery Object types – How to Create your custom object type definition file 168

Slide 169

Slide 169 text

… location location custom_location_title_key custom:location custom_location_summary_key string single readwrite false true true true false 64 169 date http://www.ibm.com/xmlns/prod/sn/cmis/logicaltypes photo1_date2_key custom:date1 photo1_date2_summary_key datetime single readwrite false true true true false Media Gallery Object types – How to Create your custom object type definition file

Slide 170

Slide 170 text

Media Gallery Object types – How to Create your custom object type definition file project project custom_project_title_key custom:project custom_project_summary_key string single readwrite false true true true choice1Value choice2Value choice3Value false 64 170 approved approved custom_approved_title_key custom:approved custom_approved_summary_key boolean single readwrite false true true true false …

Slide 171

Slide 171 text

Media Gallery Object types – How to Import the definition §  Start the wsadmin client and execute filesAdmin.py §  Import the CMIS file and check if the import was successfull FilesObjectTypeService.importType(“D:/temp/connect_photo.xml”) FilesObjectTypeService.browseTypes() 171

Slide 172

Slide 172 text

§  Open profiles_dir\AppSrv01\installedApps\connectionsCell01\Files.ear \share.services.jar file with a zip program and navigate to com\ibm\lconn\files \strings. Copy the cmis.properties file to custom_dir\strings Media Gallery Object types – How to Add labels 172

Slide 173

Slide 173 text

Media Gallery Object types – How to Add labels 173 §  Rename the cmis.properties file to com.ibm.lconn.files.strings.cmis.properties

Slide 174

Slide 174 text

Media Gallery Object types – How to Add labels §  Add new property labels as key-value pairs 174

Slide 175

Slide 175 text

175 Media Gallery Object types – How to §  Open WAS Administrative Console and navigate to “Applications – WebSphere enterprise applications” §  Stop and Start the Files App

Slide 176

Slide 176 text

Media Gallery Object types – How to Use new object type in Community 176 §  Clear your browser cache and check the results §  Edit your Media Gallery §  Change the value for Photo to the newly created object type

Slide 177

Slide 177 text

Media Gallery Object types – How to Import the definition §  Start the wsadmin client and execute communitiesAdmin.py §  Check out the Communities Widget configuration CommunitiesConfigService.checkOutWidgetsConfig('D:/temp','connectionsCell01’) 177

Slide 178

Slide 178 text

Media Gallery Object types – How to Set definition as default for all 178 §  Open widgets-config.xml and change the mg_PhotoType value to the id of the new objecttype. You can find the id by using the FilesObjectTypeService.browseTypes() wsadmin command in the Files Configuration

Slide 179

Slide 179 text

Media Gallery Object types – How to Set definition as default for all 179 §  Check the configuration back in §  Restart the Files application

Slide 180

Slide 180 text

180 Media Gallery Object Types – Resources §  Creating custom media gallery object types http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Creating_custom_media_gallery_object_types_ic45 §  OASIS Content Management Interoperability Services (CMIS) https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis

Slide 181

Slide 181 text

Mobile App – Introduction 181 §  In this part we will add following: – A link to the IBM Sametime App – A link to a Website

Slide 182

Slide 182 text

Mobile App – Example 182 Opens a webpage

Slide 183

Slide 183 text

Questions? 183

Slide 184

Slide 184 text

§  Access Connect Online to complete your session surveys using any: – Web or mobile browser – Connect Online kiosk onsite 184

Slide 185

Slide 185 text

Mobile App – How to Preparation §  You need the following images ready for every function (open Sametime, open link) – iOS Retina (48 x 48px) – iOS Standard (24 x 24px) – Low density for Android / BlackBerry (~24 x 24px) – Medium density for Android / BlackBerry (~32 x 32px) – High density for Android / BlackBerry (~48 x 48px) You can find examples for the images in profiles_dir\AppSrv01\installedApps\connectionsCell01\Mobile.ear \mobile.web.war\extensibilityIcons Use transparent png/gif’s for best results (selected/not selected) 185

Slide 186

Slide 186 text

Mobile App – How to §  Place the images in custom_dir\mobile\ 186

Slide 187

Slide 187 text

187 Mobile App – How to §  Now we add the new Mobile functions, start the wsadmin client and execute mobileAdmin.py §  Check out the mobile-config.xml MobileConfigService.checkOutConfig('D:/temp','connectionsCell01')

Slide 188

Slide 188 text

188 Mobile App – How to §  Open mobile-config.xml and add following to the sections

Slide 189

Slide 189 text

189 Mobile App – How to

Slide 190

Slide 190 text

190 Mobile App – How to §  Check in mobile-config.xml MobileConfigService.checkInConfig()

Slide 191

Slide 191 text

191 Mobile App – How to §  Open WAS Administrative Console and navigate to “Applications – WebSphere enterprise applications” §  Stop and Start the Mobile App

Slide 192

Slide 192 text

Mobile App – Result 192

Slide 193

Slide 193 text

193 Reports – Example Number of visits per App over the time

Slide 194

Slide 194 text

194 Reports – How to We will not cover this topic in this presentation because IBM Cognos is too heavy for our machines ;-) But steps would be: § Define the custom report & check dimensions/events – Pencil&Paper § Create Report with IBM Cognos Report Studio (We would recommend to use Firefox Version 3.5/3.6!) § Add Report to Global/Community Report list

Slide 195

Slide 195 text

195 Reports – Resources §  Community report customization for Connections 4.0 Metrics http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Community_report_customization_for_Connections_4.0_Metrics §  Create new Cognos metrics report http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Connections_4.0_Metrics_customizationcol_create_new_Cognos_metrics_report §  Customizing reports based on the events captured in Metrics 4.0 http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Customizing_reports_based_on_the_events_captured_in_Metrics4.0 §  Give your community owners the reports they really need – Step by step http://www.slideshare.net/kbild/give-your-community-owners-the-reports-they-really-need

Slide 196

Slide 196 text

Desktop Plugin – Introduction 196 §  In this part we will: – Customize the look and feel of the Desktop Connector for IBM Connections

Slide 197

Slide 197 text

Desktop Plugin – Example 197

Slide 198

Slide 198 text

Desktop Plugin – How to Preparation §  You need the following images ready – Desktop Image (256 x 256 .ico file) – SystemTray busy image (16x16 .ico file) – SystemTray idle image (16x16 .ico file) – SystemTray pending image (16x16 .ico file) – Context Menu image (13x13 .bmp file) – Office Send To image (32x32.bmp file) – Outlook Business card image (16x16.bmp file) 198

Slide 199

Slide 199 text

Desktop Plugin – How to §  Edit the registry, to automate use group policies §  Make sure you take into account differences in registry keys for 32-bit and 64-bit Windows versions §  Change / Add following Registry Keys – HKEY_CLASSES_ROOT\CLSID\{21034BDC-B57E-400B-A5D5-2B1E98502805} •  (Default)=“Connect 2014” •  InfoTip=“Connect 2014” – HKEY_CLASSES_ROOT\CLSID\{21034BDC-B57E-400B- A5D5-2B1E98502805}\DefaultIcon •  (Default)=“c:\rebrand-256x256.ico” 199

Slide 200

Slide 200 text

Desktop Plugin – How to – HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\Social Connectors \Branding •  Main Title=“Connect 2014” – HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\Social Connectors \Branding\Monitor •  SystemTray Busy Image=“c:\rebrand-16x16busy.ico” •  SystemTray PendingImage=“c:\rebrand-16x16pending.ico” •  SystemTray Idle Image=“c:\rebrand-16x16idle.ico” •  SystemTray Title=“Connect 2014” – HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\Social Connectors \Branding\Office •  Backstage SendTo Image=“c:\rebrand-32x32.bmp” •  BackStage SendTo Tiltle=“Connect 2014” •  RibbonTab Title=“Connect 2014” 200

Slide 201

Slide 201 text

Desktop Plugin – How to – HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\Social Connectors \Branding\Outlook •  ContextMenu ContactCard Image=“c:\rebrand-16x16.bmp” •  Explorer RibbonTab Title=“Connect 2014” •  Inspector RibbonTab Title=“Connect 2014” •  Menu Title=“Connect 2014” •  Toolbar Title=“Connect 2014” •  ContextMenu ContactCard Title=“Connect 2014” – HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\IBM\Social Connectors \Branding\ShellExt •  ContextMenu Image=“c:\rebrand-13x13.bmp” •  ContextMenu Title=“Connect 2014” 201

Slide 202

Slide 202 text

202 Desktop Plugin – Resources §  Customizing the branding strings and images for the desktop plug-in http://www-10.lotus.com/ldd/lcwiki.nsf/dx/ Customizing_the_branding_strings_and_images_for_the_desktop_plugin_lv45

Slide 203

Slide 203 text

Connections Content Manager – Introduction 203 §  In this part we will: – Create custom CCM property fields – Create a custom CCM document type – Add the new property fields to the document type – Change the default document type of a Community

Slide 204

Slide 204 text

204 Connections Content Manager – Example Document Types

Slide 205

Slide 205 text

205 Connections Content Manager – How to Document Types §  Open the Administration Console for Content Platform Engine (https://connections.snt.com/acce) and logon as CCM Admin §  Open the “ICObjectStore “

Slide 206

Slide 206 text

206 Connections Content Manager – How to Document Types §  First we create property fields which we will add to a document type later on §  Open “Data Design” and right click on “Property Templates” §  Choose “New Property Template” and call it Abstract, click “Next”

Slide 207

Slide 207 text

207 Connections Content Manager – How to Document Types §  Choose String as “Data Type”, click “Next”

Slide 208

Slide 208 text

208 Connections Content Manager – How to Document Types §  Leave default values in the next 2 screens and click “Finish” and “Close”

Slide 209

Slide 209 text

209 Connections Content Manager – How to Document Types §  Create a second new property template and call it Track and choose String as “Data Type” §  Click “Assign choice list” on the “Select Choice List or Marking Set” Screen and click on “New…”

Slide 210

Slide 210 text

210 Connections Content Manager – How to Document Types §  Use Track List as “Display Name” and click “Next”

Slide 211

Slide 211 text

211 Connections Content Manager – How to Document Types §  Use String as list data type and click “Next”

Slide 212

Slide 212 text

212 Connections Content Manager – How to Document Types §  Now we create the items, click on “New Items” and add Best Practices, Jump Starts and Show ‘n Tell as display names. Click “OK”

Slide 213

Slide 213 text

213 Connections Content Manager – How to Document Types §  Back on the “Add Choice List Items” screen click “Next”, after that click “Finish” and “Close”

Slide 214

Slide 214 text

214 Connections Content Manager – How to Document Types §  Back on the “New Property Template” screen click “Next” and click “Finish”, “Close”

Slide 215

Slide 215 text

215 Connections Content Manager – How to Document Types §  Now we create the new document type by opening “Classes” and right clicking on “Document” §  Choose “New Class” and call it IBM Connect session and click on “Next”

Slide 216

Slide 216 text

216 Connections Content Manager – How to Document Types §  Click “Finish” and “Open”

Slide 217

Slide 217 text

217 Connections Content Manager – How to Document Types §  Select the “Property Definitions” tab, click on “Add” and select the new properties “Abstract” and “Track” before clicking on “OK”

Slide 218

Slide 218 text

218 Connections Content Manager – How to Document Types §  Click “Save” and “Close” and “Log Out”

Slide 219

Slide 219 text

219 Connections Content Manager – How to Document Types §  Go back to one of your Connections Communities and edit the Community

Slide 220

Slide 220 text

220 Connections Content Manager – How to Document Types §  Click on the “Library” tab and change the “Default document type” to IBM Connect session

Slide 221

Slide 221 text

221 Connections Content Manager – How to Document Types §  Inside this community go to the Library App and add a file If you can’t see the document type properties restart the FNCS app

Slide 222

Slide 222 text

222 Connections Content Manager – Resources §  Creating and managing document types http://www-10.lotus.com/ldd/lcwiki.nsf/dx/Creating_and_managing_document_types_ic45 §  Create new document types in IBM Connections Content Manager (Roberto Boccadoro) http://www-10.lotus.com/ldd/lcwiki.nsf/dx/ Create_new_document_types_in_IBM_Connections_Content_Manager

Slide 223

Slide 223 text

Questions? 223

Slide 224

Slide 224 text

§  Access Connect Online to complete your session surveys using any: – Web or mobile browser – Connect Online kiosk onsite 224

Slide 225

Slide 225 text

225 Acknowledgements and Disclaimers © Copyright IBM Corporation 2014. All rights reserved. §  U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. §  IBM, the IBM logo, ibm.com, IBM Connections, IBM Lotus Connections, IBM Sametime, IBM WebSphere, IBM Tivoli Directory Integrator, IBM Domino, IBM Cognos, IBM Cognos Report Studio are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at www.ibm.com/legal/copytrade.shtml Other company, product, or service names may be trademarks or service marks of others. Twitter, Wordpress, LinkedIn, CKEditor, Firefox, Android, BlackBerry, Google Maps, Microsoft Windows, , Microsoft Windows Server 2008 R2, OASIS Availability. References in this presentation to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. The workshops, sessions and materials have been prepared by IBM or the session speakers and reflect their own views. They are provided for informational purposes only, and are neither intended to, nor shall have the effect of being, legal or other guidance or advice to any participant. While efforts were made to verify the completeness and accuracy of the information contained in this presentation, it is provided AS-IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, this presentation or any other materials. Nothing contained in this presentation is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual environmental costs and performance characteristics may vary by customer. Nothing contained in these materials is intended to, nor shall have the effect of, stating or implying that any activities undertaken by you will result in any specific sales, revenue growth or other results.