Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 624793
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:14:21+00:00 2026-05-13T19:14:21+00:00

How to restrict user to attach particular type of files to items in a

  • 0

How to restrict user to attach particular type of files to items in a list ? Now i can attach any type of file to an item . But i want to restrict the user to upload only images. If user will upload any other then i want to display an error
message . Also how can i restrict the user to upload maximum one file only to a particular item?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:14:22+00:00Added an answer on May 13, 2026 at 7:14 pm

    The best way forward really is to create an event receiver and iterate through the item’s Attachments property to see what has been uploaded.

    In SharePoint 2007 you can only return simple error messages. In SharePoint 2010 this has been much improved.

    If you don’t want to create a new Visual Studio project then you can also consider a Sharepoint Designer workflow to achieve the same. Check out this article which shows how to do some basic validation when a file has been uploaded.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way I can restrict a user to select files from only
I want to restrict user to enter values in textbox at particular button click
i have 4 spinners all have same options but i want to restrict user,when
Why to restrict allowed usernames by different rules? For example why can't user have
I know you can restrict which HTTP methods a particular ActionResult method responds to
I am a beginner in PHP. How can I restrict user access to controller.php
i'm using joomla and want to restrict the user profile image size(dimension). it is
Can we restrict Type property of a class to be a specific type? Eg:
i want to restrict user from entering space in a UITextField. for this i
Possible Duplicate: how to restrict user to access a particular category in magento? i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.