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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Can anyone suggest how to import a file using xmlport such that file location has to be passed in AL code without prompting the file location during runtime ?

(0) ShareShare
ReportReport
Posted on by 114

I am trying to import a file using XMLPort from a shared location.

I am able to select the file from the shared file path during runtime.

But I want to specify the file location in AL code without the dialog box to prompt the user to select the file location.

  • Suggested answer
    Akshay_Panchal Profile Picture
    402 on at

    Hii,

    Try to set current xmlport filepath with your shared folder path

    Thanks

  • Beulah Profile Picture
    114 on at

    No it doesn't accept the filepath provided. Instead it prompts to upload the file.

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

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 554 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 360 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 201 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans