Skip to main content
1-Visitor
March 15, 2014
Solved

How to find WTPartUsageLink by child part

  • March 15, 2014
  • 1 reply
  • 1833 views

Hi.

I need to find WTPartUsageLinks by child part. Can anyone provide java code to construct QuerySpec?

Thanks.

Best answer by VasiliyRepecki

PersistenceHelper.manager.navigate(childPart.getMaster(), WTPartUsageLink.USED_BY_ROLE, WTPartUsageLink.class, false);

1 reply

VasiliyRepecki1-VisitorAuthorAnswer
1-Visitor
March 15, 2014

PersistenceHelper.manager.navigate(childPart.getMaster(), WTPartUsageLink.USED_BY_ROLE, WTPartUsageLink.class, false);