Skip to main content
7-Bedrock
October 25, 2023
Solved

Adding Actions to "Referenced By Documents" table (Under Related Objects tab of a Document)

  • October 25, 2023
  • 1 reply
  • 2135 views

In Windchill PDM Link, under a Document's "Related Objects" tab, Is it possible to have actions on "Referenced By Documents" table just like how "References Documents" table has actions to add, create, copy paste. Please go through the screenshot attached for clear understanding. Is it possible to enable these actions through Configuration? Please suggest the possible ways and steps to do it. Thanks in advance. 

 

Navigation : Document > Related Objects > "Referenced By Documents" 

Windchill Version: 12.1.2.0

Acceptance criteria: User should be able to link documents which appear as "Referenced By Documents". 

 

Best answer by HelesicPetr

Hi @SriKrishn 

It is not so simple as you think.

 

To customize the menu you need to find the tableBuilder class where the menu can be defined.

Now the tableBuilder does not contain the menu definition that can be used

so you can not find the actionMenu element in the actionModels xml file for the specific table. 

 

for example the table Reference By Document is defined in a JSP file

<Windchill>\codebase\netmarkets\jsp\document\relatedDocumentsReferencedBy.jsp

there is menu but the actins are no shown by validator in this specific table.

HelesicPetr_0-1698659987644.png

 

here is example how the menu is defined

 

 

<jca:describeColumn id="nmActions" label="Actions" sortable="false">
<jca:setComponentProperty key="actionModel" value="CustEx_tree_row_level_actions"/>
</jca:describeColumn>

 

 

 

PS> all action buttons need to be created as the custom actions to create a link and manipulate with it in the table. 

 

PetrH

 

1 reply

17-Peridot
October 25, 2023

Hi @SriKrishn 

Of course, but this is a considerable workload that requires a lot of customization

SriKrishn7-BedrockAuthor
7-Bedrock
October 30, 2023

Thanks for your prompt response. This "Referenced By Documents" table does not have actions in UI. I could not even find the action model report.

Could you please let me know how to define actions in this table. I am not able to find the OOTB action model file and I am not able to understand where to define the actions. Please suggest! Thank you. 

 

 

HelesicPetr
22-Sapphire II
22-Sapphire II
October 30, 2023

Hi @SriKrishn 

It is not so simple as you think.

 

To customize the menu you need to find the tableBuilder class where the menu can be defined.

Now the tableBuilder does not contain the menu definition that can be used

so you can not find the actionMenu element in the actionModels xml file for the specific table. 

 

for example the table Reference By Document is defined in a JSP file

<Windchill>\codebase\netmarkets\jsp\document\relatedDocumentsReferencedBy.jsp

there is menu but the actins are no shown by validator in this specific table.

HelesicPetr_0-1698659987644.png

 

here is example how the menu is defined

 

 

<jca:describeColumn id="nmActions" label="Actions" sortable="false">
<jca:setComponentProperty key="actionModel" value="CustEx_tree_row_level_actions"/>
</jca:describeColumn>

 

 

 

PS> all action buttons need to be created as the custom actions to create a link and manipulate with it in the table. 

 

PetrH