keyongtech


  keyongtech > sharepoint.* > sharepoint.windowsservices.development

 #1  
01-09-09, 10:11 PM
AlexZ
How to find the default content type of a document library?

We use List Web service to get content types. The web service returns
XMLNode which includes all the content type the document library has. But
since there is no default attribute in content type node. We are not sure
which one is default. Could you tell me how we can find the default content
type of document library?


Thanks
 #2  
01-10-09, 02:46 AM
Michael Nemtsev [MVP]
Hello AlexZ,

Default content type is the first from all CT if your library

http://hristopavlov.wordpress.com/20...ogramatically/
Similar Threads
Thread Thread Starter
Selecting Content Types from the "New" menu gets the wrong content type

The scenario * Create 2 breand new content types/ Provide each one with a word 2007 document as the template (each with some different text to test success). Attach both...

Paul Devenney
Populating a Custom Content Type Template with custom content

Running WSS 3.0 (no MOSS) and Office 2003. I can create a custom content type inside a document library and/or list that points to a custom template when I want to create a...

msb-2007
set <meta http-equiv="Content-Type" content="tex in the IIS as def

I not sure if this is the right place or not. Here it goes I have a windows 2003 server running IIS 6.0. I'm having problems where the websites characters are chnaging from...

Marco
Content type from existing content

I have an existing list with data (portal site is MOSS2007 and has been migrated from WSSv2) with no content types. I would like to use existing fields to form new different...

markoh
Content-type and content-disposition information missing

I am trying to attach/embed a message inside another message (IMessage) where PR_ATTACH_METHOD = ATTACH_EMBEDDED_MSG The problem is that the Content-Type and...

rajesh

Privacy Policy | All times are GMT. The time now is 06:26 PM.

Merging Information Logo
[Deutschland] [Espaņa] [France] [Italia] [Nederland] [Polska] [United Kingdom]