While building custom connector I am trying to create access to the File directory in the connector definition. Is this possible?

Hey, thank you for your time and help. I am using Bonitasoft 7.2.4 Subscription.

I have created a custom connector to save files or documents created in the BPM process locally to the computer.

It would be hugely helpful to enable those using the connector to simply open the file directory from the connector “set up” page, and choose where they want their file saved. This “set up” page is determined by the connector definition, and from what I can see there are only a limited number of input types accepted, “Text, Textarea, Group, Select, etc.”

This definition also exists in a file “Connector_Name-1.0.0.def” which is set up in XML encoding.

The only ways I have been able to manipulate the connector page is through the standard practice on the Bonitasoft BPM tool setting up the definition or by manipulating the XML file for the definition and so far I haven’t been able to create this functionality.

It should also be noted that Bonita has a built-in file connector type for saving to/creating folders, but it takes in three text inputs (Parent Path, Folder Name, Folder Description) as opposed to opening the file directory.

Is it possible to have a widget in any custom connector definition that allows the file directory to be opened to create a path to a folder?

I think what your asking for is rather complex.

It’s not clear where you want this either. Is it in Studio or in the User Portal (production).

When you say “locally to the computer” I assume you mean the end user’s computer and not the server…

Could you be a bit more specific about needs? For example:

Is it possible to have a widget in any custom connector definition that allows the file directory to be opened to create a path to a folder?

Are you asking for the custom connector definition in studio to include a selectFileSavePath dialog which allows the developer to specify where the file will be saved? This would then be used for all cases that use this rendering of the connector.

regards