Hi Folks!
I need to get access to the file names of stored pictures.
In the form “customers” every customer has a picture on/in his record. In a script i need to get the name of that file.
Using “.getFieldValue” does not help.
Any ideas?
Thanks in advance,
Eddy
record.getFieldValue(photo_field_id)
is what you want to use.
When you do that on a Photo field, what you get is an array of dictionaries.
So you need to go through the array and look at each element of it. Each element is a dictionary and the dictionary contains a filename
key which you can use to get the filename.