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 :
Customer experience | Sales, Customer Insights,...
Answered

Business Card Reader

(0) ShareShare
ReportReport
Posted on by 72
 
Community,
 
In our organization, we've customized the Contact entity to include custom fields for better managing our contacts' information. Specifically, we have added custom dropdown fields to record countries and states more accurately according to our internal categorization.

Our challenge arises when we try to utilize the business card reader feature to streamline the entry of contact information into Dynamics 365. It appears that the business card reader is designed to map scanned information only to the system's default fields. Unfortunately, this limitation prevents us from directly populating our custom country and state fields, impacting our data entry workflow and data consistency.

Is there a way to configure the business card reader or Dynamics 365 to allow mapping of scanned information directly into custom fields, specifically dropdowns for countries and states in the Contact entity? If direct configuration is not possible, are there any workarounds or best practices that can help us integrate this feature with our custom fields effectively? Perhaps a plugin or a script that can reroute the information post-entry?

We aim to make the data capturing process as seamless as possible while maintaining the integrity and specificity of our data categorization. Any advice, solutions, or points towards relevant documentation would be greatly appreciated.
Thank you in advance for your time and assistance!
 
 
I have the same question (0)
  • Verified answer
    Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    You can customize the Business Card control mapping to a custom single-line text field.
     
    Then add the onchange event to this field to display the corresponding country in the customized country dropdown field based on the country value populated in this field.
    There are six countries in the Custom Country drop-down field.
     
    The code is as follows.
     
    function onchange(executionContext) {
        var formContext = executionContext.getFormContext();
     
        //Gets the custom field value
        var customField = formContext.getAttribute("cr8a7_customsinglelinefield").getValue();
        //Gets the custom country field reference
        var customCountry = formContext.getAttribute("cr8a7_customcountry");
     
        //If the custom field value is null, exit the function.
        if(!customField){
            return;
        }
     
        // Displays the value corresponding to the custom country option set field based on the value of the custom field.
        switch(customField){
            case "United States":customCountry.setValue(1);break;
            case "France":customCountry.setValue(2);break;
            case "United Kingdom":customCountry.setValue(3);break;
            case "India":customCountry.setValue(4);break;
            case "Japan":customCountry.setValue(5);break;
            case "Canada":customCountry.setValue(6);break;
     
            //If the mapped country is not included in the Option Set field, a prompt dialog box pops up.
            default: alert(`The mapped country: ${customField} is not included in the option set.`)
        }
     
    }
     
     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more.
    If you have further questions, please feel free to contact me .
     
    Best Regards,
    Dengliang Li
     
  • Dengliang Li Profile Picture
    Microsoft Employee on at
    Hi,
     
    Has the issue been solved?
    Have there been any updates? Please feel free to ask me if you have any questions!
    If it has been resolved, can you mark the response as an answer?
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 196 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 129

#3
CU11031447-0 Profile Picture

CU11031447-0 100

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans