zoukankan      html  css  js  c++  java
  • 突破list存为模板为10M限制

    一列表要导到另一个site中,但大于10M,没办法存为模板出来,google了一下,发现这方法,
    给大家共享之.


    原文如下

    Saving a list as a template is an easy way of transferring data from one place to another in SharePoint. By default, however, the maximum size of list templates in WSS 3.0 and MOSS 2007 is 10MB.
     
    If you try to save the list as a template that is larger than this you will get the following error:
     
    The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.
     
    To increase the maximum size, simply run the following stsadm command (from the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN directory) replacing the propertyvalue to the new maximum size (in bytes):
     
    stsadm -o setproperty -propertyname max-template-document-size -propertyvalue 50000000
     
    Points to note:
    • The propertyvalue parameter is in bytes, so the example above will increase the maximum size to approx 50MB.
    • There is a hard limit of 500MB so the value must be less than 524288000 or you will get an error when saving the list as a template.
    • The above increases the maximum size of both site and list templates.
  • 相关阅读:
    进制间转换的理论和实现不同
    操作DOM
    浏览器对象
    浏览器
    面向对象编程——class继承
    面向对象编程——原型继承
    js面向对象编程——创建对象
    JS面向对象编程
    js的JSON
    js标准对象——Date
  • 原文地址:https://www.cnblogs.com/jianhui/p/1293623.html
Copyright © 2011-2022 走看看