Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud.
We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
The next problem was how to create my own field iterator and use it with my content type. This led me to Custom Form Templates: Form Templates are the method by which SharePoint displays a content type in display, new, and edit form. By default lists all use the same template. The template is a combination of HTML markup and server control references; some of the controls are standard ASP.Net control and some are SharePoint TemplateBasedcControl controls (see http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.templatebasedcontrol.aspx). The TemplateBasedControls can take a template which is a combination of HTML markup, ASP.Net server controls and SharePoint TemplateBasedControl controls - and so it repeats. This is the way in which SharePoint builds the UI. You can find the templates, all of which have a name, in the 12\Template\ControlTemplates directory; most of them in one file - defaulttemplates.ascx.
Searching through this file you can find template for laying out such things as document items, standard toolbars, view selectors etc. You can modify the default behavior for a given template by creating a new template with the same name and deploying it to the 12 hive and restarting IIS. You should never modify the installed files in the 12 hive as the files are used by all sites on the farm and you could break functionality.
By creating custom form layouts it is possible to layout list items in any way you need, for example the SharePoint KPI edit pages are just custom layout forms. You can change the markup and control order in the template, additionally you can define alternate templates for use with a particular control - this separation of UI markup from the control code is very powerful and flexible.
Attaching a Form template to a content type
For our application we were defining new content types using CAML and a feature definition. Attaching the custom form is achieved by adding some additional CAML markup to the type declaration:
Line 11 is where the use of the custom field iterator is defined. The prefix ltc is used to identify the control to be used is from a specific assembly and namespace, at the top of the template ascx file there is a prefix definition:
About Andrew Gelina Andrew Gelina brings over 12 years of software architecture and development experience to his role as CEO of Syrinx Consulting, where he is responsible for the strategic direction, technology focus, operations management, and growth of the firm.
Prior to joining Syrinx in 2003, Andrew helped build Web Technology Partners into a leading software engineering consulting firm before selling it in 2000 to Monster.com, the global online career and recruitment resource. During the next three years at Monster, he developed software and managed projects for virtually every area of Monster's operations, from CRM integration to e-commerce to high-traffic, high-volume Web development. He also worked closely with Microsoft to scale its .NET platform to Monster's huge transaction volumes.
Andrew has also worked in several other areas of technology leadership, performing technical due diligence for companies considering acquisitions and selling professional services. He started his career at EDS, helping them develop cellular billing and switch interface software to support the emerging wireless industry.
He graduated cum laude from the University of Massachusetts at Amherst, where he received a bachelor's degree in operations management. Andrew is a member of the CEO Roundtable of the Massachusetts Technology Leadership Council.
Andrew and his 35-member team work on-site with clients all over New England.
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice: