Hi,
I had added multiple storage path in my project but if i try to store the directory path in String i am getting Unable to cast to String. Is there any Way to Assign Storage path to String.
Below Code is added for Multiple storage
Bean
FileStorage storagePath() {
return new LocalFileStorage(“path”, “/home/”);
}
I am getting Path in io.jmix.localfs.LocalFileStorage@19bdfa3e format
but not in a String format
FileStorage fileStorage = fileStorageLocator.getByName(“path”);