Hello,
I'm trying to generate a PDF on mobile from a URL in the same environment but in another application that is reactive.
The GenerateAndSharePdf function runs normally, but the PDF is blank. The page I'm trying to access is already marked as anonymous. When accessing the page directly through the computer's browser, the data loads normally.
When I use any other external URL like the OutSystems page itself, the PDF is generated correctly. I'm wrong where?
Hey Gabriel
The reason could be the action Generating Wrong URL! Can you try printing the URL you are generating in the Value Expression and check if it creates correct URL?
Or if you can share the minimal OML to check, please attach in Post
Hello @Manish Gupta,
I passed the same generated URL to the InAppBrowserPlugin and it opened the page without any problems, as shown in the image.
As soon as possible, I post an OML for better understanding.
Could you please find or debug the GenreateAndSharePdf Url values ?
or better understanding can you please share the OML file.
Hey @Navneet Sharma,
In debug the GenreateAndSharePdf does not return something from the url created, but I tested the same URL generated in the InAppBrowserPlugin, and it opened normally as shown in the image.
As soon as possible I will post the oml for better understanding.
@Navneet Sharma and @Manish Gupta,
I created a testReactive application with a public page listing some sample countries. https://luisgabriel-sales.outsystemscloud.com/Testes/CountryStates and I replicated the code in the personal environment and the PDF was also generated blank. Follow the OML.
Hello @Gabriel Sales
I have tried the sane using the plugin you have mentioned but it looks there is something in OutSystems Web which is preventing to load the content. It is taking Service Studio URL correctly or any other URL but not taking any screen URL from OutSystems even from different environment.
I'm not sure but could be something to discuss with OutSystems Support. I have checked these URLs in Sample Demo App too but not working.
Meanwhile we can try it with another plugin.
I'm also trying it and let you know the results.
I saw same issue with another Plugin as well. Kindly check with support. It may be some kind of security that preventing this to load page of OutSystems App Screens URL.