How to validate an attachment in qListForm - SharePoint Customization - SharePoint for All - Dell Community

How to validate an attachment in qListForm

How to validate an attachment in qListForm

This question has been answered by kenny.wu-quest

Hi everybody. I have a qListForm component, with the ability to upload attachments. The problem is that only PDF files are allowed to the user to upload. Is there a way to validate this trough Behaviour -> Form component behaviour option? Thanks!

Verified Answer
  • Hi Fernando,

    qListForm doesn’t have such of this feature, but SharePoint has a built-in setting to block some of the types of the file, you can check it in the CS-> Security -> Define blocked file types. But it just block the file types that you defined there, for example, if you don’t want user to upload the doc files into SharePoint, add ‘doc’ into this setting.

     

    Kenny.

All Replies
  • Hi Fernando,

    qListForm doesn’t have such of this feature, but SharePoint has a built-in setting to block some of the types of the file, you can check it in the CS-> Security -> Define blocked file types. But it just block the file types that you defined there, for example, if you don’t want user to upload the doc files into SharePoint, add ‘doc’ into this setting.

     

    Kenny.