カタログ注文時に添付するテキストファイルの文字列チェック方法

Ryota
Tera Guru

カタログアイテムにて注文する際にテキストファイルを添付する必要があるのですが、そのテキストファイルの中に特定の文字列(deleteとかchangeなど)が入っている場合は添付できないようにする方法がありますか?特定のカタログアイテムのみに適用したいです。

1件の返信1

Ankur Bawiskar
Tera Patron

@Ryota 

you can't directly prevent it.

you will require onSubmit custom script to grab the file, parse it and read it and then throw error

💡 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