Go to 6.1 Publishing content to from WCM to IBM Connections using Social Media Publisher.
This article walks through the content creation and publication process, including publication to IBM Connections. It assumes that the steps described in the previous 4 articles have been carried out.
In the scenario described in those previous ones, we created a Social Media Publisher configuration for the "Events" authoring template, and added publication to the Content Template Catalog workflow so that a message is posted to Heather Reeds' wall when the content item is published in WCM. Options existed for publishing in other ways, too.
Create an event via WCM in-line editing
1. To begin with, we navigate to the CTC Demo page in Portal and select Program -> Development track.
2. We have the rights to edit this page, so we click "Edit Mode" in the toolbar at the top of the page, and in-line edit tools become available.
3. To create a new event, we select the "Create New Event Item" at the top of the content section of the page and enter a new event title, as shown below:
4. Click "Create". We are presented with a new event that we can edit directly in the portal page, as shown below. The new Portal 18.104.22.168 and CTC4 in-line editing tools allow us to modify the event content without entering the WCM authoring environment.
We use these tools to fill in the event details, remembering that our Social Network Configuation document specifies that the Summary, Location and Start Date will appear in the posted message. This view does not, however, allow us to see the social network configuration for the content item.
5. Hover the mouse over the article, additional options are presented in a call-out to view the full article in WCM edit mode:
Selecting the options "Open Read Form" or "Open Edit Form" allows the user to see the "Social Network Information" section of the authoring template. At this time, no post has been published so the information available is relatively sparse.
Publish the content item and see the results in Connections
By default, the content item will be saved in a draft state and a content approver would be required to approve the content. However in this case, as we have appropriate rights, we can "Save and Publish" the content item as shown in the image below:
The effect of this is that the workflow publication takes effect and the message is posted to IBM Connections. The Social Network Information panel now shows the time of the post, which is now tracked by the content item in WCM.
The resulting post in Connections is shown below:
The Social Network Information panel tracks comments and likes on the status message, which can be tracked directly within WCM as shown below:
Expire the content item and remove the post from connections
The final stage in the WCM workflow is to expire the content and remove it from publication. As noted in the preview article, this will remove the message from IBM Connections.
The event that we created can either be expired from the library explorer or from the in-line editing tool. Either:
a. Open the content item in the library explorer and select More -> Expire as shown below:
b. Navigate to the content item (e.g. by following the link in the Connections message post), place the portal in edit mode and select "Expire" from the context menu that appears when you hover over the content item.
When the content item is expired, the custom workflow action to delete the content item from Connections will be applied. The result is that the message posted to Heather Reeds' wall will be deleted.
Associated articles and topics
This article is one of several describing how to configure the social media publisher:
6.1 Publishing content to from WCM to IBM Connections using Social Media Publisher
This topic is part of the Pattern 3 description: