Skip to main content
Solved

Remove "Request for" within Service Requests

  • December 6, 2021
  • 6 replies
  • 2091 views

I’d like to remove the “Request for” field within service request items in our service catalog, but haven’t been able to find anything that speaks to doing this.
 

Within a service request item, when I now select the field, I get this pop-up. I would love to uncheck the ‘Visibility in portal’ which I think would achieve my end goal. However I’m unable to uncheck that box. 


 

Has anybody been able to do this?

Best answer by Glavin Crasta

Another easy approach is to hide the checkbox itself by adding the below script in Admin → Helpdesk rebranding → Customize portal → CSS

body[page="catalog_item"] #side-modal #side-modal-content .place-request-container .request-someone-container .request-container {
    display: none;
}

 

View original
Did this topic help you find an answer to your question?

6 replies

Forum|alt.badge.img
  • 6 replies
  • January 31, 2022

Same question that i just asked support today and they came back with the following. As we heavily customise our Page Layout, i’ll need to get our 3rd party support to do this part so it doesn’t affect the overall look and feel. Feel free to give the below a go though in Sandbox (just in case)

Please navigate to Admin --> Helpdesk rebranding --> customise portal -->Layout and pages --> and paste the below code in the Page Layout box.

 

<script>
  jQuery(document).on('SideModalOpen', function() {
setTimeout(function() {
  jQuery(".request-someone-container").hide();
  jQuery("#requester_email").prop("disabled",true)
        });
   });
    </script>


Glavin Crasta
Top Contributor
Forum|alt.badge.img+6
  • Top Contributor
  • 44 replies
  • Answer
  • January 31, 2022

Another easy approach is to hide the checkbox itself by adding the below script in Admin → Helpdesk rebranding → Customize portal → CSS

body[page="catalog_item"] #side-modal #side-modal-content .place-request-container .request-someone-container .request-container {
    display: none;
}

 


Forum|alt.badge.img
  • 6 replies
  • January 31, 2022

Thanks Glavin. That worked very well.


pcwizard
Community Debut
  • Community Debut
  • 1 reply
  • October 24, 2022

this hasnt worked for me 

i copied into the stylesheet page in portal customisation 

please help

body[page="catalog_item"] #side-modal #side-modal-content .place-request-container .request-someone-container .request-container { display: none; }


Leon Duvivie
Contributor
Forum|alt.badge.img+1
  • Contributor
  • 3 replies
  • November 8, 2022

Hi all,

 

I want to do kind of the same.

 

But at the report issue/submit ticket page

When requesting a ticket I want the requester not to be able to request for someone else (hide or disable).

But I want to keep te CC option.

 

Is that possible?


christian.mentor
Skilled Expert
Forum|alt.badge.img+6
Glavin Crasta wrote:

Another easy approach is to hide the checkbox itself by adding the below script in Admin → Helpdesk rebranding → Customize portal → CSS

body[page="catalog_item"] #side-modal #side-modal-content .place-request-container .request-someone-container .request-container {
    display: none;
}

 

Worked like a charm! Thank you @Glavin Crasta !

Also, for anyone who wants to disable the ability to edit who is requesting a Service Item, this works as well:

/* Disables editing of the "Requester" search field in Service Requests*/
body[page="catalog_item"] #side-modal #side-modal-content .place-request-container .requester-field-section .req-search {
    pointer-events: none;
}

 


Reply