我试图通过Visual Studio中项目的以下后期构建事件在Tridion Content Manager中上传程序集:C:\ Users \\ Documents\Visual Studio 2010\Projects \\\ bin\Debug \name of dll
Config.xml已通过cmd创建,如下所示:
<?xml version="1.0"?>
<templateAssemblyUploadConfig>
<targetURL>http://<url>/</targetURL>
<userName>domain\user id</username>
<password>password</password>
<uploadPDB>false</uploadPDB>
</templateAssemblyUploadConfig>
Run Code Online (Sandbox Code Playgroud)
当我尝试构建DLL时,它给出以下错误.
错误1:意外的参数:意外的参数Studio C:\ Users \\ Documents\Visual Studio 2010\Projects \\\ bin\Debug \name of dll\EXEC name of DLL
错误2:命令"C:\ Users \\ Documents\Visual Studio 2010\Projects \\\ bin\Debug \name of dll"退出,代码为1. DLL的名称
有人可以帮助解决问题.
我在访问页面模板的DWT中的包变量时遇到了问题.
我有一个4 TBB的复合页面模板如下:
1)常量TBB - 该TBB将组件的所有值(嵌入式多值组件)读取为键值对,并将它们推送到包中.例如:
Item item = this._package.CreateStringItem(contentType, "test");
this._package.PushItem("key", item);
Run Code Online (Sandbox Code Playgroud)
2)页面模板的C#DLL - 包含页面模板的逻辑
3)页面模板的DWT - 此处输出所有包变量.
4)默认完成操作
我面临的问题如下:
在我的DWT中,我想比较Component Component模板的元数据和Constant TBB中设置的包变量.
我使用的语法是:
<!-- TemplateBeginIf cond="ComponentTemplate.Metadata.section_name = key" -->
Run Code Online (Sandbox Code Playgroud)
其中key是在常量TBB中设置的包名称,其值为"test"
但不知何故,这个包变量"key"给出的值为0而不是测试.
有人能让我知道我哪里错了.
有人可以提供Tridion 2011 SP1中使用的SiteEdit属性和方法的文档.例如:SiteEdit.ComponentPresentation(),此属性用于具有不同参数的两个不同位置.我想要一个关于所有这些属性及其返回类型的完整信息.
我目前正在使用Tridion 5.3.之后页面从Tridion CM侧发布到Broker db.如何将IIS配置为指向DB中的页面,就像我们为文件系统所做的那样.