Topic
  • 1 reply
  • Latest Post - ‏2012-07-24T15:57:31Z by SystemAdmin
SystemAdmin
SystemAdmin
40 Posts

Pinned topic What is the application id ?

‏2012-07-24T14:23:25Z |
I'm methodically importing all the sample code from the Infocenter, and trying to make it work, for my own education. Can someone describe the value it is looking for in the lsAppId variable?

private Session getSession()
{
String lsUserId = "p8admin";
String lsPassword = "filenet";
String lsDomain = "mydemodomain";
String lsAppId = "??";
Session loSession = ObjectFactory.getSession(lsAppId, lsUserId,
lsPassword, lsDomain);
loSession.verify();
return loSession;
}
Updated on 2012-07-24T15:57:31Z at 2012-07-24T15:57:31Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    40 Posts

    Re: What is the application id ?

    ‏2012-07-24T15:57:31Z  
    Found it in another sample:
    // Specify the Content Engine server name
    String lsServer = "??";
    // Specify the user ID
    String userId = "??";
    // Specify the password
    String password = "??";

    String appId = "??"; // a fully-qualified class name is a good choice

    String remoteServerUrl = "??";
    String remoteServerDownloadUrl = "??";
    String remoteServerUploadUrl = "??";