AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IDocumentManager.CreateWebLinkDocument Method (Int32, Int32, String)

Creates a new Web link document.

IWebLinkDocument CreateWebLinkDocument(
int parentFolderID,
int dataSourceID,
string link
);

#### Parameters

parentFolderID
  The ID of the directory folder in which to create the new document.
dataSourceID
  The ID of the Data Source associated with the new document.
link
  The Web location of the new document; must be a URL.

#### Return Value

The new document.

#### Remarks

The document will not be saved in the portal Knowledge Directory until the `Save()` method is called on the `Document` object. See `DatasourceID` enumeration for a list of predefined datasources.

#### See Also

IDocumentManager Interface | Plumtree.Remote.PRC Namespace | IDocumentManager.CreateWebLinkDocument Overload List