SharePoint Developer Team Blog
Brought to you by Microsoft teams working on SharePoint developer content, Visual Studio tools, and of course the platform itself!
The Office Developer & Interop Documentation Group is currently defining the specifications for a project to provide 101 Code Samples for SharePoint. We are looking for your help with the types of code samples to include in the project. Please reply to this post with suggestions for code samples that would be helpful to you and other developers. Please provide enough detail to accurately describe each sample requested. The samples will be created in managed code (C# and VB.NET). The deadline for taking suggestions is 9\31. Thank you and we look forward to your valuable feedback.
Hi there,
Some ideas for the 101 Code Samples project:
- Site Definition sample.
- Web Template sample.
- List Definition sample
- Content Type sample (either declarative or porgramatic creation).
- Custom Field type sample: single column, multicolumn, cascade lookups, cross site lookups, etc.
- Custom forms (Edit, Display and New) for lists / document libraries.
- WebParts Connections (either Visual or not) sample.
- WebParts Toolpart (either Visual or not) sample.
- Custom authentication provider sample.
- Timer Job sample.
- Delegate Control sample.
- Custom Ribbon Actions sample: download as a zip file the selected files (just a simple sample).
- Custom Ribbon controls sample.
- Custom Workflow Action for SharePoint Designer Workflows (either Sandbox or not).
- Property Bugs use sample.
- Event Receiver (Sync / Async) with redirections or cancellations sample.
- Application Page with code behind sample.
- Starter Master Page sample for Team Sites / Publishing Sites including the deployment to the site.
- Custom Navigation sample (by means of a control), either for the vertical or horizontal menu.
- Custom Service Application sample.
- Custom SandBox Solution Validator sample.
- Custom Visual Studio Extension for SharePoint Development sample.
- Custom controls for list/document libraries forms smaple.
- Working with classic SharePoint Objects: SPSite, SPWeb, etc... sample.
- InfoPath Forms with code behind (either sandbox or not) sample.
- Use of the search engine sample.
- Extension of the SharePoint 2010 rich text editor sample (new styles, new controls).
My name is Juan Carlos González and I'm a Spanish SharePoint MVP (mvp.support.microsoft.com/profile=B44512C7-6C48-40E7-9710-97F51900DDED)...you can contact me if you are thinking also in localized documentation for the Samples.
Regards
I agree with the comments of Juan.
Many of them i have it allready and many otherw that does not described. I have archieve them in my personal company sharepoint wiki.
So if you want i can share all this Code samples.
If you think i can help just let me know in my email.
Here in my web site you can check for some object model codes.
http://www.fewlines4biju.com and also in www.onlysharepoint2010.com
A few ideas:
- Web templates using the publishing feature
- Examples with unit tests (preferably with stubs/mocks)
- Application pages using user controls
- Calling full-trust proxy code from a sandboxed solution
- A timer job
- A service application with custom database
Ben
My a few ideas:
- Master page with Silverlight (Fundation/Server version)
- Apply Branding with CSS(or combination custom CSS and Theme)
- JQuery and SharePoint Web Service
Best regards,
Martin Bodocky
Some simple BCS examples would be very useful; ones which do nothing complex from a LOB application perspective, just a simple text/xml/csv filestore or something, but something that demonstrates the BCS infrastructure.
This is a great idea, I look forward to seeing the results!
A sample content type feature using managed metadata (Taxonomy - single and multi) fields that hooks to the managed meta data service in any farm you deploy it to. I had quite a time getting this to work to where it worked in any farm i deployed it to. Also, setting a default value for the fields in this same scenario. (Since the values are specific to the MM service because of the guid the service assigns to the values)
AJAX-enabled web part deployed as a part of a sandbox solution. Based on what I've seen, there doesn't appear to be anyway to put an update panel within a web part because the ScriptManager isn't available to web parts on a UserCodePage, though clearly it should be possible as the ScriptManager is on the base SharePoint v4 master page.
Hi,
As part of security and claims based security.
1. Step by Step guide for configuring Claims authentication with Microsoft Federation Manager or third party Federation Managers.
2. How to consume SAML token genererated by Federation Managers (MS or NON-MS products)
3. How to Write custom people picker for claims authentication.
A Server -> Client example depicting the mirroring of a document library to a client machine using a thin .NET desktop client would be helpful. This does not need to depict full synchronization, but a one-way push to the client machine would be sufficient.
Thank you,
Brandon
Please provide sample code for modifying new lists or existing lists permissions. The challenge is that many document libraries are created which contain records which need to be accessed by specific employees and their direct managers. The name of the list contains the name of the employee. How can one identify this employee, assign access exclusive access to the list and then using AD, determine the employee's manager and grant them access as well.
just a thought.
For the love of all that is good, please include a sample of how to implement an ISPDocumentParser. I'm wading through a lot of internet to try to figure this out, and it seems to be nearly impossible, and very poorly documented on the site. Thanks.
-BI Sharepoint List with analityc chart sample.
-BCS Sample
-KPI With Sharepoint List
I would like to have a code sample for export to Word and excel from sharepoint.
In the sharepoint advanced training video for developers this functionlaity is already previewed and it would be nice to view the code for the same.
Regards,
Ramana
Here's my two cents,
- SharePoint search configuration step by step guide
- Integrating 3rd party API's (google maps, twitter etc..)
- Enable mobile sites for SharePoint
- Branding SharePoint mobile sites
I also think easy to understand SharePoint licensing guide will also help a lot for new developers/companies who are coming in to SharePoint world.