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'
begin
/* 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.'
end

Does anyone have any ideas?
1 person has
this problem
+1
Reply