i'm using the syntax of subsidiary.logo@url for printing my logo in a template, like so: <img src="${subsidiary.logo@url}" style="float: left; margin: 7px;width:75%; height:75%" />
but when i swap it for a custom field of type document on the subsidiary record, i get a "string index out of bounds exception". same error when i try ${subsidiary.custrecord_field} without the @url. When i just print the field outside of an img src tag, it successfully prints both the image itself (if i do just the field ID) or the URL to the image (if I use @url). But I need it to be within an img src tag so that I can control the size, unless anyone has any way to set the size of just a field reference. Anyone run into this before or have any suggestions?