Forum Discussion
I haven´t tested I15 yet, but I want to be prepared :).
I only expected C# Method to be affected from the .NET Core changes. If there something else had change, it´s definitely helpful to know about these kind of stuff.
My suggestion: Do like Aras do. They most of the time use: var inn = this.getInnovator(); in JS Methods. Maybe check some existing Methods how Aras calls the Innovator object.
In addition, don´t use top.aras. Top is deprecated since many versions. In the past it most of the time didn´t make any trouble, but maybe today it will.
- jeff_stroh4 years agoCreator II
Thanks angela, that command gives the same error. We've opened up a bug report on this one with Aras as we've tried just about every variation of it from the Programmer's guide and nothing seems to be working. OOTB methods don't see to have something exactly the same, but those that have similar commands seem to be referring to the same commands, so stumped on this..
- angela4 years agoCatalyst II
Crazy sh#% if this is really a bug! This one alone would make the hole release unusable.
Do you really need the Innovator object? Have you tried "this.newItem"? Sure you are in JS, but not in a Form but a TGV.
- jeff_stroh4 years agoCreator II
It's very strange. Have tried following combos:
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:3ec7a2a4-62ac-45d3-956e-711183c94495:type=javascript&text=var%20innovator%20%3D%20new%20Innovator%28%29%3B%0D%0Avar%20pr%20%3D%20innovator.newItem%28%22PR%22%2C%22add%22%29]
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:8b871be7-5d32-4b22-8a7f-83c186ff00e1:type=javascript&text=var%20pr%20%3D%20new%20Item%28%29%3B%0D%0Avar%20pr%20%3D%20this.newItem%28%22PR%22%2C%22add%22%29%3B]
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:7beed4b6-ccfa-4bbf-a15b-3f7c80c0d023:type=javascript&text=var%20myInnovator%20%3D%20this.getInnovator%28%29%3B%0D%0Avar%20pr%20%3D%20myInnovator.newItem%28%22PR%22%2C%22add%22%29%3B]
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:26bb3bd2-2872-4231-b986-5e5fd12e801a:type=javascript&text=var%20pr%20%3D%20this.newItem%28%22PR%22%2C%22add%22%29%3B]
[embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:ef794eda-5599-491a-bd2a-5c6ee5bcf6e6:type=javascript&text=var%20pr%20%3D%20aras.newItem%28%22PR%22%2C%22add%22%29%3B]