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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

Expand Options (DEVQST)

(0) ShareShare
ReportReport
Posted on by

Hi Guys

Is there a way we can expand options ??

As example T5050 - Contact has an field 5050 "Type". This field has in the basic version of NAV two options "Company" & "Person".

So can i somehow make a PageExtension to add just one option?

I somehow can't find any information for this.

best regards.

Categories:
I have the same question (0)
  • I Gusti Made Ari Profile Picture
    3,608 on at

    You can use enum and enumextension , please see below links :

    docs.microsoft.com/.../devenv-extensible-enums

  • Community Member Profile Picture
    on at

    Hmm, i don't really get it. Can you do a small example with expanding an Option?? a bit code would be great. As far as i understand is that this doesn't work because the "Type" field is an option field and not an enum field. and i cannot modify this field because it is a bc standard field.

  • Suggested answer
    I Gusti Made Ari Profile Picture
    3,608 on at

    For standard field they are planning to release it with enum , but not sure what are the fields will be and when  .

    but if you are creating extensions for new table you can use enum instead of using Option fields.

    If you are using on-premise, you can change  standard  field to enum and from there extend it using extension. for saas i think you need to wait until they have released it.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans