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

Translate the entire conversation x

`getLinkOtherSideObjects` method while working on a configMastersLink

SriTalatam
12-Amethyst

`getLinkOtherSideObjects` method while working on a configMastersLink

In `configurableLinkRoleATable.jsp`, the method `getRoleBLinkObjects` from the class `GetOtherSideObjectsForConfigurableLinkCommand` is typically used to display the “side B” parts of a config link.
Has anyone experimented with the related method `getLinkOtherSideObjects` in the same class and if so, what arguments did you pass? I’m curious whether it can be leveraged to show the *opposite side* of the link (e.g. Part B when I’m on Part A, and vice versa).
My use case as mentiond above, involves a **custom ConfigMastersLink** where there isn’t a strict parent/child relationship — it’s simply two parts associated with each other.

I tried like this, but couldn’t determine what other string parameters (besides `roleAObject` or `roleBObject`) are valid:

<%-- Get a component model for our table --%>
<jca:getModel var="tableModel" descriptor="${configurableLinksRoleBObjectsTable}"
serviceName="com.ptc.windchill.enterprise.object.commands.GetOtherSideObjectsForConfigurableLinkCommand"
methodName="getLinkOtherSideObjects">
<jca:addServiceArgument value="${commandBean}" type="com.ptc.netmarkets.util.beans.NmCommandBean" />
<jca:addServiceArgument value="roleBObject" type="java.lang.String"/>
</jca:getModel>

0 REPLIES 0
Announcements
Top Tags