Customize the Organize Browser
Customize the toolbar and context menu in the Organize browser.
Toolbar Customization
The core application expects a return value of one to show the toolbar from a procedure named ::namespace::ShowHideCustomToolbar. A return value of zero will hide the toolbar. You can use the standard hwt commands to create label combinations or icons to do specific jobs.
Context Menu Customization
The core application runs the procedure ::namespace::CtxMenuAddCustomItems to add the custom context menus. The arguments objBrowser, menu and obj values are passed to this procedure by core.
Custom Actions
- ::namespace::OnLoad
- This procedure will be called as the entry point of the module as declared in the libraryprofile.xml.
- ::namespace::OnUnLoad
- This procedure will be called when you change to a different library or the module is unloaded.
- :namespace:: OnChangeWorkspace
- This procedure is called when you change the current workspace.
- ::namespace:: OnChangeLibrary
- This procedure is called when you change the current library. If the new library is using a different profile then ::namespace::OnLoad is also called.
- ::namespace:: OnContentCheckIn_Pre
- This procedure is called before content is checked into the library.
Arguments
- gdm
- Generic data manager handle.
- ci
- Content interface handle.
The above arguments are passed from the core.
- 0 or “ ”
- Will continue Check-In operation.
- 1
- Will abort Check-In operation. For example, if you have not provided certain information or a certain metadata value extraction fails.
- ::namespace:: OnContentCheckIn_Post
- This procedure is called after content is checked into the library.
- :namespace:: OnContentCheckOut_Pre
- This procedure is called before content is checked out from the library.
- 0 or “ ”
- Will continue Check-Out operation.
- 1
- Will abort Check-Out operation.
- ::namespace:: OnContentCheckOut_Post
- This procedure is called after content is checked out from the library.
- ::namespace:: OnContentUndoCheckOut_Pre
- This procedure is called before the Undo Check-Out operation.
- 0 or “ ”
- Will continue Check-Out operation.
- 1
- Will abort Check-Out operation.
- ::namespace:: OnContentUndoCheckOut_Post
- This procedure is called after the Undo Check-Out operation.
- ::namespace:: OnContentGet_Pre
- This procedure is called before the Get operation.
- 0 or “ ”
- Will continue Get operation.
- 1
- Will abort Get operation.
- 2
- Operation is implemented in custom refresh proc.
- ::namespace:: OnContentGet_Post
- This procedure is called after the Get operation.
Return values: None