Hey guys! Please help: I have a desktop app I was developing on volt 9.2.54. I updated the volt to 9.5.10 and now the app starts with the following error:
"
Uncaught TypeError: this.forceLayout is not a function
"
Has anyone gone through this? I am unable to resolve. Note: In Preview mode, the problem does not occur.
Hi @Rubens Marcelo,
this.forceLayout seems to be incorrect unless a view object is assigned to this. forceLayout has to be invoked on some view/flexContainer/form.
Can you update the code like this.view.forceLayout() OR call forceLayout on a desired flexContainer?
I suspect IRIS 9.2 version was not strictly checking the code but it is in IRIS 9.5 hence you are getting the error.
Let us know if it helps.
Thank you,
Anurag
Perfect!!!! that was it. Thanks again for everyone's attention!
Hello @Rubens Marcelo ,
Also, please check the following article:
https://support.hcltechsw.com/csm?id=kb_article&sysparm_article=KB0103716
Thank you!