Verify if an attachment is pdf or not before submission [Service Portal]

Ashish Gupta6
Tera Contributor

Verify if an attachment is pdf or not before submission!!

we want to verify if the attachment attached by an end user is pdf or not.

if pdf --> allow submission

if non-pdf --> alert message to attach a pdf.

8 REPLIES 8

Calm down @SANJEEV4,

I think I have a solution for this, but I need to do some verification before, hopefully I can post it here later this week.

@SANJEEV4 Here is a way to do it through a catalog client script: 
https://www.youtube.com/watch?v=EUdkUfm0OGM

This Catalog Client Script enables users to submit a catalog item only after attaching a PDF file, as per community request. Github: https://github.com/goranlundqvist/YouTube/ Video recorded in Vancouver release