zoukankan      html  css  js  c++  java
  • Dynamics Crm2011导出Excel不能超过10000条的限制

    微软的crm在导出Excel时,默认只能导出10000,说是考虑WEB性能。其实应用程序,一般都是公司内网,平时又要大数据量分析,导出数据量大一点,工作反而更方便。

    方案一:
    改注册表与crm系统设定
    Navigate to the following location:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSCRM
    There may or may not be a DWORD entitled, “maxrecordsforexporttoexcel”.  If not, you will need to create it.  Go to the Edit menu and click “New”.  Click Dword Value and select “Decimal”, along with the max records you want to be able to export.  I chose 60,000.  Then click OK to save your changes.  My screen looked like this when I was done:
    你试下调用webservice的update方法来update organization class 的属性
    maxrecordsforexporttoexcel,如果可以update就直接用这个方法来修改(support),如果不可以就只能直接修改数
    据库了(unsupport).
    修改数据库中表organizationbase中的属性maxrecordsforexporttoexcel

    方案二:使用动态工作表
    You could try saving the export as a dynamic worksheet and then on the Data tab in Excel select Connections -> Connection -> Properties -> Definition tab -> and under Command text remove the text "top 10000".
    1) Create an advanced find view of the records you want to export to Excel for example: Active Contacts.
    2) Click Excel on the toolbar and select Dynamic Worksheet option
    3) Open the excel workbook and enable Data Connection
    4) On the excel workbook, right click and select 'Edit Query'
    5) If the pop-up window "The query cannot be edited by the Query Wizard", opens,click OK. Now you will see the Microsoft Query window.
    6) From the Microsoft Query toolbar, click View and select SQL. A new pop-up Windows showing the actual SQL statement appears.
    7) Remove the part of the query that states 'Top 10000' from the SQL statement and click OK to exit the SQL statement window
    8) From the Microsoft Query window toolbar, click File and select Return Data to Microsoft Office Excel
    9) Refresh your excel worksheet if auto-refresh is not enabled and you should see all data from the select CRM view now

  • 相关阅读:
    h5 拍照上传 代码
    java jdbc 链接本地mysql数据库 报错 Access denied for user 'root'@'localhost' (using password: YES)
    react.js 中对props 的理解
    react.js 如何 设置页面div 背景图片
    关于Vue.js 和 react.js 的异同
    如何用 npm ,搭建react 项目
    如何进行vue vux版本更新
    js 继承 函数
    absolute 和 z-index妙用
    关于 white-space: pre-wrap;的灵异现象
  • 原文地址:https://www.cnblogs.com/jamin/p/2730508.html
Copyright © 2011-2022 走看看