Displays the new version's minor/major changes and the optional comment of a node in a Version Manager component.

Basic Usage

<adf-version-upload [node]="myNode"></adf-version-upload>

Class members


NameTypeDefault valueDescription
newFileVersionFileNew file for updating current version.
nodeNodeThe target node.
showCancelButtonbooleantrueToggles showing/hiding of cancel button.
showUploadButtonbooleantrueToggles showing/hiding upload button.
currentVersionvoidCurrent version for a target node


cancelEventEmitter<any>Emitted when an cancelling during upload.
commentChangedEventEmitter<string>Emitted when the comment is changed.
errorEventEmitter<FileUploadErrorEvent>Emitted when an error occurs.
successEventEmitter<any>Emitted when the file is uploaded successfully.
uploadStartedEventEmitter<FileUploadEvent>Emitted when the upload starts
versionChangedEventEmitter<boolean>Emitted when the version is changed.


This component is used by the Version Manager component to load and displays the new node's version choice - minor/major & comment.

See also

© 2023 Alfresco Software, Inc. All Rights Reserved.