Skip to main content
Solved

Using command to open files from an online file storage in Aurena

  • February 7, 2022
  • 5 replies
  • 254 views

juliuskahkonen
Do Gooder (Partner)
Forum|alt.badge.img+2

Hi,

I am working with Aurena and need to add a command or some kind of hyperlink that opens a PDF file from an online storage drive . The problem is that the instruction navigate checks and opens only URLs that start with http:// or https:// and I need it to open a URL that starts with file:///.

 

How do I customize a command so it will open a URL like that? Or do I have some other option to achieve this?

Best answer by Charith Epitawatta

Hi @juliuskahkonen,

Opening local files is not allowed as you have mentioned. This could be due to some security implications in opening files in the browser as well. As far as I know, this functionality is not yet planned for any upcoming releases either.

I would suggest you to create a topic In Ideation so that it would be considered for implementation in the future:

https://community.ifs.com/ideas

Hope this helps!

This topic has been closed for replies.

5 replies

Charith Epitawatta
Ultimate Hero (Employee)
Forum|alt.badge.img+31
  • Ultimate Hero (Employee)
  • 1094 replies
  • Answer
  • February 7, 2022

Hi @juliuskahkonen,

Opening local files is not allowed as you have mentioned. This could be due to some security implications in opening files in the browser as well. As far as I know, this functionality is not yet planned for any upcoming releases either.

I would suggest you to create a topic In Ideation so that it would be considered for implementation in the future:

https://community.ifs.com/ideas

Hope this helps!


juliuskahkonen
Do Gooder (Partner)
Forum|alt.badge.img+2
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • February 8, 2022

Hi @Charith Epitawatta and thank you for your reply.

 

Isn’t there any way I could bypass this check or modify the navigate instruction myself so that it could open these file:/// URLs?

 


eqbstal
Superhero (Partner)
Forum|alt.badge.img+21
  • Superhero (Partner)
  • 701 replies
  • September 5, 2022

Are you maybe able to prepare a custom field/attribute that is of type hyperlink and that contains the URL to the pdf?


juliuskahkonen
Do Gooder (Partner)
Forum|alt.badge.img+2
  • Author
  • Do Gooder (Partner)
  • 2 replies
  • September 5, 2022

Hi @eqbstal ,

Yes i was able to bypass the command http:// -check and add a link that started with file:///. But this still didn’t work.

Like @Charith Epitawatta suggested, the main reason that this does not work are security implementations in modern browsers. Executing files (like in this case PDF) from a website is blocked to protect against malicious intent.


Forum|alt.badge.img+3
  • Sidekick (Employee)
  • 10 replies
  • October 18, 2022

I think that the only way to open a local file is to use Aurena Agent. It has OpenFile command, which opens the given file with the default application.