Hi Guys,
I have a Shipping Label Pdf as a base64 encoded string. It is very Long. The example Pdf String I have is around 84000 characters. other Pdf strings could be up to 300,000.
I'm trying to save it as an hyperlink on NS Sales order field "custbody_order_shipping_label". Field Type: Hyperlink.
Code:
var shipping_label_data = "pdf converted to Base64 string"
var shipping_label_url = 'data:application/pdf;base64,' + shipping_label_data;
rec.setValue({ fieldId: 'custbody_order_shipping_label', value: shipping_label_url});
This is returning me a character limit error
Could anyone help me out?