Wednesday, February 3, 2021

FileNet- PE API - Java code to Connect Process Engine(Creating vw session object )


FileNet Process Engine API


 \\Connecting to Process Engine using PE API

public VWSession getVWSession(){

  try{

         vwSession=new VWSession(); \\Creating VWSession Object

vwSession.setBootstrapCEURI("<your content engine url>");

  vwSession.logon("userName", "password", connectionPointObject);

  return vwSession;

  }

  catch(Exception e){

                        e.printStackTrace();

}

  return null;

  }

No comments:

Post a Comment