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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

org.mozilla.javascript.UniqueTag@5c998613: NOT_FOUND issue

SM_10230689
10-Marble

org.mozilla.javascript.UniqueTag@5c998613: NOT_FOUND issue

SM_10230689_1-1661372012134.png

In the above screenshot i am getting value for propName in line 2 , but while using same value in (nested loop) line 3 getting issue as "org.mozilla.javascript.UniqueTag@5c998613: NOT_FOUND". 

But while using actual value instead of propName in line no 3, its working fine.

 

Please let me know if any issue is there in code. Thanks in advance.

 

1 ACCEPTED SOLUTION

Accepted Solutions

@SM_10230689 ,

 

Try: 

 

results[propName].Content.Items.length;

 

Right now your code is looking for a property called "propName" on your results object... to use the value that you've assigned to propName, it needs to be in square brackets.

 

-Nick

View solution in original post

1 REPLY 1

@SM_10230689 ,

 

Try: 

 

results[propName].Content.Items.length;

 

Right now your code is looking for a property called "propName" on your results object... to use the value that you've assigned to propName, it needs to be in square brackets.

 

-Nick

Top Tags