Problems hiding Price & Quantity on HRM To-Dos Summary widget

MesihasAle
Tera Contributor

Hello community , just wanted to hide Price / Qty and Total x2 on the HRM To-Dos Summary widget:

 

Screenshot 2024-04-18 143651.png

 

I did it on the "Order Guide" wdget by commenting out the lines in the HTML template but it is different on the "HRM To-Dos Summary" widget as there is no mention to Price & Qty..

 

thanks for your help

 

3 REPLIES 3

Dan O Connor
ServiceNow Employee
ServiceNow Employee

@MesihasAle I would suggest looking at the Request Method you have used for this Catalog Item/Request.

 

Looks like you have used the Order Request Method. You can see this on your Catalog Item under Portal settings.

 

Typically I advise customers to select the Request or Submit method. Order has as specific use case whereby Orders have a cost, and that cost is then charged back to someones Cost Center or Department. Unfortunately I seem to see it used a lot in scenarios that are requests, and the price being left at 0.00. So defies the point.

 

I believe because you are using an Order method, the Approval Request is showing the price etc. I'm afraid I don't have a setup to hand to double check this (as I could be wrong) but it would be what I would check first

Thanks @Dan O Connor. I changed to Request and Submit methods for that specific Item but still not able to hide Price and Qty. Do you know why "Order guide" widget is different to "HRM Todos Summary" as /"Order Guide" has price / qty is hardcoded on the HTML template while "HRM Todos Summary" is generic so it can handle to display other fields, so in this case it maybe the data coming from the back end that contains price and qty ?

AfzalKhan
Tera Contributor

Hi @MesihasAle, did you find out the solution? If yes, please share here. I am also looking for the solution