I have requirement in which i need to show PDF document in cloud page which customer can download using cloud page.
Am getting PDF document as blob through API response in cloud page , Is it possible to convert the blob into PDF using SSJS / Amp script in cloud page.
1 Antwort
you can try this once if it helps
blob x = blob.valueof('this is a test');string s = EncodingUtil.base64Encode(x);system.debug('s:' + s);blob y = EncodingUtil.base64Decode(s);system.debug('y:' + y.toString());