Where can I download the wss12.xsd file?  
Author Message
Brian Foley





PostPosted: SharePoint - General Question and Answers and Discussion, Where can I download the wss12.xsd file? Top

I am trying to edit a .webpart file and would like to add the schema to the properties for the file in VS 2005. However, in my 12 hive directory there is only a wss.xsd file and no wss12.xsd or anything resembling that.

Several forum posts make references to the wss12.xsd file but I can't find it on the web anywhere. Also, I have installed SharePoint 2007.



SharePoint Products and Technologies2  
 
 
Rich McGuire





PostPosted: SharePoint - General Question and Answers and Discussion, Where can I download the wss12.xsd file? Top

Not sure if it will help you at all, but I did find a number of results from a google search for "wss12.xsd" pointing to the following path:

\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\XML\wss12.xsd


 
 
Brian Foley





PostPosted: SharePoint - General Question and Answers and Discussion, Where can I download the wss12.xsd file? Top

I looked there and I do not have the file. I have the wss.xsd filebut not the wss12.wsd. I saw all the posts that imply the file should be thre, but I don't have it. I need to know where I can download it from.

Thanks.


 
 
Holger Lutz





PostPosted: SharePoint - General Question and Answers and Discussion, Where can I download the wss12.xsd file? Top

I also can't find the wss12.xsd file on my harddisk.

I choosed the wss.xsd file and Intellisense works fine.

I think the wss12.xsd file isn't there any more since RTM...


 
 
Brian Foley





PostPosted: SharePoint - General Question and Answers and Discussion, Where can I download the wss12.xsd file? Top

That would be fine except that the wss.xsd does not contain a schema for the .webpart file and other schemas for the deployment.

Do you know of any file that has the schema for webpart files


 
 
Holger Lutz





PostPosted: SharePoint - General Question and Answers and Discussion, Where can I download the wss12.xsd file? Top

I've no issues creating and deploying webparts.

To create a webpart I do the following:

  • Open VST2005
  • select File->New->Project... under Visual C#: SharePoint -> Web Part Template

To deploy a webpart I press the magic F5 Button ;-)

And that's what VST2005 does automatically:

  1. VST2005 compiles the webpart => WebPart.dll
  2. VST2005 creates a solution => WebParr.wsp
  3. VST2005 activates the feature(s) in the WebPart
  4. VST2005 does an IISReset

That's it.

Did you try that


 
 
Brian Foley





PostPosted: SharePoint - General Question and Answers and Discussion, Where can I download the wss12.xsd file? Top

Still, I need to set property defaults in the webpart via the .webpart file.

So, how can I get the schema for the .webpart file. We have alot of custom web parts and will e deploying them in a single wsp along with some features, etc. I would like to edit the .webpart file and change the title on the webpart or customize the default properties. To do this I need to schema for the file.

Please tell me where I can find the schema for .webpart files. Thanks!