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 :
Business Central forum

Convert a default report object into al code in saas version of business central

(0) ShareShare
ReportReport
Posted on by

Hi there,

I'm working on adding a missing field to a report layout, and i know that i have to create a report extension to do that.

If i was working in on permises, i would have to export the object into txt file, then use txt2al to generate the code, but now that i'm working on saas version, i don't know how can i convert the default report layout into al code, so that i can add the wanted field into the dataset.

Any help would be great, thank you in advance

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    You need to create a local sandbox based on Docker. From here you've access to CSIDE and you can export the object as TXT and then convert it to AL with Txt2AL:

    docs.microsoft.com/.../devenv-txt2al-tool

    Your converted report will have:

    - .AL file (dataset)

    - .RDLC layout

    You can modify the dataset via Visual Studio Code and add your new field, then you can modify the layout.

  • Community Member Profile Picture
    on at

    Thank you very much Stefano for your answer,

    In my local machine, i don't have much space, can i use an azure virtual machine to do that? and this process will it take so much time?

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Yes, you can use an Azure VM. Time is variable, half an hour is quite normal :)

  • Community Member Profile Picture
    on at

    Thank you very much Stefano, you have already helped me once, this is the second time.

    Thank you :)

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans