Moderator
2 years, 6 months ago
#35073
::
Hi Radostin,
You can access files from the assets section in Client-Side Business Objects.
For example, you can use the CSBO ‘SIMP_FileHelper’ – ‘readFileByUrl’, which is part of our Standard Content. This function takes the data URL as an input parameter and returns the file as a blob and base64.
If your PDF in the assets section is called ‘Test.pdf’, then the corresponding data URL will be ‘./data/Test.pdf’.