Click or drag to resize
DocumentHelperUpdateAttachment Method (TreeNode, Guid, Guid)
Updates the attachment reference within document node. To assign the attachment a new GUID value in special operations.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static string UpdateAttachment(
	TreeNode node,
	Guid oldGuid,
	Guid newGuid
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
oldGuid
Type: SystemGuid
Old attachment GUID
newGuid
Type: SystemGuid
New attachment GUID

Return Value

Type: String
Returns attachment GUID column name
See Also