6.8. Linking and Publishing Custom Properties
Word documents use two custom properties to enable linking and publishing. First,
is the address of the source library that a document workspace uses when you choose Publish to Source Location.
is the site ID Word uses to locate the document workspace when you
Of the two, _SourceUrl is the most straightforward since it contains a simple web address. The _SharedFileIndex property is a much longer value that identifies the document in the workspace. Figure 6-12 shows both custom properties in Word.
In the previous section, "Linking Documents to Libraries," I instructed you to set the _SourceUrl manually to enable publishing from a linked document. That might seem like a hack, but it's the only way I know. Word doesn't enable both features, even though they are useful when combined.
animal 6-12. Linking and publishing custom properties
For you programmers out there: the value of _SharedFileIndex is a GUID identifying the attachment in the list. You can retrieve that information using the FindDwsDoc method of the DWS web service.
6.9. Discussing a Document
You can discuss a document online by selecting Discuss from the document's context menu, as shown in Figure 6-11. Doing so for a Word document opens the document in the browser and allows you to add comments in the Discussion pane at the bottom of the screen.
Comments entered as a discussion are saved when you navigate away from the document in the browser, but adding and reading items is so confusing, I'd recommend you avoid Discussions when working with Word documents. Instead,
Discussions seem better-suited for web pages (. html , . aspx ). In those cases, the Discussion tags appear as Post-it? -like notes on the page as it is displayed in the browser, and it is easy to add or reply to comments in the discussion through the browser, as shown in Figure 6-13.
animal 6-13. Adding Discussion comments to a SharePoint web page