IT Monkey:   Click Here to Help Me Build the Agenda for Upcoming Cireson Webinars!

make SR Change Status Implementation Notes Optional

Rudy_Berkvens1Rudy_Berkvens1 Customer IT Monkey ✭
I'm trying to make the Implementation Notes for SR optional. I have found the two places in the C:\inetpub\CiresonPortal\Scripts\forms\tasks\changeStatus\controller.js files where to do this. 

                    case serviceRequestCompleted: //sr completed (show implementation section)
                        vmWindow.set("showResolution", true);
                        vmWindow.set("requireResolution", false)
                        break;

and 

                var implementationNotesProperties = {
                    PropertyName: "Notes",
                    PropertyDisplayName: "Implementationnotes",
                    Required: false,
                    MaxLength: 4000,
                    Rows: 5,
                    vm: vm
                };

Question is where do i put this custom code? I'm assuming changing it directly in the file runs the risk of it getting overwritten during an upgrade. 

Thanks,

Answers

  • Billy_WilsonBilly_Wilson Cireson Solution Architect Advanced IT Monkey ✭✭✭
    Copy the .js file to the root of the CustomSpace folder and leave the original where it is. The Portal is designed to look for the file there 1st before going to the default folder.
  • Rudy_Berkvens1Rudy_Berkvens1 Customer IT Monkey ✭
    Thanks for the comment Billy. I'm not having any luck with this. The portal does not seem to load the controller.js file from the customspace folder. I suspect that it wouldn't work for the controller.js file as there are many of them in many different folders. 
Sign In or Register to comment.