Hello Experts,
Using the WCC version 12.2.1.3.0 and I need to put some restriction to upload the filetype. I have create a rule on checkin event so that I can restrict other file type to upload in WCC system.
Script is working fine but having two issues in that please suggest how to solve it.
Script:
Code:{
<$trace("#all", "#console")$>
<$strFileName=strReplace(primaryFile,".",",")$>
<$trace(strFileName, "#console")$>
<$exec rsMakeFromString("rsTempFile",strFileName,"ext")$>
<$exec rsSetRow("rsTempFile", rsTempFile.#numRows-1)$>
<$if strTrimWs(rsTempFile.ext) like "doc|docx|pdf|rtf|xls|xlsx|xlsb|xlsm|bmp|gif|jpg|png"$>
<$else$>
<$abortToErrorPage("\n\nKindly upload the files in given format (doc,docx,pdf,rtf,xls,xlsx,xlsb,xlsm,bmp,gif,jpg,png) only, others are not allowed.")$>
<$endif$>
}
Issue-1:
Remove the highlighted message to show user friendly as this message is not user friendly.

Issue-2:
When uploading the files using the Checkin Universal Service from SOAP UI able to upload the exe files also. how to control that using rules.
Thanks
Sanjeev