Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Getting an error message when tying to add this control, AI Builder Business Card control.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

I'm getting the following error "object XMLDocument" when trying to add this control: AI Builder Business Card control on the Control tab to a field on contact.
Here's the link to what I'm doing: docs.microsoft.com/.../customize-business-card-scan-control

The error message is:
Property IsCommandBarEnabled is configured as a static value and can't be declared as TwoOptions

Can anyone help?

Thanks

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Getting an error message when tying to add this control, AI Builder Business Card control.

    Hi,

    Thanks but yes, this is what I have but I get the error message above. Sorry, the screenshot is in German. 

    13.JPG

  • Suggested answer
    RE: Getting an error message when tying to add this control, AI Builder Business Card control.

    Hi Partner

    The only supported type of Field for AI builder control is single text field. Requesting you to please enable it for single line of text field. 

    Here's reference article for same: https://docs.microsoft.com/en-us/ai-builder/business-card-reader-component-model-driven#add-the-business-card-reader

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans