Home Analyst Portal

Prevent customers from updating closed work items

Lee_SnowdenLee_Snowden Customer IT Monkey ✭

Hi,  this is my first question for the community so go easy on me :)

We would like to prevent customers from adding updates to closed work items on the portal.  Or at least flash up a notification asking customers to raise a new work item if the status of the item they are updating is closed.

what would be the best way to go about this?

Thanks,

Lee

Best Answer

  • Nick_FlintNick_Flint Customer Advanced IT Monkey ✭✭✭
    edited May 2019 Answer ✓
    You could simply hide the save/apply/cancel buttons by adding something like this to the custom.js file:
    
    $(document).ready(function(){
         var vm = pageForm.viewModel;
    		
         if (vm.Status.Name == "Closed"){
              $("#drawer-taskbar").hide();
         }
    });
    

Answers

  • Nick_FlintNick_Flint Customer Advanced IT Monkey ✭✭✭
    edited May 2019 Answer ✓
    You could simply hide the save/apply/cancel buttons by adding something like this to the custom.js file:
    
    $(document).ready(function(){
         var vm = pageForm.viewModel;
    		
         if (vm.Status.Name == "Closed"){
              $("#drawer-taskbar").hide();
         }
    });
    
  • Konstantin_Slavin-BoKonstantin_Slavin-Bo Customer Ninja IT Monkey ✭✭✭✭
    Aren't the forms disabled by default, when the status is closed?
  • Shane_WhiteShane_White Cireson Support Super IT Monkey ✭✭✭✭✭
    @Konstantin_Slavin-Bo

    Yes you are correct but I think in this case he is referring to the Action Log which is not disabled by default.

    Thanks,
    Shane.
  • Lee_SnowdenLee_Snowden Customer IT Monkey ✭
    edited May 2019

    Hi, that's  what we thought too!  but we've tested with customers and they are able to update closed WIs

    EDIT:  cheers @Shane_White , that appears to be the case :-)

Sign In or Register to comment.