- Lucía Quiñones
- PowerBuilder
- Tuesday, 13 September 2022 04:41 AM UTC
We have a functionality that consists of uploading attached files with a java servlet.
The way we are doing it is as follows:
ole_object_upload.object.connecttonewobject("InternetExplorer.Application")
ole_object_upload.object.Navigate(ls_url,0,4,lblobParam,lBlobHeader)
ole_object_upload.object.disconnectobject( )
Being ls_url the URL of the servlet, for example "https://xxxxxxxxxxxxxxxxxx", in the BLOB field we send the attached file.
Using 'ole_browser' object of type 'Microsof Web Browser' and Internet Explorer as web browser works fine. However, we disabled Internet Explorer and set Edge web browser as default browser and with IE Compatibility Mode on it doesn't work for us, but it also doesn't give us any errors that we can see, just the document doesn't get attached.
In the software, we have tried to change the following when connecting, but it doesn't work either:
ole_object_upload.object.connecttonewobject("Edge.Application")
Could you tell us if there is any other way to do it?
Thanks.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.