KnotKnick
02/23/2022, 3:47 PMnew_tracking_rec.setValue({
fieldId: 'custrecord_tracking_link',
value: '<a href="<https://www.fedex.com/fedextrack/?trknbr=12345677>">Tracking_Link</a>'
});
its currently being set as a text, neither as a link or the display Text mentioned in the href section. Is there anything that I am missing?Alan Fitch
02/23/2022, 4:06 PM'<a href="<https://www.fedex.com/fedextrack/?trknbr=|https://www.fedex.com/fedextrack/?trknbr=>' || {custrecord_tracking} || '" >Tracking Link</a>'
Rich text might work also.KnotKnick
02/23/2022, 5:09 PMKnotKnick
02/23/2022, 5:09 PMGerald Gillespie
02/23/2022, 5:12 PMKnotKnick
02/23/2022, 5:15 PM'<a href="<https://www.fedex.com/fedextrack/?trknbr=>' || {custrecord_tracking} || '" >{custrecord_tracking_number}</a>'
Gerald Gillespie
02/23/2022, 7:09 PM||
are a short-form of concatenate operator so you’ll need to repeat the pattern of joining strings and variables… you’re very close!
'<a href="<https://www.fedex.com/fedextrack/?trknbr=>' || {custrecord_tracking} || '" >' || {custrecord_tracking_number} || '</a>'
KnotKnick
02/23/2022, 7:53 PM