In the input parameter box, search string (file name) is provided, however it is not taken into account. By default, find() is invoked from factory class and all the file names are listed in the drop down from the cluster.
From the script, action method is specified to load only the specified file names in the drop down list but it is not happening. How to achieve this? When first character is typed in the input text box, find() is invoked by default; not sure how it is getting invoked.
Could you provide a bit more info/context? What are these find(), findAll(), file names, dropdowns, clusters, actions, input text boxes, etc.?
Developing a plugin for VRO 7.4; in VRO client, creating a workflow to restore the backed up files. To restore the file, keyword of the filename is provided as an input to the workflow. This keyword will be used as a search query parameter and the result (list of filenames) has to be listed in the drop down. This is the expected behaviour. However, all the filenames are getting listed in the drop down as the plugin factory class find() is invoked. Not sure why the find() is getting called. Is it a default bahaviour that find(), findAll() be invoked to load the corresponding object types?
Still don't understand what is the relation between the keyword input and list of filenames with the plug-in objects? How do you get all the filenames? Is each filename wrapped as an instance of some object type in your plug-in, and if so, where do you return the list of all such objects except in findAll (find returns a single object)?
Yes, each filename is wrapped as an instance of some object type in the plug-in; From script file, we are invoking a Java API which in turn uses REST call to fetch all the filenames from storage box and returns it so as to load in the drop down (in VRO client).