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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Using Repeaters/Groupings in Word Layouts

(0) ShareShare
ReportReport
Posted on by 35

Hello all, 

I'm trying to figure out how to use repeaters/groupings for line items when working with a custom report layout in Microsoft word format. 

As of now, I'm under the impression that the columns coming from your VS Code need to be under the same dataitem to be repeated together. For example:

pastedimage1668702125626v1.png

This code allows me to apply a repeater from the dataitem those columns are under. 

On the other hand, when I have multiple columns from different dataitems (linked) -- the repeater doesn't like to pull in items that aren't a direct column in it's dataitem. For example: 

pastedimage1668702720988v2.png

If I applied the repeater based on "Prod. Order Line", it wouldn't repeat "Operation No", "Work Center No" and so on...

Can anyone give me a rule of thumb or specific instructions on how to format code to make repeaters work best -- or how to use repeaters (or some other function?) better in word to get things to repeat better/in unison?

Thanks!

Chris

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    Microsoft Employee on at

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

  • Suggested answer
    DAnny3211 Profile Picture
    11,423 Super User 2026 Season 1 on at

    hi

    look this

    learn.microsoft.com/.../devenv-howto-report-layout

    DAniele

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    The looping or repeating will happen in the way the data item links are defined.

    So if you have 3 data items linked

    DataItem1

     DataItem2

       DataItem3

    Then for every Item1 it will repeat through every item2 and for every item2 it will loop through every item3.

    Was that of any help?

    If not maybe you can share the complete code for your report?

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,687 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,041 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 974 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans