Photo not showing in copied record

Viewing 1 reply thread
  • Author
    Posts
  • March 11, 2020 at 6:39 AM #39843

    Wonnie Bad
    Participant

    Hi!

    I created a script (actually copied, pasted and adjusted one of Sam’s wonderworks) to copy records from one form to another.
    In the copied record a photo sometimes shows, other times it won’t show.
    It will show the size, and the name, just not the image itself.

    Is this a known bug, is there a workaround? I ask because I’m not entirely sure I understand all that’s being said (being Dutch, and all) also the answer to some of the search result for this topic are hidden behind the ‘become a beta member’ wall. Which I wouldn’t mind :)

    Best regards,
    Wonnie

    Attachments:
    You must be logged in to view attached files.
    March 11, 2020 at 10:12 PM #39860

    Brendan
    Keymaster

    Hi Wonnie,

    Can you please email me your form template so I can take a look at it for you?

    I just examined my code related to this and when you call record.getFieldValue() for a Photo field, Tap Forms will take note of the source record and then when you call record.setFieldValue(), Tap Forms will get the attachment from the source record and set it on the destination record.

    Thanks,

    Brendan

Viewing 1 reply thread

You must be logged in to reply to this topic.