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.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax 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:
StringReturns attachment GUID column name
See Also