I guess you have it figured out already by now. Use following statement before you create EPMDoc object.
wt.epm.EPMContextHelper.setApplication(wt.epm.EPMApplicationType.toEPMApplicationType("EPM"));
I guess you have it figured out already by now. Use following statement before you create EPMDoc object.
wt.epm.EPMContextHelper.setApplication(wt.epm.EPMApplicationType.toEPMApplicationType("EPM"));