在哪里可以找到 SDL Tridion UI 扩展配置文件的架构 [英] Where can I find the Schema for the SDL Tridion UI extensions configuration file

查看:21
本文介绍了在哪里可以找到 SDL Tridion UI 扩展配置文件的架构的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了 HelloWorld Extension for Tridion 2011 代码以开始使用使用它并且一切正常,但我想知道在哪里可以找到有关配置文件中选项的更多信息.

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.

例如,是否有可用于 UI 扩展配置的架构,特别是对于 cfg: (http://www.sdltridion.com/2009/GUI/Configuration)、分机:(http://www.sdltridion.com/2009/GUI/extensions)和 cmenu:(http://www.sdltridion.com/2009/GUI/extensions/ContextMenu) 命名空间?

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?

推荐答案

SDL Tridion CM 服务器上的所有扩展命名空间的架构都位于 ..\Tridion\web\WebUI\Core\Schemas,您会在那里找到以下文件:

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:

  • 配置.xsd
  • ConfigurationMerge.xsd
  • ContextMenuExtension.xsd
  • 扩展.xsd
  • ListExtension.xsd
  • TreeExtension.xsd

如果您通过 XML -> Schemas... 菜单选项在 Visual Studio 中添加这些(只需单击 XML Schemas 窗口中的 Add... 按钮并从您的 CM 服务器中选择文件),您将获得 IntelliSense 和 XML文档验证,让您可以轻松地试验可用选项.

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.

有关详细信息,请参阅分 8 个步骤设置 SDL Tridion 2011 GUI 扩展如何开始,这比您提到的 HelloWorld 示例包含更多详细信息.

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.

这篇关于在哪里可以找到 SDL Tridion UI 扩展配置文件的架构的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆