What you'd need to do (unfortunately this is probably the only way, but someone correct me if I'm wrong): http://blah.winsmarts.com/Post.aspx?postID=68
You'd write an event listener that hooked the item adding event, and essentially you'd then use the object model to determine how many items were currently in the list, and if it went over the threshold you'd set the cancelled property to true, and provide a message telling them they have hit the limit. Fairly simple to write. Matthew Cosier Readify | Dev Centre Lead M: +61 401 932 250 | E: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> Blog: http://cosier.wordpress.com<http://cosier.wordpress.com/> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Milliner Sent: Thursday, 11 September 2008 1:19 PM To: [email protected] Subject: [OzMOSS] limit number of entries in a list. Hello all, Firstly thanks for all the advice on Server Farm configuration. Another quick question as I am not technically a developer but due to having to adapt in a small workplace - I have had to dabble in just about everything ....SharePoint Designer and Visual Studio, Server setup etc etc.... What I need to know is that is there a way to set the number of items allowed in a list (not displayed i.e. It would only allow 20 items to be inputted) without any customisation through designer and and if so how? if not can anyone advise me on how I could achieve this? Regards Peter Milliner Bendigo TAFE ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com
