标签: salesforce salesforce-lightning
我有一个要求,我需要在Lightning组件中将Base64字符串显示为PDF,而不必将该字符串另存为Salesforce中的文件或附件。
答案 0 :(得分:0)
您可以使用可以在客户端生成PDF的第三方JavaScript库。
带有jsPDF
定义Blob并插入// php code here creating $images echo '{ "images": "'.$images.'" }'; 中:
// php code here creating $images echo '{ "images": "'.$images.'" }';
<iframe>