Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IDocumentManager.CreateWebLinkDocument Method (Int32[], Int32, String, Boolean)

Creates a new Web link document.

IWebLinkDocument CreateWebLinkDocument(
int[] folderIDs,
int dataSourceID,
string link,
bool mergeACLs
);

#### Parameters

folderIDs
  the IDs of the directory folders in which to add 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
mergeACLs
  true to use the merged ACLs of the parent folders, false to use the default ACL.

#### 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