Hi,
I want to manage device inventory and I would like to add an image depending on a list selection. Like if i choose color „gold“ I would like the product image gold to be added without always having to select it from my photos again. Is this possible?
I was able to do a JOIN on 1-1 relationship and display records including images.
My table had ProductNumber , Category (Gold) , Picture
Second Table Category(Gold) , and I could populate all pictures matching
You could also write a Field Script that could do that for you. If you have your images located in a folder somewhere, you could have the code fetch the image and add it to the field in the record whenever you change the value.
Something like this:
record.addPhotoFromUrlToField(image_url, case_cover_id)
You would have to provide the URL and the field ID.
There is this sample that relies upon an external web service to populate image based on pick list values. You’d need to host the images external to TF or use an on disk location within the script folder access (though that’d only work on a Mac device and you’d have to sync the images to all devices that use it).