Harmon.ie SDK
Loading...
Searching...
No Matches
MsgToEmlPlugin.MsgToEmlPlugin Class Reference
Inheritance diagram for MsgToEmlPlugin.MsgToEmlPlugin:
Harmonie.SDK.UploadOperationHandler Harmonie.SDK.IUploadOperationHandler

Public Member Functions

override 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.
 
override 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.
 
- Public Member Functions inherited from Harmonie.SDK.UploadOperationHandler
virtual void init (ISidebar sidebar, bool isMulti)
 Initialize the plugin with the sidebar context.
 
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 (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.
 
- Public Member Functions inherited from Harmonie.SDK.IUploadOperationHandler

Additional Inherited Members

- Properties inherited from Harmonie.SDK.UploadOperationHandler
ISidebar Sidebar [get]
 Returns the sidebar object.
 
bool IsMultiUpload [get]
 Are we uploading one or multiple items.
 

Member Function Documentation

◆ onAfterUpload()

override void MsgToEmlPlugin.MsgToEmlPlugin.onAfterUpload ( IWrappedList items,
bool uploadCancelled )
inlinevirtual

This method is called after uploading all the items to SharePoint. It is recommended to implement this method for cleanup.

Parameters
itemsList of IUploadItemData items that were actually uploaded to SharePoint
uploadCancelledIndicates whether the upload process was cancelled before this method was called

Reimplemented from Harmonie.SDK.UploadOperationHandler.

◆ onBeforeUpload()

override bool MsgToEmlPlugin.MsgToEmlPlugin.onBeforeUpload ( IWrappedList items)
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.

Parameters
itemsList of IUploadItemData items that are to be uploaded to SharePoint
Returns
false if upload process must be cancelled, true - otherwise

Reimplemented from Harmonie.SDK.UploadOperationHandler.


The documentation for this class was generated from the following file: