Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
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.
Solved! Go to Solution.
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
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