Category WCM 8.5

IBM WCM 8.5 Rendering Plugin Example to render Youtube Video in a web content

Create a Dynamic Web project Create the following java class which implements RenderingPlugin interfaceClass: package com.ibm.plugins;import java.io.IOException;import java.io.Writer;import java.util.List;import java.util.Locale;import java.util.Map;import com.ibm.portal.ListModel;import com.ibm.workplace.wcm.api.plugin.rendering.RenderingPlugin;import com.ibm.workplace.wcm.api.plugin.rendering.RenderingPluginException;import com.ibm.workplace.wcm.api.plugin.rendering.RenderingPluginModel;public class YoutubePlugin implements RenderingPlugin { private String PLUGIN_NAME = “video”; @Override public boolean isShownInAuthoringUI() {…

Creating IBM WCM 8.5 Custom Workflow Action

Steps: 1) Create New Dynamic Web Project 2) Create a  new Java Class which implements  com.ibm.workplace.wcm.api.custom.CustomWorkflowAction 3) Implement execute method of  CustomWorkflowAction . and get  WebContentCustomWorkflowService  object by using JNDI Lookup 4)Create new java factory class which implements  com.ibm.workplace.wcm.api.custom.CustomWorkflowActionFactory 5)…

Enable Notifications OK No thanks