Microsoft KB Archive/940170

= The PostID parameter is ignored in the Documents.AddBlogDocument method in Word 2007 =

Article ID: 940170

Article Last Modified on 7/23/2007

-

APPLIES TO


 * Microsoft Office Word 2007

-



SYMPTOMS
In Microsoft Office Word 2007, you use the Documents.AddBlogDocument method that includes the PostID parameter to create a document. Additionally, the PostID parameter specifies an ID for an existing post. However, the new document is not populated with the content in the existing post when the PostID parameter is sent to the Documents.AddBlogDocument method.



CAUSE
This problem occurs because the Documents.AddBlogDocument method incorrectly handles the PostID parameter.



WORKAROUND
To work around this issue, write a custom add-in that directly interacts with MetaBlog API.



MORE INFORMATION
The Documents.AddBlogDocument method creates a new document. Additionally, the Documents.AddBlogDocument method registers the specified blog account that uses Word. If the PostID parameter is specified, the new document is populated with the contents in the PostID parameter from the Web site provider.

For more information about the Documents.AddBlogDocument method, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/bb243893.aspx

Keywords: kbtshoot kbprb KB940170

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.