Skip to main content
9-Granite
August 19, 2022
Solved

Why does my action is hidden by a validator which I did't wrote it in the action.xml.

  • August 19, 2022
  • 2 replies
  • 2891 views

_10375061_0-1660881011407.png

 

_10375061_1-1660881078875.png

_10375061_2-1660881107784.png

 

 

Best answer by BjoernRueegg

I would suggest du rename the action. There is an OOTB validator defined in codebase/com/ptc/windchill/ixb/ixb.service.properties.xconf

 

<Option requestor="null" serviceClass="com.ptc.windchill.ixb.importer.jca.validator.ImportFromSpreadsheetActionValidator" selector="createImportJob"/>

 

2 replies

17-Peridot
August 19, 2022

I would try to rename the actionModel object type from import to e.g. custImport. Perhaps there is already another model called "import".

 

guide_me9-GraniteAuthor
9-Granite
August 19, 2022

pls look up my reply to @avillanueva 

avillanueva
23-Emerald I
23-Emerald I
August 19, 2022

I could be the generic action name. You might be picking up a universal filter. You can also try excluding the universal filter:

<objecttype name="navigation" class=""
resourceBundle="com.ptc.core.ui.navigationRB">
<action name="home" renderType="GENERAL">
<command class="netmarkets"
method="servlet/Navigation?tab=home" windowType="page"/>
<excludeFilter name="markedForDelete" />
</action>
guide_me9-GraniteAuthor
9-Granite
August 19, 2022

_10375061_0-1660915453796.png

I added a another action below the first one. The "linkDocAndPartWithExcel" action do not missing and its filter is not the same as first action.

_10375061_1-1660915575693.png

 

 

17-Peridot
August 19, 2022

I would suggest du rename the action. There is an OOTB validator defined in codebase/com/ptc/windchill/ixb/ixb.service.properties.xconf

 

<Option requestor="null" serviceClass="com.ptc.windchill.ixb.importer.jca.validator.ImportFromSpreadsheetActionValidator" selector="createImportJob"/>