Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where can I find the Schema for the SDL Tridion UI extensions configuration file

I downloaded the HelloWorld Extension for Tridion 2011 code to get started with it and everything is working, but I was wondering where I can find more information about the options in the configuration file.

For instance is there a Schema available for the UI extension configuration, in particular for the cfg: (http://www.sdltridion.com/2009/GUI/Configuration), ext: (http://www.sdltridion.com/2009/GUI/extensions) and cmenu: (http://www.sdltridion.com/2009/GUI/extensions/ContextMenu) namespaces?

like image 361
John Bax Avatar asked Aug 10 '12 08:08

John Bax


1 Answers

The Schemas for all extension namespaces are available on your SDL Tridion CM server under ..\Tridion\web\WebUI\Core\Schemas, you will find the following files there:

  • Configuration.xsd
  • ConfigurationMerge.xsd
  • ContextMenuExtension.xsd
  • Extensions.xsd
  • ListExtension.xsd
  • TreeExtension.xsd

If you add these in Visual Studio through the XML -> Schemas... menu option (just click the Add... button in the XML Schemas window and select the files from your CM server), you get IntelliSense and XML Document Validation, allowing you to easily experiment with the available options.

Please see Setting up a SDL Tridion 2011 GUI extension in 8 steps for more detail about how to get started, this contains more detail than your mentioned HelloWorld example.

like image 53
Bart Koopman Avatar answered Oct 27 '22 13:10

Bart Koopman