Skip to main content
1-Visitor
May 4, 2016
Question

how can i get a ContainerRef

  • May 4, 2016
  • 1 reply
  • 2116 views

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 !

1 reply

1-Visitor
May 4, 2016
String container_path = "/wt.inf.container.OrgContainer=ORGName/wt.pdmlink.PDMLinkProduct=ProductName";
WTContainerRef containerRef = WTContainerHelper.service.getByPath(container_path);

Regards

Binesh Kumar

Medtronic - MITG

abennis1-VisitorAuthor
1-Visitor
May 4, 2016

Thanks a lot that works