I was trying to use “this.entity.scrollview.contentEntity.children.length” are got exception
Uncaught TypeError: Cannot read properties of undefined (reading ‘length’)
and after i print out the log , the contentEntity became string “d9d92348-142f-4cc4-b52f-fd9e719f7e76” and children became “undefined”
any advise ?
==================
var content = this.entity.scrollview.contentEntity;
if( typeof(content) == 'string'){
console.log(`find by guid: ${content}`);
content = this.app.root.findByGuid(content);
}
i found this hack fix is work for now