0

Programatically set image field content

Is it possible to set an image field using the attached file with built-in scripting functions?

ie, image = file(this, Name + ".png")

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • hi

    my way is in the field formula set :

    file(this, Name + ".png")

    Like
  • I did that on a button, to test and the image just shows nothing. I have a button to get the image and one to set the field with the code, the image field stays blank.

     

    Screen Shot 2020-04-01 at 11.55.38 pm

    Like
  • code in your button :

    Robot:= nameOfYourAttachedDocument.xxx

    Like
  • silly me, I always forget the : when assigning.

    Like
Like Follow
  • 2 yrs agoLast active
  • 4Replies
  • 741Views