cancel
Showing results for 
Search instead for 
Did you mean: 

Select some specific plugin for file import / set options

patco_
Champ in-the-making
Champ in-the-making

Hi,

I developed a plugin for file import and would now like to let the user select some import options.

By overriding create_file.xhtml (import dialog box), I can let the user select these options. Now, is there a way to pass this information to the plugin through the FileManagActionsBean (or, if that is not possible, to force a given File importer)?

Thanks,

Patrick

2 REPLIES 2

bruce_Grant
Elite Collaborator
Elite Collaborator

Maybe you can extend the DefaultFileImporter, override create, and then register your new import class in the FileManagerService/plugins extension point; setting the order="1" and the default filter as .* (so that all imports travel through your custom importer.

patco_
Champ in-the-making
Champ in-the-making

I get my file importer to work when expected, but I'd like to let the user choose among a few options in the case the file type corresponds.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.