Harmon.ie SDK
|
This class changes the harmon.ie upload behavior.
More...
Public Member Functions | |
virtual void | init (ISidebar sidebar, bool isMulti) |
Initialize the plugin with the sidebar context. | |
virtual bool | onBeforeUpload (IWrappedList items) |
This method is called before starting to upload all the items to SharePoint. This is the recommended entry point for changing the upload behavior. In order to rename the document, you must implement this method. | |
virtual UploadAction | onBeforeUpload (IUploadItemData single) |
This method is called for each uploaded item, before it is uploaded to SharePoint. Implement this method for specific item manipulating, for example, displaying a specific UI for each item. | |
virtual void | onAfterUpload (IWrappedList items, bool uploadCancelled) |
This method is called after uploading all the items to SharePoint. It is recommended to implement this method for cleanup. | |
virtual void | onAfterUpload (IUploadItemData single, UploadAction res) |
This method is called for each uploaded item, after it is uploaded to SharePoint. Implement this method if you want to change the metadata of successfully-uploaded items. | |
![]() |
Properties | |
ISidebar | Sidebar [get] |
Returns the sidebar object. | |
bool | IsMultiUpload [get] |
Are we uploading one or multiple items. | |
This class changes the harmon.ie upload behavior.
|
inlinevirtual |
Initialize the plugin with the sidebar context.
sidebar | The sidebar object |
isMulti | Are we uploading one or multiple items |
Implements Harmonie.SDK.IUploadOperationHandler.
Reimplemented in AutoPDFSave.AutoPDFSave, and TopicsAddIn.TopicsManager.
|
inlinevirtual |
This method is called for each uploaded item, after it is uploaded to SharePoint. Implement this method if you want to change the metadata of successfully-uploaded items.
items | IUploadItemData item that was actually uploaded to SharePoint |
uploadCancelled | Indicates whether the upload process was cancelled before this method was called |
Implements Harmonie.SDK.IUploadOperationHandler.
|
inlinevirtual |
This method is called after uploading all the items to SharePoint. It is recommended to implement this method for cleanup.
items | List of IUploadItemData items that were actually uploaded to SharePoint |
uploadCancelled | Indicates whether the upload process was cancelled before this method was called |
Implements Harmonie.SDK.IUploadOperationHandler.
Reimplemented in MsgToEmlPlugin.MsgToEmlPlugin.
|
inlinevirtual |
This method is called for each uploaded item, before it is uploaded to SharePoint. Implement this method for specific item manipulating, for example, displaying a specific UI for each item.
single | IUploadItemData item that is to be uploaded to SharePoint |
Implements Harmonie.SDK.IUploadOperationHandler.
Reimplemented in AutoPDFSave.AutoPDFSave, and TopicsAddIn.TopicsManager.
|
inlinevirtual |
This method is called before starting to upload all the items to SharePoint. This is the recommended entry point for changing the upload behavior. In order to rename the document, you must implement this method.
items | List of IUploadItemData items that are to be uploaded to SharePoint |
Implements Harmonie.SDK.IUploadOperationHandler.
Reimplemented in AutoPDFSave.AutoPDFSave, MsgToEmlPlugin.MsgToEmlPlugin, and RestoreFromEVaultAndSave.RestoreFromEVaultAndSave.