Click on this icon to open the XML page.Tom Van Gaever - Blog
Search:   

SharePoint enums and Webservices 
Thursday, September 18, 2008, 13:49 - SharePoint
Posted by Administrator
When you get an xml result from the SharePoint webservices, these results are Strings, but in the SharePoint dll these results are availbale in an enum.

private SPFieldType GetFielType(XElement xElement) {
return (SPFieldType)Enum.Parse(typeof(SPFieldType), GetAttribute(xElement, AttributesWeb.Type));
}


I created some wrapper classes that makes coding easier against SharePoint Webservices, in time I will publish more of these:

these can be found here
add comment ( 1 view )   |  permalink   |  related link   |   ( 3 / 543 )
_x0020_ 
Wednesday, September 17, 2008, 16:58
Posted by Administrator

Whatever xml encoding SharePoint sends can be decoded using the code below from System.Xml.

XmlConvert.DecodeName("My_x0020_Name");

add comment ( 3 views )   |  permalink   |  related link   |   ( 3.2 / 684 )
BaseType Element 
Monday, September 15, 2008, 20:45 - SharePoint
Posted by Administrator
Every list in a Web site based on SharePoint Team Services from Microsoft inherits its schema from a base type. The BaseType element defines the default schema (for example, the fields) that all lists derived from the base type must contain.


Unique ID for the base type. The following values are possible for built-in base types:

0 = GenericList
1 = DocumentLibrary
2 = BaseType Unused
3 = DiscussionBoard
4 = Survey
5 = Issue
-1 = UnspecifiedBaseType


Complete list:


http://abstractspaces.wordpress.com/200 ... nce-sheet/

add comment ( 2 views )   |  permalink   |  related link   |   ( 3 / 399 )
Field Types 
Friday, September 12, 2008, 10:38 - SharePoint
Posted by Administrator

When creating custom columns or Fields you must specify a type for each field:


<Field ID="{1210BD1F-C010-4eb5-81E9-EA1D97E0E1E5}"
Name="Name"
..
Type="Note"
..
</Field>


All possible types are listed here:
http://msdn.microsoft.com/en-us/library ... dtype.aspx
add comment ( 2 views )   |  permalink   |  related link   |   ( 3 / 387 )
Ontbijt sessie: SharePoint voor adviesverleners, een mobiel & offline verhaal 
Friday, September 12, 2008, 09:07
Posted by Administrator


Titel: SharePoint voor adviesverleners, een mobiel & offline verhaal

Datum: 17/10/2008


Advies- (consultants, notarissen, studiebureaus, …) en dienstverlenende bedrijven (IT bedrijven, marketing bureaus, …)
hebben vaak specifieke behoeften op het vlak van (externe) vergaderingen, delen van de informatie met hun klanten, het bouwen en onderhouden van relaties en ten slotte projectmatig werken.
In deze ontbijtsessie gaan we dieper in op de mogelijkheden van een aantal Office 2007 componenten zoals OneNote, InfoPath en SharePoint om een sterk mobiel on- en offline verhaal te plaatsen,specifiek aan deze specialisaties.





add comment ( 1 view )   |  permalink   |   ( 3 / 349 )

<<First <Back | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | Next> Last>>