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 :
Microsoft Dynamics AX (Archived)

Sysoperation filenamesave edt button not showing

(0) ShareShare
ReportReport
Posted on by

Short question (i think)

Im converting a runbasebatch class to sysoperation. The class is doing an export to file. In the datacontract are 2 parameters. A boolean and filenamesave.

Im not using a custom ui builder. Just simple auto created dialog.

But for some reason the filenamesave dialogfield is not showing the browsebutton.

Anyone got a idea?

Regards, Hans

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at

    Hi Hans,

    You have to use some additional statements:

        Dialog      dialog = new Dialog('Save file');    
        DialogField DialogFilename = dialog.addField(extendedTypeStr(FilenameSave));
        Filename    fileName;
        
        dialogFilename.lookupButton(FormLookupButton::Always);
    
        dialog.filenameLookupFileName(fileName);
        dialog.filenameLookupFilter(['*.*','All files']);
    


    Hope this will help you.

  • Community Member Profile Picture
    on at

    Thanks Andre! Just read it, ill check it out tomorrow.

    Regards, Hans

  • Community Member Profile Picture
    on at

    Thanks, work like a charm now. Ps. for anyone with the same issue, I created a ui builder based on sysoperationautomaticuibuilder and overwrote the postbuild. after the super in that method you can retrieve the dialog field using something like:

    this.bindInfo().getDialogField(this.dataContractObject(), methodStr(MyDataContract, parmFileName));

    and then you can use the lookupbutton method on the returned dialogfield as Andre suggested

  • Community Member Profile Picture
    on at

    Hi

    Can you please explain to me how you achieve this?

    I am also facing the same issue, but I am using DialogRunBaseClass 

    filenamesave dialog field is not showing the browse button

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans