File restriction is giving error in DIS check in
I have referenced document (How to restrict file check-in based on File extension using Rules (Doc ID 1901058.1)) the restriction in UCM for extensions . This restriction is working fine while doing a normal checkin. But while doing check in through DIS this script is giving error.
Because rsTempFile.ext is null and because of which strTrimWs(rsTempFile.ext) gives null pointer. So how can I put the same restriction though DIS also.Please suggest,