Forum Discussion
Is this one based on the "Method calls" sample from my own blog? This line looks far too familiar: "return; //no alert necessary, error message thrown by server method"
Some quick ideas:
- Don´t use the "top" attribute. It´s aras.uiReShowItem and not top.aras.uiReShowItem.
- It´s document.thisItem.getID() and not document.thisItem.getId()
Hi, yes it's very much based on your sample. It's very strange because I put the same development into our UAT environment and it works.
I'll make those changes and see if it removes the problem.
Many thanks.
- angela1 year agoCatalyst II
It´s also aras.newIOMInnovator() and not aras.IomInnovator;
And check the browser debugger for error messages.
In general, always question samples you find on the internet. They are often outdated regarding both Innovator and JavaScript coding style!
The training area in the subscriber portal has some hidden documents where Aras describes the does and don´ts in modern´ programming in Innovator. E.g. don´t use "top", don´t use "var", ...
You are not forced to program as if you were still using Innovator 9.4 with Netscape Navigator:
Edit: I have discovered that aras.IomInnovator; seems to be fine too, I just never used this variant :)