Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

How to restrict other attachment type and allow only email attachment type in a field Record producer service portal?

Sirisha Navudu2
Giga Expert

Hi,

  In record producer we have a field which is of attachment type, so where we want to allow only email type of attachment and restrict other type of attachments or files or documents(eg: excel). How to achieve this. provide any solution?

 

Thanks & Regards,

Sirisha.

 

 

1 ACCEPTED SOLUTION

SumanthDosapati
Mega Sage

Hi @Sirisha Navuduri ,

In Variable attributes you can restrict the attachment type by extensions.

For example:

You can use allowed_extensions=pdf;txt    etc

 

For email type it should ideally be allowed_extensions=msg

 

Mark the answer as correct if it works

Regards,

Sumanth

View solution in original post

1 REPLY 1

SumanthDosapati
Mega Sage

Hi @Sirisha Navuduri ,

In Variable attributes you can restrict the attachment type by extensions.

For example:

You can use allowed_extensions=pdf;txt    etc

 

For email type it should ideally be allowed_extensions=msg

 

Mark the answer as correct if it works

Regards,

Sumanth