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

Notifications

Announcements

No record found.

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,710 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
    300,911 Super User 2025 Season 2 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
    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

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
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans