I am a total newbie to SharePoint but I have been given the task of driving the roll out/Proof of Concept that SharePoint 2010 is capable of providing what our company wants.
One of the main requirements is to Override the default "upload.aspx" page for a Document Library.
The reason being is that users want to be able to select at the point of Upload a security group to apply to the document (most documents will NOT have document level security but for the few that do - this is how users want to be able to apply it).
I have read a number of articles on Overriding the AddItem event of a Document Library and then breaking the default permission and assigning a group from the Feature.xml file.
But my main headache at the moment is how do I override the default upload form for a document library? Does this need to be a custom component created in Visual Studio or can it be created/Edited from within SharePoint Designer/Info Path?
Also, to develop SharePoint components in visual studio, does the project have to be developed on the same server that runs SharePoint?
I have ordered some books on SharePoint development but while I wait for them to arrive I'd like to know what options are available to me.
Another question I have relating to metadata is this...My boss has the idea that ALL the metadata about a document could conceivably go into one or two columns as opposed to having hundreds of columns for each possible group of metadata.
The way we want to implement this would be to have our main "column" of metadata being what we consider to be the "Top Level" and this would be multi select.
Then based upon which of these multi-select boxes have been chosen, populate a second column of multi-select options onto a form.
For example Top Level metadata options
- Development
- Guides
- etc
Managed Metadata linked to Development
- C#
- SQL
- etc
Managed Metadata linked to Guides
- Installation Manual
- Admin Guide
- etc
Then when uploading a document and only Development was ticked, there would be tick boxes for a second column with values of C# and SQL
When uploading a document and only Guides was ticked, there would be tick boxes for a second column with values of Installation Manual, Admin Guide
If both Development AND Guides was ticked there would be tick boxes for all 4 of C#, SQL, Installation Manual and Admin Guide.
The result being two metadata columns of comma separated values which can be filtered on using views by choosing where "Name Contains" instead of Grouping on a single metadata column.
- Is this even possible - to dynamically add check boxes to an upload form based on values selected in the form (I can imagine a drop down box being easier to populate than generating check boxes)?
- Is this a good idea? If not, why not?
The number of "Top Level" metadata columns is pretty small at 7 and the number of "Sub Level" values is also quite small with not every Top Level metadata tag having sub levels.
Therefore the two multi-select columns would not contain a massive amount of values and therefore using a "Contains" search I don't think would be too intensive. BUT this WOULD massively reduce the number of overall columns required in the Document Library. Plus any new metadata value would be added to the managed metadata and automatically be included in the form (if it's possible).
If you have read this far, thanks, I am more concerned with how to override the default upload page for a document library than the secondary metadata question. I may have displayed a massive amount of naivety with regards to SharePoint but appreciate all input.
Thanks
Sam