Hi ,
If add any document using the entry template, the plugin response filter is not firing even though we have added /p8/addItem in the plugin. However the same code works after you call any plugin service that is inside same plugin. Hope this will help you.
Here are the plugin classes.
--------------
public class RelabelPlugin extends Plugin {
public PluginResponseFilter[] getResponseFilters() {
return new PluginResponseFilter[]{ new com.dgf.uschb.reclassify.AddDocuemntResponseFilter()};
}
public com.ibm.ecm.extension.PluginAction[] getActions() {
return new com.ibm.ecm.extension.PluginAction[]{new com.dgf.uschb.reclassify.RelabelAction()};
}
public com.ibm.ecm.extension.PluginService[] getServices() {
return new com.ibm.ecm.extension.PluginService[] { new com.dgf.uschb.reclassify.RelabelService(),new com.dgf.uschb.reclassify.RelabelDocumentTypeServices() };
}
}
-----------
public class AddDocuemntResponseFilter extends PluginResponseFilter {
public String[] getFilteredServices() {
return new String[] { "/p8/addItem"/*,"/p8/addToFolder"*/ };
}
}
-----------
public class RelabelService extends PluginService {
}
#IBMContentNavigator(ICN)#Support#SupportMigration