Need help editing the card under My Items Widget - Remove Quantity

saint
Tera Expert

saint_0-1774270753380.png

 

Hi Experts,

 

I'm trying to get rid of Quantity part from the card under My Items Widget. I'm able to find the scripts for ActivityConfigurationUtilSNC where the code is fetched, but need assistance finding this card configuration so i can clone and edit the code.

9 REPLIES 9

Ankur Bawiskar
Tera Patron

@saint 

this is the widget "Todos Requested Item Approval" which is rendering the quantity, etc

-> clone this widget

-> comment the HTML for quantity

-> then add this newly cloned widget in Todos configuration section in related list

55.png

56.png

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Kilo Patron

Hi @saint 

 

Check this KB: https://www.servicenow.com/community/developer-forum/remove-price-and-quantity-in-my-items-widget/m-...

 

https://www.servicenow.com/community/developer-forum/remove-price-and-quantity-in-my-items-widget/m-...

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

Hi @TanL  Thank you for your response. I've already clonned and commented out this code and it has not affected this My Items page, It did remove the quantity and price from the full page of the item, which was done earlier with another question.

 

This is a list called my Items on Homepage of ESC.

AndersBGS
Tera Patron

Hi @saint 

 

The easiest way is to check-mark the "hide quantity" on the catalog item configuration page under the tab "portal settings".

 

If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.

Best regards
Anders

Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/

Hi @AndersBGS ,

 

Thank you for your response. I checked my catalog items, all of them have this flag already checked. I completed all my previous requests and submitted new requests and set the "hide quantity" flag (false/true) again, cleared cache, and submitted the request again. The quantity still shows up.