Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

want to hide the Attachment icon on the catalog form

Not applicable

Hi All, 

 

Having a query, want to hide the attachment icon from the catalog form on ssp.

tried the portal setting but still the icon is visible on the form.

chanti1_0-1672905313516.png

Any suggestion regarding this,

 

Thanks.

 

1 ACCEPTED SOLUTION

Ashish21
Giga Expert

Hi,

Please find the link below,

https://www.servicenow.com/community/developer-articles/service-portal-catalog-items-hide-attachment...

 

Please accept the solution if it solves your query.

 

Thanks,

Ashish

View solution in original post

3 REPLIES 3

Ashish21
Giga Expert

Hi,

Please find the link below,

https://www.servicenow.com/community/developer-articles/service-portal-catalog-items-hide-attachment...

 

Please accept the solution if it solves your query.

 

Thanks,

Ashish

shyamkumar VK
Mega Patron

Hi @Community Alums ,

refer to this https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0717941

https://community.servicenow.com/community?id=community_question&sys_id=ec310be5db98dbc01dcaf3231f96...

 

also you can write on load Client script

function onLoad() {
	
	var attachmentButton = top.document.getElementsByTagName('sp-attachment-button');
	attachmentButton[0].parentNode.hidden = true;
	
}
Please mark this as helpful and accept as a solution if this resolves your Ask.
Regards,

Shyamkumar

H S B
Giga Guru

Simply open your catalog item under 'Maintain Item' module & under "Portal Settings', check 'Hide Attachment' -

HSB_0-1705647315886.png

 

 

It works 100% so shouldn't be an issue.

Do mark this answer as helpful or accepted if it helps. Thanks