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 :
Small and medium business | Business Central, N...
Answered

Dynamic captions in filter for fields in business central

(1) ShareShare
ReportReport
Posted on by 82

Hello Experts,

We want to create a dynamic fields for item attributes on item page.

I create a tab for selecting item attributes on inventory setup page according to the selected attribute the attributes will display on item card for caption i have use caption class but when i want to filter that in list page i am not seeing dynamic filter caption.

pastedimage1649998481403v1.png

Can anyone help with this?

Any help would be much appreciated.

Thanks.

I have the same question (0)
  • JJMc Profile Picture
    291 on at

    How about using the CaptionClass property, and using a funntion to obtain this caption?

    For example:

    CaptionClass = MyFunction;

    procedure MyFunction()

    var

      Return : Text;

    begin

      Case ¿? of

        x : Return := 'My personize caption';

      end;

      Return := '3;' + Return;

    end;

  • riya patel Profile Picture
    82 on at

    Thanks,

    this also works but i found my mistake i have set the caption to item attribute 1 on table and captionclass property in page so the table caption was showing.

    Thanks for the help

  • Verified answer
    YUN ZHU Profile Picture
    95,746 Super User 2025 Season 2 on at

    Hi, I did a similar test before, hope this helps you too.

    https://yzhums.com/3546/

    https://yzhums.com/1846/

    Thanks.

    ZHU

  • riya patel Profile Picture
    82 on at

    yes ,

    Thanks for the reply.

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 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans