Skip to main content
7-Bedrock
January 11, 2024
Solved

How to get an additional Test Result field in gateway export to Word?

  • January 11, 2024
  • 1 reply
  • 2041 views

Hi,

 

I have added a new test result field called "Test Execution Date" and added this field to the visible fields of the Test Result type.

But when I add this new field to the gateway mapping file where the predefined Verdict and Annotation fields are mapped:

<map name="Test Result">
<field internal="Verdict" external="Verdict" direction="out" />
<field internal="Test Execution Date" external="Test Execution Date" direction="out" />
<field internal="Annotation" external="Annotation" direction="out">
<default> </default>
</field>
</map>

I get an error when I try to export a document:

Error: MKS124814: Cannot show view information: MKS6411939: Field "Test Execution Date" does not exist.

 

Any idea how I can get this field into my Word export?

Best answer by HK1

In the end I did not need to adjust the mapping file because we have some Java code in between which makes the new field available for us to use in the export Word template.

1 reply

24-Ruby III
January 12, 2024

Same issue - "MKS124814: Cannot show view information: MKS6411939: Field "ALM_Shared Text" does not exist": https://community.ptc.com/t5/Windchill-Systems-Software/MKS124814-Cannot-show-view-information-MKS6411939-Field-quot-ALM/td-p/645682

HK17-BedrockAuthor
7-Bedrock
January 12, 2024

The error is the same, but not the root cause. In your referred post it is about a field "ALM"Shared Text" that really does not exist if you try to find it with the Admin client, We resolved these "ALM_" kind of errors long time ago.

In my case I add a new field to the in-build type "Test Result". If I would add the field to e.g. type Requirement and adjust the corresponding mapping file, I will not get this error. It has something to do with the type "Test Result".

HK17-BedrockAuthorAnswer
7-Bedrock
January 16, 2024

In the end I did not need to adjust the mapping file because we have some Java code in between which makes the new field available for us to use in the export Word template.