设为首页 收藏本站
查看: 1207|回复: 0

[经验分享] Publishing and Synchronizing Excel 2007 Tables to SharePoint Lists (From MSDN)

[复制链接]

尚未签到

发表于 2015-9-26 11:19:27 | 显示全部楼层 |阅读模式
Publishing and Synchronizing Excel 2007 Tables to SharePoint Lists

  Summary: In Microsoft Office Excel 2007, the ability to synchronize the data between a table and a list in Microsoft Windows SharePoint Services is deprecated. This article describes an add-in that enables you to update the information in a SharePoint list from Excel 2007.
  Jon Adams, Microsoft Corporation
  Frank Rice, Microsoft Corporation
  June 2007
  Applies to: Microsoft Office Excel 2007, Microsoft Windows SharePoint Services 3.0
  Download Excel 2007 Add-in: Synchronizing Tables with SharePoint Lists.
  Contents

  •   Overview
  •   Updating SharePoint Lists in Excel 2007
  •   Installing the Excel 2007 SharePoint List Synchronizing Add-In
  •   Publishing and Synchronizing Table Data to a SharePoint Site
  •   Conclusion
Overview

  In Microsoft Office Excel 2003, you can connect to (read from) and update (write to) lists that reside on SharePoint sites. This allows you to keep the information in your Excel 2003 tables synchronized with the information that appears on the SharePoint site.
  In Microsoft Office Excel 2007, the ability to update the information in SharePoint lists from Excel is deprecated. Instead, Microsoft Office Access 2007 is the recommended platform for writing data to SharePoint lists and for using lists offline.
Updating SharePoint Lists in Excel 2007

  In Office Excel 2007, the ability to update SharePoint lists changed in the following ways:

  •   Existing files from Office Excel 2003 load and continue to support update functionality when opened in Excel 2007.
  •   Lists that link to a SharePoint site are converted to read-only tables when you save existing files to the new Open XML file formats.
  •   It is still possible to publish a table to SharePoint lists; however, this is a one-time write operation to Microsoft Windows SharePoint Services 3.0.
  Before you despair, Jon Adams created an Office Excel 2007 add-in, Excel 2007 Add-in: Synchronizing Tables with SharePoint Lists, which adds a button to the Table Tools tab on the Office Fluent Ribbon. This add-in allows you to publish a read-write list to Windows SharePoint Services. Note that you cannot save the workbook in the new Office Open XML Formats. Instead, to retain the functionality, you need to save the workbook in the Excel 97-2003 (Biff8) file format.
Installing the Excel 2007 SharePoint List Synchronizing Add-In

To install the add-in for use in Office Excel 2007


  •   Download and install the Excel 2007 Add-in: Synchronizing Tables with SharePoint Lists.
  •   Start Office Excel 2007.
  •   Click the Microsoft Office Button, click Excel Options, and then click the Add-Ins tab.
  •   Select Excel Add-ins in the Manage drop-down list and click Go.
  •   In the Add-Ins dialog box, click Browse, navigate to the Excel 2007 SharePoint List Synchronizing Add-in, and then click OK.
  •   In the Add-Ins dialog box, verify that the SynchronizeWSSandExcel option is selected and then click OK.


        Figure 1. The Add-Ins dialog with the Rwsplist option selected
      

    DSC0000.gif
Publishing and Synchronizing Table Data to a SharePoint Site

  Using the add-in is simple, as you see in the following steps.
To add the add-in to a workbook


  •   Save the workbook in the Excel 97-2003 (BIFF8) file format by clicking the Microsoft Office Button, pointing to Save As, and then clicking Excel 97-2003 Workbook.
  •   Specify a file name, and then click Save.
To publish the table to a SharePoint list


  •   Highlight the table. The Table Tools label is displayed above the Design tab.
  •   Click the Design tab.
  •   In the SharePoint group, click Publish and allow Sync.


        Figure 2. The Publish and allow Sync button on the Design tab
      

    DSC0001.gif
  •   In the Export Table to SharePoint R/W List dialog box, in the Address text box, type in the page address on the SharePoint site where you want to publish the list.


        Figure 3. The Export Table to SharePoint R/W List dialog box
      

    DSC0002.gif
  •   In the Name text box, type in the name of the list and, optionally, type a description for the list.
  •   Click Publish. Navigate to the page that you specified earlier in SharePoint site and verify that the list published.
To update the SharePoint list


  •   In the table in the workbook, make the changes to the data.
  •   With the pointer in the table, right-click, point to Table, and click Synchronize with SharePoint.


        Figure 4. The Synchronize with SharePoint option
      

    DSC0003.gif
  •   In the browser, refresh the list and observe that the list reflects the changes.
Conclusion

  Although the ability to update SharePoint lists from Office Excel 2007 is deprecated in favor of publishing and synchronizing lists using Office Access 2007, you can use the Excel 2007 SharePoint List Synchronizing Add-in to update SharePoint lists from Office Excel 2007.
Additional Resources

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-119029-1-1.html 上篇帖子: WSS[sharepoint]中如何建立一个搜索的功能的webpart[Search] 下篇帖子: SharePoint Portal Server 2003数据库迁移指南
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表