Forum Discussion

6 Replies

  • Yes the solution was designed for 11Sp15

     

    The code, which was written in theory, should also work for Release 14+ 

     

    did you face any issues applying this package?

    • Breton's avatar
      Breton
      Ideator III

      hello,
      After creating new button consistent with ARAS 17 :
      1) display of basket works fine



      2) 2 issues on method (Inita and when I select basket to vote)
      labs_init_WorkflowVote

      labs_WorkflowDialog

       

       

       

  • As already mentioned before the project still should work. But since Innovator 14 the way "init" Methods work has changed a bit. 

    E.g. the shown project still uses 

    var states = aras.evalMethod('cui_reinit_calc_tearoff_states');

    Newer Aras versions have simplified this one.

    First I would try to remove the "init" Method from the CUI element for testing purposes.  This way you can test, if the more important "Click" Method still works. Updating the "Init" Method shouldn´t be hard to do. 

    EDIT: I assume your last picture show what happens when you "Click" the button? Than the click Method needs some upgrade too. The dialog call definitely looks outdated, but I still expect it to work.

    But newer Aras versions don´t have content: "InBasket/InBasket-VoteDialog.aspx" any more. It´s now a html file, so change the file ending to html.

  • eli_donahue's avatar
    eli_donahue
    Community Manager

    Hey all, I'm currently working on updating this project to work with R14+. It does need some updates to the methods, but I also ran into an import issue that I haven't seen anyone mention. Maybe that's because I'm testing on R35? (I don't have an R17 instance handy)

    The package tries to add a CommandBarSectionItem relationship to a CommandBarSection that doesn't exist in my database (com.aras.innovator.cui_default.twt_normal), so the import utility throws this error:

    I've decided to add the voting button to the itemview.itemcommandbar.default CommandBarSection instead. It will have the same effect as the original package, but it should be compatible with R14+. 

    I'll push the update to a PR on the GitHub repo shortly and link it in this thread if anyone would like to help test it with other versions. 🙂

    • angela's avatar
      angela
      Catalyst II

      I can add some swarm intelligence:

      com.aras.innovator.cui_default.xyz was a thing in I11. In I12 we have these structures in parallel with the more modern  section types like itemview.itemcommandbar.default . The modern types are much easier to understand and to work with. 

      In I12 most of the modern Section types are already implemented, so we hardly have to use the old cui_default structures from I11. Native I14 finished the transition from old to new structures. But I guess when somebody upgrades from I11/I12 to I14, these good old CUI section items might have survived? 

      Regarding the project, the I11 version should still work for  I12 if somebody need this for I12. But for I12, I would rather downgrade the upcoming I14 version, cause some of the code is really a bit old. E.g. don´t use "top.aras" in 2026. 

  • Hi Breton,

    Assuming the purpose is to complete the Workflow Task corresponding the displayed item,I suggest to use the Sign Offs tabs, that is a standard por CM Item Types and it is easily adaptable to any Item type with workflows. There is also a comunity project, a bit more complex but with a nice interface. In both cases, users feel  very comfortablewith the interface and usability.

    https://github.com/ArasLabs/interactive-workflow-graph