Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Setting InitValues Without Developer License - NAV 2009

(1) ShareShare
ReportReport
Posted on by 2

I have a number of pages in NAV that have fields which default to specific values. These values need to be changed in the dropdown list each and every time the page is used. I do not have access to the code of the pages to set the InitValue of these fields.

I was wondering if there was another way in which I could set these values without going into the code. We also have Classic client. 

*This post is locked for comments

  • Verified answer
    Tharanga Chandrasekara Profile Picture
    Tharanga Chandrasekara 23,116 on at
    RE: Setting InitValues Without Developer License - NAV 2009

    Hello Edward,

    Many of our clients have this issue, because they want to set most used option type as the default option. However there is no way that end user can do the modification because it required a developer license. To do a any change that affect to a Microsoft Dynamics NAV objects required to have a Developer license.

    Addition to that I personally (my view point) do not recommend you to change the option string of a option field even if you have the developer license.

    Because there might be cases Microsoft Dynamics NAV code refer to the string order of the option string. So in this case when you change the order system might face issues in long run.

    Therefore it is not a good option (as per my view) to perform even if you have a developer license.

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,656 on at
    RE: Setting InitValues Without Developer License - NAV 2009

    OptionString.pngNot OptionCaption is what it shows, you should change OptionString for that variable.

  • Verified answer
    edwardl Profile Picture
    edwardl 2 on at
    RE: Setting InitValues Without Developer License - NAV 2009

    initvalue2.jpg

    I did try to change the OptionCaption order so that Net Change was second but this seemed to have no effect on how the page loaded. 

  • Verified answer
    Suresh Kulla Profile Picture
    Suresh Kulla 44,656 on at
    RE: Setting InitValues Without Developer License - NAV 2009

    Edward,

    Unfortunately if you don't have license to modify objects then you cannot change those, normally the option field defaults to how they are setup in the OptionString property of the variable or field.

    In your example it is a variable and that variable OptionString property is declared as Net Change,Balance at Date. so it always take first value unless you add code to assign to second value.

  • edwardl Profile Picture
    edwardl 2 on at
    RE: Setting InitValues Without Developer License - NAV 2009

    initvalue.jpg

    Net Change is the default value on this page. I would like to change it to Balance at Date instead. 

    This is just one example, there are many pages like this with an incorrect default initvalue.

  • Suresh Kulla Profile Picture
    Suresh Kulla 44,656 on at
    RE: Setting InitValues Without Developer License - NAV 2009

    Edward, can you please give me an example ?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans