Order in which resources are loaded into events

Stimulsoft Reports.JS discussion
Post Reply
p.petralla
Posts: 2
Joined: Fri Jun 09, 2023 9:33 am

Order in which resources are loaded into events

Post by p.petralla »

Hi all, I'm new and I'm using the trial, I'm trying the product before buying it.
I'm making a report.
I have an image component, it is not possible to know the path or the url in the report construction phase, this is passed from the database.
I added a JSON as data source and in the "At render" event I set the File property taking the data from the JSON.
The preview from the designer shows me the image correctly, the preview called from the server is empty.

The front-end application in flutter is on the OVH https://platform.atoms.cloud domain and redirects to Google's Firebase servers.
The backend application is on another OVH server https://atomsapi.calleads.cloud

I attach the screenshots, the report and the JSON
Can you help me?
A thousand thanks
Attachments
chrome console errors.png
chrome console errors.png (60.86 KiB) Viewed 1000 times
db_report.json
(497 Bytes) Downloaded 83 times
Report.mrt
(73.43 KiB) Downloaded 85 times
4.png
4.png (71 KiB) Viewed 1002 times
3.png
3.png (102.61 KiB) Viewed 1002 times
2.png
2.png (30.49 KiB) Viewed 1002 times
1.png
1.png (117.84 KiB) Viewed 1002 times
Lech Kulikowski
Posts: 6312
Joined: Tue Mar 20, 2018 5:34 am

Re: Order in which resources are loaded into events

Post by Lech Kulikowski »

Hello,

Please check the following discussion:
https://stackoverflow.com/questions/250 ... igin-frame

Thank you.
p.petralla
Posts: 2
Joined: Fri Jun 09, 2023 9:33 am

Re: Order in which resources are loaded into events

Post by p.petralla »

Ok it work.

I have two behaviors that I can not explain.
1. At the "At Render" event I set the File property of the image object with the value https link. In the onprimes designer preview I don't see the image and in production I see it instead. Why?
2. At the "At Render" event I set the ImageURLValue property of the image object with the value https link. In the onprimes designer preview it works and I see the image, in production I don't see anything, the report is completely empty, not even plain text. Why?

Thanks :-)
Lech Kulikowski
Posts: 6312
Joined: Tue Mar 20, 2018 5:34 am

Re: Order in which resources are loaded into events

Post by Lech Kulikowski »

Hello,

What do you mean about "In the onprimes designer"?
What product and version are you use?

Thank you.
Post Reply