Announcements
We recently decided to add the BodyText and ClosingText fields to our custom layout and we cannot find the source for these xml functions. Any advice would be greatly appreciated!
Hi, you should use ReportExtension to add them to Dataitem of the report first.
A simple example: https://yzhums.com/10723/
MS Docs: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-report-ext-object
Hope this will help.
Thanks.
ZHU
Hey ZHU,
It seems like the bodytext and closingtext function are already referencing strings.
i.e. BodyText returns "Thank you for your business" and ClosingText references "Sincerely"
Is there a way to edit those strings?
Thanks,
Mike
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,496 Super User 2026 Season 1
YUN ZHU 961 Super User 2026 Season 1
Grigorios Mavrogeorgis 870 Super User 2026 Season 1