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

Public Member Functions

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

◆ init()

override void TopicsAddIn.TopicsManager.init ( ISidebar sidebar,
bool isMulti )
inlinevirtual

Initialize the plugin with the sidebar context.

Parameters
sidebarThe sidebar object
isMultiAre we uploading one or multiple items

Reimplemented from Harmonie.SDK.UploadOperationHandler.

◆ onBeforeUpload()

override UploadAction TopicsAddIn.TopicsManager.onBeforeUpload ( IUploadItemData single)
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.

Parameters
singleIUploadItemData item that is 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: