Skip to main content
Solved

Service Catalog - Requester


Forum|alt.badge.img

Hello,

I want to make it so that you cannot change the Requester when you ordered something from the Service Catalog. Have been told that it is not possible to disable it but can you make it so that you cannot click on the field to change?
 

How can it be done?

Thanks in advance. :)

Best answer by Rutger Bockholts

Hi Nikos,

 

Add below code in the CSS/Custom Stylesheet section of the portal and click Save & Publish. After a refresh of the customer portal, the field name and field should be hidden. Because there are made hidden, the checkbox to request for someone else still shows on the same position.

/* Hide Requester field label */
body[page="catalog_item"] #side-modal #side-modal-content .place-request-container .control-label label
{
    visibility: hidden !important;
}

/* Hide Requester email address field */
body[page="catalog_item"] #side-modal #side-modal-content .place-request-container .control-element input {
    visibility: hidden !important;
}

Let me know if this works for you.

 

Regards,

 

Rutger Bockholts

Freshworks

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

5 replies

Daniel Söderlund
Skilled Expert
Forum|alt.badge.img+14
Nikos wrote:

Hello,

I want to make it so that you cannot change the Requester when you ordered something from the Service Catalog. Have been told that it is not possible to disable it but can you make it so that you cannot click on the field to change?
 

How can it be done?

Thanks in advance. :)

Sorry don’t know, maybe with CSS/script. 


Rutger Bockholts
Community Debut
Forum|alt.badge.img+4

@Nikos , there are different approaches here, so we have to see what you exactly need. So you want to that Requester email address field is visible, but blocked, however they can still request for someone else?


Forum|alt.badge.img
  • Author
  • Apprentice
  • 2 replies
  • September 6, 2023

Hello Rutger,

If possible, I want to remove the Requester field.
Requesting for someone else can remain if possible because there you see that someone has submitted the case as someone else.

I want you to not be able to change who orders from the portal because then you can manipulate the system and then it shows that it is XXXXX who has ordered instead of me.


Rutger Bockholts
Community Debut
Forum|alt.badge.img+4

Hi Nikos,

 

Add below code in the CSS/Custom Stylesheet section of the portal and click Save & Publish. After a refresh of the customer portal, the field name and field should be hidden. Because there are made hidden, the checkbox to request for someone else still shows on the same position.

/* Hide Requester field label */
body[page="catalog_item"] #side-modal #side-modal-content .place-request-container .control-label label
{
    visibility: hidden !important;
}

/* Hide Requester email address field */
body[page="catalog_item"] #side-modal #side-modal-content .place-request-container .control-element input {
    visibility: hidden !important;
}

Let me know if this works for you.

 

Regards,

 

Rutger Bockholts

Freshworks


Forum|alt.badge.img
  • Author
  • Apprentice
  • 2 replies
  • September 6, 2023

Thank you Rutger! It works!