Okay, I've narrowed down the issues but not sure why it's still having issues.
<cfdump var="#cfData.data[i].faqChildren.categories.5798bea791121cc46fd77a45.subcontent#" >
<p>Length: #arrayLen(cfData.data[i].faqChildren.categories.5798bea791121cc46fd77a45.subcontent)# </p>
The dump shows the following so I think there is an array but the output length shows the "Error in custom script module". Any thoughts?
I did an IsArray(cfData.data[i].faqChildren.categories.5798bea791121cc46fd77a45.subconten) and it says no. So, if it's not an array then what is it based on the image I've uploaded above?
Okay, so I have a structure instead of an array. How do I retrieve all the name from this structure? I don't want to manually specify each ID in the dot notation to access the value. There must be some more efficient ways to retrieve all the data within a struct.
Okay, I found the answer to my question. Replace line 13-15 with the following and now it's giving me the name that I need.
<cfloop collection="#cfData.data[i].faqChildren.categories.5798bea791121cc46fd77a45.subcontent#" item="id"> <li>Cell Name: #cfData.data[i].faqChildren.categories.5798bea791121cc46fd77a45.subcontent[id].object.name#</li> </cfloop>