web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    on at
    RE: Using Repeaters/Groupings in Word Layouts

    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,397 on at
    RE: Using Repeaters/Groupings in Word Layouts

    hi

    look this

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

    DAniele

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at
    RE: Using Repeaters/Groupings in Word Layouts

    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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans