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

Adding Dimension value in Customer page

(0) ShareShare
ReportReport
Posted on by 130

Hi All,

I have created table and page with name Dimension2 and DimensionList and added two fields. In that one field will have the Dimension value

And added a  new field in customer Card page with name of short cut dimensions.

when you select one option from the dimensions then the customer field name should be update based on selected option from the page DimensionList.

in the customer field after that it must show the Sub options that is related to the selected option(dimension).

How can we do this? can anybody help me.

I have the same question (0)
  • Suggested answer
    Dallefeld Profile Picture
    235 User Group Leader on at

    1. Are you seeing the shortcut dimension options is the desired fields

    2. What do you mean by Sub options?

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

    Are you talking about the field caption or the lookup values for the dimension values?

    For field caption you can look at how it is done in standard BC pages.

    For lookup values look at how it is done in the standard BC tables. F.ex. the general journal lines.

  • Suggested answer
    YUN ZHU Profile Picture
    101,995 Super User 2026 Season 1 on at

    Hi, I'm sorry I don't quite understand your needs.

    But I answered a similar question yesterday, hope it helps.

    ( ) I would like to get the dimension values. - Dynamics 365 Business Central Forum Community Forum

    Keypoint:

    tableextension 50100 MyExtension extends Customer
    {
        fields
        {
            field(50103; "ZY ShortcutDim3Code"; Code[20])
            {
                Caption = 'Shortcut Dimension 3 Code';
                CaptionClass = '1,2,3';
                TableRelation = "Dimension Value".Code where("Global Dimension No." = const(3));
                DataClassification = CustomerContent;
            }
        }
    }
    
    pageextension 50100 MyExtension extends "Customer Card"
    {
        layout
        {
            addafter(Name)
            {
                field("ZY ShortcutDim3Code"; Rec."ZY ShortcutDim3Code")
                {
                    ApplicationArea = All;
                }
            }
        }
    }

    pastedimage1652140063553v1.png

    pastedimage1652140073418v2.png

    Hope this helps.

    Thanks.

    ZHU

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 2,050 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,351 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,200 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans