File manager inaccessible when using FileField within a DynamicArray

Hi,

I am unable to access the File manager in one entity. I’m wondering why, and would like to be able to gain access, if that’s possible.

This entity is different from other entities (in which I can access the File manager) in that it uses a DynamicArray (with a FileField) and Storage. Could that explain the difference?

In any case, I’d like to be able to access the File manager in every case and it would be helpful if the File manager was found in docs :slight_smile:

Hi Bas and welcome to the community.

This seems to be a bug when a FileField is defined in a dynamic array, good find!

As a temporary workaround you may define a hidden FileField (not in a dynamic array) like this, which enables the file manager:

class Parametrization(ViktorParametrization):
    hidden = FileField("...", visible=False)

Thank you for your reply and providing a workaround, it worked out for me!

This has been fixed in platform release v23.08!

1 Like