Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

How to set value to an unbound Dimension entry control through code or using a display method?

(0) ShareShare
ReportReport
Posted on by 100

I need to add an unbound dimension entry control to a form.

Lets say my form data source is TableA and if TableA has a one to one relationship with TableB and TableB has one to one relationship with TableC. On TableC I had a DefaultDimension field. I need to show this corresponding Dimesion value for each record of TableA. So I am adding a new dimension entry control and trying to set the value for it on datasource active method, but I don't see a method to actually set the value. Also I don't see any property on the control to accept a display method.

Can anyone suggest me on this, Thanks in advance.

  • Verified answer
    JayVee13 Profile Picture
    JayVee13 100 on at
    RE: How to set value to an unbound Dimension entry control through code or using a display method?

    I was unable to find any way how this can be achieved, so I added a temp table with Default Dimension field to the form and used this field as data field property to the dimension control and has set the value to the field in form init

  • JayVee13 Profile Picture
    JayVee13 100 on at
    RE: How to set value to an unbound Dimension entry control through code or using a display method?

    Hi, Thanks for the reply. The above thread refers to a bound control, but in my case it is an unbound control and I don't see any method in the control to set the value through code.

  • huijij Profile Picture
    huijij 19,811 on at
    RE: How to set value to an unbound Dimension entry control through code or using a display method?

    Hi JayVee,

    Please refer to the old thread to see if it helps:

    community.dynamics.com/.../dimension-entry-control-values

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans