Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Attachment file name

Community Alums
Not applicable

When i was attaching a file with the name consisting of & it is reflecting as &amp can anyone help me how to remove &amp in the file name. E.g: file name as servicenow & ..... it is reflecting as servicenow &amp .... 

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

attaching using paper-clip icon?

please share screenshots

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

Community Alums
Not applicable

@Ankur Bawiskar 

Hi ankur,

Yes when attaching using paper-clip icon.

attached the screenshot below

Screenshot (19).png

@Community Alums 

that's OOB behavior and I don't think we can control it.

the & is converted to & and shown

In the backend the file name still contains &

AnkurBawiskar_0-1699873741854.pngAnkurBawiskar_1-1699873753114.png

 

You might have to customize OOB attachment UI page to handle special characters and not only just &

I won't recommend that

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

ChiranjeeviR
Kilo Sage

Hi @Community Alums,

it's ServiceNow OOB behavior and I don't think we can control it and ServiceNow not recommended to do it.

ChiranjeeviR_0-1699876106043.png

 

 

there is a recommendation of KB article which asked not to implement on OOB.

 

please find KB article link
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0721930

If my response helped please mark it correct and close the thread👍

Thanks & Regards,
Chiranjeevi
ServiceNow Developer | | ITSM | | ServiceNow Discovery | | Event Management | | Service Mapping | | CMDB

Please mark as Correct Answer/Helpful, if applicable.