Home Analyst Portal

Edit Existing Comments

Peter_WilkinsonPeter_Wilkinson Customer IT Monkey ✭

Hi all,

I've been trying to figure out if its possible to edit an existing Analyst/End User Comment using the portal.

Reason for wanting this is that sometimes comments can be inappropriate or contain sensitive data (passwords) that shouldn't be in there. All I've found online are about creating new comments but all I want to do is change existing ones.

Been playing around with it in custom.js and I can do something along the lines of:

pageForm.viewModel.AppliesToTroubleTicket[0].set("Comment", "My new comment content"));

Seems fine, I can see my changes in the viewModel but clicking Apply/Submit doesn't save them.

Is there any way to accomplish something like this?

Thanks.

Answers

  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭

    This might work for you. I'd recommend adjusting the regex patterns and disallowed words to suit your needs. Also beware that this will remove everything after "password" as a means of trying to make sure no password data is being sent.

Sign In or Register to comment.