Image Not Refershing
All,
I have built a rich text field that when clicked displays the record for the end user. I have loaded images up into an attachment field. I have set the versions to "0" to always pull the most recent image, but it is not working. Can someone look at my rich text formula and see what I am doing wrong? (appp token hidden).
var text pix = URLRoot() & "up/" & Dbid( )& "/a/r" & [Record ID#] & "/e35/v0";
"<a href=" & URLRoot() & "db/" & Dbid() & "?a=dr&rid=" & [Record ID#] & "&apptoken=&xxxxxxxxxxx" & URLEncode($pix) & "' height='100' target='_blank'><img src='" & $pix & "' height='100'/></a>"
I have attached a screen shot. Image is the rich text field where the above is at and Picture is the file attachment and yes, my fied id for the file attachement is 35.
Thoughts?