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 :
Finance | Project Operations, Human Resources, ...
Answered

Adding custom template to "Open lines in excel" for general journals

(1) ShareShare
ReportReport
Posted on by 65

Hello guys,

I have created my custom template(copy of existing of ledger journal template) and uploaded under office integration > document templates.

But my custom template was not displaying in the "Open lines in excel" options

How can i achieve this?

Thanks in advance for the help

I have the same question (2)
  • Verified answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    Hi Chaitanya ,

    Some templates are defined in the code. For example the template you are looking for is in the class LedgerDailyJournalExcelTemplate defined on the following line of code.

    private const DocuTemplateName ExcelTemplateName = resourceStr(LedgerJournalLineEntryTemplate);

    Because this is private variable , you wont be able to change it , so the option is to create your own class by duplicating LedgerDailyJournalExcelTemplate   class and define your new template there and use it.  

  • Suggested answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Chaitanya,

    Did you reload the system Templates from Organization administration > Setup > Office integration > Document templates?

    pastedimage1597249243540v1.png

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,730 Super User 2026 Season 1 on at

    Hi Chaitanya,

    Sukrut is correct. However, there is an alternative. You can replace the standard template with your copy. If you do need the standard template, then you should follow the guidelines mentioned by Sukrut. If you want to replace the standard with your version, you can first download the Excel file and make your changes. I think you already did this. Then you can create a new template. On the dialog, change the template name to the existing name, e.g. 'LedgerJournalLineEntryTemplate'. It will then ask you to replace the current one.

  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Chaitanya raj,

    Yes, as mentioned you need to create a new class to extend DocuTemplateRegistrationBase class and implement LedgerIJournalExcelTemplate.

    A tutorial:www.alithya.com/.../dynamics-365-for-finance-and-operations-customize-the-standard-excel-template

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 468 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans