How to Check Mandatory Attachments Count on Catalog Item without using DOM manipluation

aadilk
Tera Contributor

Hi,

I need to ensure there are exact 2 attachments added before user submit a request through service catalog without using DOM Manipulation.

How can we achieve this requirement and what is the best practice in ServiceNow?

Please help me to get this requirement.

3 REPLIES 3

Sujatha V M
Kilo Patron
Kilo Patron

@aadilk  Please refer the below links for your use case

 

 Verify Mandatory Attachments Count on Catalog Item

 

Verify attachment count in service portal or native platform view

 

 

Please mark this as helpful and accept it as a solution if this resolves your query.
Sujatha V.M.

Not Helpful. The links you provided still use the DOM.

YaswanthKurre
Giga Guru

Hi @Jon Ulrich1 ,

 

As far as I know, this isn't possible without DOM.

 

Mark this as helpful and correct, if this helps.

 

Thanks,

Yaswanth