Tridion多行文本字段大小限制

时间:2013-01-21 13:42:06

标签: tridion textfield

我遇到多行文本字段的必需内容超过内容移植器允许的允许3,400字节的情况(正如Peter指出的那样,此限制不适用于组件中此字段的存储现场CME方面 - 错误在[1]中注明。)

我看到的解决方案是

  1. 将内容的大小减少为更简洁
  2. 我尝试将maxlength添加到架构定义中(这将强制执行上述操作!)
  3. 使用可重复字段和(手动或以编程方式与事件系统分割)将文本拆分为最大大小的块
  4. 寻求延长限额?
  5. 1's out - 这是客户的事情。

    2 a禁止 - 我发现这已被排除by design

    3 我正在考虑的事情 - 我甚至可以使用GUI扩展来提醒用户Server side代码或Anguilla

    4 我想知道的是,如果有人通过SDL以受支持的方式实现了这一点(因为我们显然不能只改变数据库中的字段长度!)

    感谢您提出任何意见

    [1]

    Destination with name 'HTTPS=[Password=****, URL=http://server.com:81/HTTPUpload.aspx, UserName=removed]' reported the following failure:
    A processing error occurred processing a transport package Could not deploy component  [Component id=tcm:11-123-16 title=article_title schema=tcm:11-121-8], Error while creating custom meta data, String or binary data would be truncated., String or binary data would be truncated., Error while creating custom meta data, String or binary data would be truncated., String or binary data would be truncated.
    

1 个答案:

答案 0 :(得分:1)

回到Tridion 2009 SP1的时代,由于数据库列的大小为5000个字符,因此存在限制。超出此范围的任何文本都被截断。使用可重复字段不是一个选项,因为可重复字段都存储在同一个DB CustomMeta记录中,并且只是逗号分隔。我使用的解决方法是创建单独的字段,直到可能存在的预期最大字符。

我认为对于您使用Content Porter的情况,您应首先浏览可用的CP修补程序,否则打开支持的票证。