File extension validator


We need to create two file attribute fields/fragments: one allows for all file types as per the object’s settings, the other needs a validator which should only allow for .jpg, .jpeg files. After selecting the file, I’m having a problem getting its value using fragment_presenter.get_value(). A call to cs.log shows nothing. I was wondering if the change implemented in v 2021.2 has caused this? The change is described in this post:

Limiting file type on File attribute type - Liberty Create - Build Advice - Netcall Community

If not, does anyone have an example of this ?

Thanks, Mark

Hi Mark, I will try to get a Developer to assist you with this! Regards - MP

1 Like

Hi Mark, is there any update on this ?
Regards, Mark