AnsweredAssumed Answered

error getting aspects for content

Question asked by targa2000 on Feb 1, 2010
Latest reply on Feb 18, 2010 by targa2000
get reference to content, added custom aspect, then error when tried to retrieve aspects,

           var hmiFile = space.childByNamePath(nameOfFile);         

          // attach metadata to content        
          var fileAspects = hmiFile.aspects;  //error

error message:


in debugger aspects not defined for hmiFile.  What am I doing wrong?