I have a report displaying in Retool - a low code platform I am hoping to get Stimulsoft work on.
Retool runs in a sandbox and I am using their "Custom Component" feature which puts my code in an iFrame. I have all iFrame permissions enabled. This may be a case of the two not playing well together, but I am hoping you can give me some insight to help me get this working. I am guessing a lot of Retool customers will throw money at you if this works.
I am getting this warning in Dev Tools: Blocked a frame with origin "https://retool-edge.com" from accessing a cross-origin frame and no PDF shows up:
Here is a screenshot of my Retool window showing code and settings:
Please provide more detailed information:
1. I have all iFrame permissions enabled. - show your code or any information on how do you set these permissions
2. need the HTML page headers that you set
3. need the cross-domain.xml files that are used for your services
I have shown you everything there is to show that is under my control within this platform. Those sliders represent the permissions set. The code is everything I did. There are no XML files.
https://captiontracker.retool.com/embed ... b67207935e
While testing this I noticed that Firefox behaves differently than Chrome. If you try and get a PDF in FF, the print dialog comes up. In Chrome, nothing happens. Also the warning and messages in Dev Tools on Chrome and FF are different.
Another interesting, but possible unrelated, difference is that Chrome does not show the toolbar icons, while FF does. I now there is ticket out on this already.
Please check the following discussion:
https://stackoverflow.com/questions/250 ... igin-frame
without iFrame, it is not possible to call Print To PDF.
As a workaround, is there a way to get the binary or base64 of the generated PDF? I can then save that out myself.
You can export report to PDF in code:
https://www.stimulsoft.com/en/documenta ... export.htm