Skip to main content
Microsoft Dynamics NAV forum
Suggested answer

Save report at a specific location

editSubscribe (0) ShareShare
ReportReport
Posted on by UG Leader

Hey guys,

I have created a report.

When I have executed it and want to save it, I end up always in somewhere in my repository.

Is it possible to say, that I always start at a specific location, when I can save my report. And if this is not the right location, I can navigate through the repos.

Do you know, how I can achieve this?

Thank you :)

Categories:
Attachments
  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,560 on at
    RE: Save report at a specific location

    Did you tried as recommended by Siddharth.

    Standard NAV will always save in any UNC path.

  • Manikanta_501 Profile Picture
    Manikanta_501 241 on at
    RE: Save report at a specific location

    Hello Malue1991

    you can save your Report as PDF file or any other format. Please consider below syntax to save report as PDF file.

    Syntax :

    YourReport.Saveaspdf('Path\fileName.pdf');

    Example :

    TestRep.SaveAsPdf('D:\ReportData\AL Files\Test.pdf');

    TestRep is a variable of type Report, please consider below line.

    TestRep: Report "Sales Order";

  • Community Member Profile Picture
    Community Member UG Leader on at
    RE: Save report at a specific location

    Ok and how is it achievable? Do you know an example in the standard, where I can have a look?

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,560 on at
    RE: Save report at a specific location

    Yes this is achievable , you can give user setup where the concerned person can define the location and on that location you can save the File.

  • Community Member Profile Picture
    Community Member UG Leader on at
    RE: Save report at a specific location

    Where can I find the code, which saves the report?

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,636 on at
    RE: Save report at a specific location

    Please share the code you are using to save the report.

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,080 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,601 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans