Hiding - Assigned to users

Jeffrey_RutkowskiJeffrey_Rutkowski Customer IT Monkey ✭
Hi Cireson Community

As per our ICT stakeholder recommendations we were asked to mask to End Users who is or has been assigned their Service Requests or Incidents.

In order to do this we made a custom js + css file which would do this. In effect the arrowheads would disappear.
Please see the custom.zip file attached.

We have in fact encountered an issue whereby when an End User makes a commend then selects add the arrowheads reappear and can be expanded.

The arrowheads only disappear when the End User hits apply on the form and the page reloads.

Would anyone know a way in which this is prevented from occurring?

Best Answer

Answers

  • Jeffrey_RutkowskiJeffrey_Rutkowski Customer IT Monkey ✭
    Jeff_Lang said:
    seems to me it would be easier to just remove the assigned to from the end user form completely with a custom service.js file so that it never gets added to the page for end users

    Hi Jeff

    Would you have knowledge to elaborate on what she should specifically include in our js file in order to do this?

    Cheers

    Jeff :smile:

  • Geoff_RossGeoff_Ross Cireson Consultant Super IT Monkey ✭✭✭✭✭
    Saw this thread of Jeff's and had to get involved.

    @Jeffrey_Rutkowski
    What exactly are you trying to hide? @Jeff_Lang is suggesting you hide the Assigned To control on the IR and SR forms by making a copy of and editing Incident.js and ServiceRequest.js respectively as per

    https://support.cireson.com/KnowledgeBase/View/51#/

    However, I think you also are trying to do something with the action log to hide the name of the person who has written a comment.

    Firstly, you can just hide the whole action log for EndUsers using the same technique as above. If you want to keep it but hide parts of it, then you need to re-hide them when a new comment is added. You can bind to the click of the add button to re-run code.

    $(".k-button[data-bind*=addComment]").on("click", function () {
        // do work
    });
    Good luck.

    Geoff
Sign In or Register to comment.