web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Opening local files in new browser tab

(4) ShareShare
ReportReport
Posted on by 178
Hello,
I'm looking for a way to open files using AX365FO. 
I noticed that I can't open them using URL attachments or Browser class. I always get a error "This window could not be opened. Check your pop-up blocker settings and add an exception for Dynamics 365 Finance and Operations".
Tried on different bwosers chrme, IE, EDGE and the same. I do use the on-premise version of AX.
 
Is the only way to read the file into a stream and save it into a temp storage just to open it? The files are stored on a file server in our local network.
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    240,198 Most Valuable Professional on at
    Please forget implementation details for a moment and tell us what you're trying to achieve from users' point of view. What is the business problem you're trying to address?
  • RadekM Profile Picture
    178 on at
    We do save some PDF files from AX directly to our file server, the filepath is stored is a table.
    The user should be able to open this files without looking on the fileserver.
    If he just copypastes the filepath in brower it opens fine but to skip this step it should be just open file on click.
  • Martin Dráb Profile Picture
    240,198 Most Valuable Professional on at
    Hmm, I gave it a try and got the same result. I created a table with an URL field and try to click on the link and open it with Browser.navigate().
     
    It works perfectly with http URI scheme, but if I use the file scheme (e.g. file:///c:/Temp/test.txt), it ends up with "The window could not be opened" dialog. Allowing pop-ups makes no difference. Of course, the URL is valid and I can open the file by using this URL directly in my browser.
     
    One more thing I tried was creating an HtmlViewer control with such a link, but it created an 'a' element without the href attribute.
  • nyonik80 Profile Picture
    2 on at

    Hi everyone,

    I saw your discussion about opening a file from a local file share in Dynamics 365 Finance & Operations. Could you please share how you managed to achieve this? Did you use a specific approach or workaround to access the local file system from D365 F&O? Any details or examples would be greatly appreciated.

     

    Thanks in advance!

  • Martin Dráb Profile Picture
    240,198 Most Valuable Professional on at
    @nyonik80 Please create a new thread and explain your particular requirements there. This thread wasn't about accessing the local file system from F&O; it was about telling the browser which local file to open. That's a local browser opening a local file, not F&O reaching to user's machine and reading files.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 382 Super User 2026 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 265 Most Valuable Professional

#3
Subra Profile Picture

Subra 262

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans