Help get this topic noticed by sharing it on Twitter, Facebook, or email.

SQL Validator-file system blob adapter

Trying to validate the content type of a file being uploaded using file system blob adapter. Its running on Insert|Update, and phase is before. Seems like the @DocContentType is not populated

if @DocContentType <> 'application/pdf'
/* prevent the default action processing */
set @BusinessRules_PreventDefault = 1
/* set the focus on the field and display an error */
set @Result_ShowAlert = 'Document must be in PDF format.'

Does anyone have any ideas?
1 person has
this problem