简体   繁体   English

使用Tridion ID发布Tridion多媒体组件

[英]Publish Tridion Multi Media Component with Tridion ID

有没有办法在Tridion中定义使用自己的TCM ID作为文件名发布二进制文件?

Starting with Modular Templates' introduction in Tridion 5.3, the default is to publish binaries without a unique identifier (which solved a whole bunch of other issues at the time, like knowing the file name before publishing it, pretty useful when your CSS is produced outside the house, for instance). 从模块化模板在Tridion 5.3中的介绍开始,默认是发布没有唯一标识符的二进制文件(当时解决了一大堆其他问题,比如在发布之前知道文件名,在CSS生成外部时非常有用)例如,房子)。

I am pretty sure there is still one of the AddBinary overloads (see here ) that will publish a filename appending _tcm-12-35 to the file name, just like in the PublishBinary days, but unfortunately cannot test it now. 我很确定还有一个AddBinary重载(见这里 )会发布一个文件名,附加_tcm-12-35到文件名,就像在PublishBinary时代一样,但遗憾的是现在无法测试它。

If your binary publishing is handled by the default finish actions, you will have to modify the file name after this TBB executes, as documented by Chris here . 如果您的二进制发布由默认的完成操作处理,则必须执行此TBB 修改文件名,如Chris 在此处所述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM