B4J Question [ABMaterial] How to open file in new browser tab of my ABMaterial WebApp?

Mashiane

Expert
Licensed User
Longtime User
Hi there

1. I have an excel document sitting in File.DirApp in my ABMaterial App on the server
2. I have a ABMButton that I want when clicked should execute a download of the document or preferably open the document in another browser Tab (this will eventually execute a download)

Now

1. How do I return my app URL for my ABMaterial WebApp?
2. Perhaps I can do an anchor for the file and execute click event, this however does not work on all browsers.. :(, but still I need to get the file URL thats sitting in File.DirApp.

Can someone please advise how I can do this please?

Thanks in advance for the co-operation.

Ta!
 
Top