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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X

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

SriKrishn
6-Contributor

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

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". 

 

1 ACCEPTED SOLUTION

Accepted Solutions

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

 

View solution in original post

3 REPLIES 3

Hi @SriKrishn 

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

SriKrishn
6-Contributor
(To:Rocket_Max)

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. 

 

 

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

 

Top Tags