Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / Default a Lookup Field...
Sales forum
Answered

Default a Lookup Field to Value

Posted on by 18

Hi,

I am migrating an on-premise solution to an online environment. Previously I had a custom Settings entity which holds default values for particular lookup fields. e.g. Default approver (systemuser) for an Invoice over $20,000. Is there a new better way of doing this? The administrator needs to be able to change the value without needing to deploy a solution or change code. 

Thanks in advance.

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,041 on at
    RE: Default a Lookup Field to Value

    Hi,

    Using configuration data in a config entity is good option what you are doing it now, as this is data , it can be easily changes without any code changes. So what you are doing it currently is perfect solution. 

    You can use configuration migration tool to move this kind of data between environments

    Move configuration data across organizations - Power Platform | Microsoft Learn

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans