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

蹲街弑〆低调 提交于 2019-12-08 17:20:51

问题


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?


回答1:


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.




回答2:


You can find the schemas in your Tridion install directory under "\web\WebUI\Core\Schemas".



来源:https://stackoverflow.com/questions/11897745/where-can-i-find-the-schema-for-the-sdl-tridion-ui-extensions-configuration-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!