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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Translate the entire conversation x

Info-Engine Query-Tree webject

DhanshriTelang
7-Bedrock

Info-Engine Query-Tree webject

I am using Windchill PDMLink Release 12.0 and Datecode with CPS 12.0.2.15

unable to fetch usagelink attribute using element.getValue("quantity.unit") in info-engine task. Using Query-Tree webject.

Here are the errors that I faced
unable to fetch usagelink attribute using element.getValue("quantity.unit") in info-engine task. Using Query-Tree webject.
It's simply returning null value while in info-engine output value is shown.
ACCEPTED SOLUTION

Accepted Solutions

Hi @HelesicPetr,

 

below line of code worked to fetch usage link quantity-

element.getValue("wt.part.WTPartUsageLink.quantity.amount")

View solution in original post

4 REPLIES 4

Hi @DhanshriTelang 

 

Thank you for your question! 

 

I’d like to recommend to bring more details and context to your initial inquiry. For example:

  • Have you confirmed that the attribute is exposed and accessible in the Info-Engine mapping configuration?
  • Are you using the correct element reference and path in the script (e.g., nested elements)?
  • Have you tried accessing the attribute using an alternative key or checking case sensitivity?

Please add screenshot(s) to better understand what you are trying to do in your process. 

 

Please refer to this guideline to make your questions more likely to receive a quick and useful answer. 

This will increase your chances to receive meaningful help from other Community members. 

 

Here's what a good question for Windchill looks like. 

 

Thank you for your participation and please let me know if you need further assistance! 

 

Best regards,


Catalina
PTC Community Moderator
PTC

Resolved.. thank you

Hi @DhanshriTelang 

Could you describe your solution? 

PetrH

Hi @HelesicPetr,

 

below line of code worked to fetch usage link quantity-

element.getValue("wt.part.WTPartUsageLink.quantity.amount")

Announcements
Top Tags