Innovator is not defined Client Side Error

I've got a very simple method that creates a new PR from a button on a TGV.  This worked perfectly in V12, but is not working in our V15 instance.  Any help would be greatly appreciated!

The error message is: The method 'create_PR_from_tgv' failed. Innovator is not defined Client Side Error

The code is below:

var inn = new Innovator();

var pr = inn.newItem("PR","add");
pr.setProperty("parent", thisItem.getID());

top.aras.uiShowItemEx(pr.node, "tab view", true, true);

Parents Reply
  • Fixed now.  Aras support recommended use of the aras.newIOMInnovator();.  From there, was missing a separate command for defining the "this".  Haven't replaced the "top" command yet, but this works from either a form button or the TGV.

    var inn = aras.newIOMInnovator();
    var thisItem = parent.thisItem;
    
    var pr = inn.newItem("PR","add");
    pr.setProperty("_impactedproject", thisItem.getID());
    
    top.aras.uiShowItemEx(pr.node, "tab view", true, true);

Children
No Data