Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Why is the NAME attribute undefined for tasks?
Robert_Davies_(unlondonadmin_-_(deleted))
Hi.I am using LAPI8.0.2 for Java to access the task inbox. I can successfully retrieve the tasks in the inbox, however all of their NAME attributes are undefined although they all have names when viewed via the browser.To test this I wrote the following code:LLValue data = inboxVal.toValue( item, "data" );ps.println( "Task: "+item+" is of type: "+( ( kind ==0 ) ? "Workflow" : "Project" ) );LLNameEnumeration nameEnum = data.enumerateNames();if( nameEnum != null ) {while( nameEnum.hasMoreElements() ) { String name = nameEnum.nextName(); LLValue val = data.toValue( name ); ps.println( name+" is type "+getTypeName( val.type() ) );}}ps.println();The results are attached.Can someone from OTC tell me why the NAME attribute is undefined for Project tasks?Best regards/matt.
Find more posts tagged with
Comments
There are no comments yet