Guadalupe Barba
04/06/2021, 12:40 PMvar imageid = rec.getValue({fieldId:'custitem81'});
if(!isEmpty(imageid)){
var lookup = search.lookupFields({type:'file',id:imageid,columns:['url']});
var imageurl = lookup.url
if(!isEmpty(imageurl))
imageurl = imageurl.split('&').join('&');
customData.itemurl = imageurl;
}
I am wondering how I could do this within the Advanced HTML/PDF Forms environment using Freemarker syntax? I am at a loss as to what I can call to pull the image URL. The custom label that points to the image, <custitem81>30012</custitem81>, stores the file number. Inside the file details screen, I can see the various URLs generated but I just don't know how to pass that data back to the estimate record. I don't see any of that when trying to source that data to a custom transaction line field. Any help with this is greatly appreciated. Thanks in advance.michoel
04/06/2021, 11:10 PMGuadalupe Barba
04/08/2021, 1:06 AMConfigure the field with the following settings:
Label: Image URL
Type: Free-Form Text
List/Record: Transaction
Store Value: is checked
Under the Applies To tab, place a check mark on Sale Item
But I am not able to do both. I either have to set the TYPE to List/Record and then select Transaction in LIST/RECORD or I have to select free-form text and leave the LIST/RECORD greyed out. Which route do I have to take to implement this?michoel
04/08/2021, 1:10 AMGuadalupe Barba
04/08/2021, 1:20 AMmichoel
04/08/2021, 1:21 AM