Hi All,
We have a customer who is on FileNet 5.1 and they have a lot of customisations which were written for Process Engine in that version. We're in the early stages of planning an upgrade to FileNet 5.5.x and are trying to rewrite some of their customisations for CPE.
As you will know, some of the classes which existed in PE5.1 no longer exist in CPE5.5.
For example, in the code sample below, opsUtil no longer exists:
import com.filenet.wcm.toolkit.server.operations.util.opsUtil;
public String getDocId(VWAttachment VWConfigAttach,String DocName)
throws WcmException, VWException {
InputStream isDocGenConfig = null;
opsUtil util = new opsUtil();
Session ceSession = util.getSession();
com.filenet.wcm.api.GettableObject getConfigObject = util
.getAttachment(VWConfigAttach, ceSession);
Document docConfig = (Document) getConfigObject;
isDocGenConfig = docConfig.getContent();
SusiOperations.fetchConfig(isDocGenConfig);
String publicKey = DocGenConfig.getProperty("docGen." + DocName);
return publicKey;
}
Is there any sample code which we can use to update the above, or is there anyone available who could give us some pointers please?
Many thanks,
Shaun
------------------------------
Shaun McDowall
------------------------------