Publishing document updated by Word 2010 in Sharepoint 2003 RRS feed

  • Question

  • Hi everyone.

    We are using SharePoint Portal Server 2003, and everything worked fine until we started using Office 2010. When document is placed in document workspace and updated by Office 2003 or 2007, it is possible to use "publish to source location" to publish this document from document workspace. But when this same document is udated by Office 2010, publishing to source location is no more available.

    I went thru menu's javascript source code and page source code (document workspace) and find out, that after updating by Office 2010 a SourceURL atribut is missing. It looks like the office 2010 makes this file lost track of its own source.

    Can anybody help? Thanks a lot

    Petr Masek


    Friday, May 13, 2011 2:05 PM


  • Hi,

    Thanks to share your post.

    For the issue, do you mean that you use the code like below:

    private static readonly string srcUrl = "~site/Documents"; 
    using (SPSite site = new SPSite("<some Url>"))
    using (SPWeb web = site.OpenWeb())
    string finalUrl = CommonUtility.ExpandUrlTokens(srcUrl, site.ServerRelativeUrl, web.ServerRelativeUrl, new CultureInfo(Convert.ToInt32(site.RootWeb.Language)).Name);

    The URL format of office 2010 support the blank, however in the office 2003 and office 2007, the blank in the URL would turn to %2 that may be the possible cause of this issue please check it.

    Hope this could help you!


    • Marked as answer by Emir Liu Friday, May 20, 2011 9:45 AM
    Wednesday, May 18, 2011 2:01 AM