Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: How to search EPMDocument in folder or container using WC APIs

$
0
0

Thanks Kaushik but I Getting below error.

 

It is for the line

 

 

wt.query.QueryException

 

(EPMDocument.class,EPMDocument.CONTAINER_NAME,SearchCondition.EQUAL,"mytest2"),new int[] { 0 });

 

: Attribute "containerReference.name" is not a member of class "class wt.epm.EPMDocument"

Nested exception is: Attribute "containerReference.name" is not a member of class "class wt.epm.EPMDocument"; nested exception is:

(wt.pom.pomResource/0)

wt.pom.PersistenceException

: A persistence error occurred. System message follows:

Nested exception is: (wt.introspection.introspectionResource/2)

wt.introspection.WTIntrospectionException

: containerReference.name column not found for V_EPMDocument.

at wt.introspection.DatabaseViewInfo.getColumnDescriptor(

DatabaseViewInfo.java:302

)

at wt.pds.DatabaseInfoUtilities.getValidColumnDescriptor(

DatabaseInfoUtilities.java:339

)

at wt.pds.DatabaseInfoUtilities.getValidColumnDescriptor(

DatabaseInfoUtilities.java:377

)

at wt.pds.DatabaseInfoUtilities.getPersistableColumnDescriptor(

DatabaseInfoUtilities.java:666

)

at wt.query.ClassAttribute.validate(

ClassAttribute.java:1054

)

at wt.query.ClassAttribute.setAttributeName(

ClassAttribute.java:218

)

at wt.query.ClassAttribute.<init>(

ClassAttribute.java:468

)

at wt.query.SearchCondition.initialize(

SearchCondition.java:2234

)

at wt.query.SearchCondition.<init>(

SearchCondition.java:1433

)

at wt.query.SearchCondition.<init>(

SearchCondition.java:1388

)

at com.slb.test.EPMSearch.main(

EPMSearch.java:51

)


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>