I can't find any working example of js to get attachments related to entity and convert it to base64.
The case we are try to achive is display pdf on one of tab as a iframe. All code works when i put "pdf base64" directlly to the code but i would like to get this pdf from attachment ..
The content of the body looks as example:
Solution we used is based on:
Do You have any suggestion ?