harald_schlager_8259

JAVA API - TextDocumentation getContent()

Discussion created by harald_schlager_8259 on Dec 9, 2016
Latest reply on Jan 8, 2017 by Andreas_Buesching_6102

hi,

I can set the content of an object ( TAB "Docu" ) with setContent('fluffy'), but when I'am trying to get the Text with the method

getContent(), I am getting an emty String. getName() and getType() are working. Pseudocode:

OpenObject open1 = new OpenObject(new UC4ObjectName("TEST.PLAN"),false,false);

 

          aeClient.sendToAE(open1);

 

          TextDocumentation td1 = open1.getUC4Object().docu().textDocumentation("Docu");

 

          System.out.println(td1.getContent());

I tried that with an DOCU, Workflow and SCRI Object. Any Idea ?

Thanks,

Harald

 

 

Outcomes