cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

how can i get a ContainerRef

abennis
2-Guest

how can i get a ContainerRef

Hello everyone,

i'm windchill beginner, and i want to use this method in ReportTemplateQueryHelper to find template

ReportTemplatefind(String a_nameValue, WTContainerRef a_containerReference, boolean a_hierarchicalContainerLookup)

but i don't know wath to put in a_containerReference, how to get the containerReference?

Thanks for Help !

2 REPLIES 2

String container_path = "/wt.inf.container.OrgContainer=ORGName/wt.pdmlink.PDMLinkProduct=ProductName";
WTContainerRef containerRef = WTContainerHelper.service.getByPath(container_path);

Regards

Binesh Kumar

Medtronic - MITG

Thanks a lot that works

Top Tags