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

Notifications

Announcements

Community site session details

Community site session details

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

Upload file

(0) ShareShare
ReportReport
Posted on by 518
public void readAndProcessFile()
    {
        FileUploadTemporaryStorageResult uploadFileResult = File::GetFileFromUser();
        if(uploadFileResult && uploadFileResult.getUploadStatus())
        {
            //put process file code here.
            this.processFile(uploadFileResult); //We will write this method further down in the article.
        }
        else
        {
            throw error(/Unable to load file/);
        }
    }
I have the same question (0)
  • Kevin Xia Profile Picture
    Microsoft Employee on at
    Hi,
    Can you describe specifically what went wrong or what you need to ask about on the forum?
    Best regards,
    Kevin
  • Martin Dráb Profile Picture
    238,324 Most Valuable Professional on at
    Unfortunately you asked no question and described no problem, so we can't know what you want to discuss.

    All I can say so far is that you copied this piece of code from How To Read A File In D365.
     
    By the way, I moved this thread from Dynamics AX forum, because the code is clearly about F&O.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 503 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 288 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans