Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Script error whenever trying to select the lookup field

(0) ShareShare
ReportReport
Posted on by 1,085

Hello Community Experts,

There is an issue with opportunity entity where when we try to select the lookup field it throws the below error

UciError: Invalid XML Format

    at i ()
    at m ()
    at S ()
    at B.addCustomFilter ()
    at f_ccrm_borrowerssolicitorfirm ()
    at hp.executeFunction ()
    at sp._executeIndividualEvent ()
    at sp._executeEventHandler ()
    at Object.execute ()
    at O._executeSyncAction ()

The empty parenthesis had the org url

Also the error is shown only in unified interface whereas in classic interface it works well

Kindly Guide Experts,

Best regards,

Sumaira Noor

  • Suggested answer
    Gilmeyer Profile Picture
    on at
    RE: Script error whenever trying to select the lookup field

    Can you please raise a support ticket to get further assistance. We will need to check the JS.

    Thanks

  • Sumaira Noor Profile Picture
    1,085 on at
    RE: Script error whenever trying to select the lookup field

    Hi,

    Can anybody please help me in resolving this issue?

    Kindly guide,

    Best Regards,

    Sumaira Noor

  • Sumaira Noor Profile Picture
    1,085 on at
    RE: Script error whenever trying to select the lookup field

    Thanks a lot for the response Gilmeyer Rita

    Yes they have some script on their opportunity entity form

    Best Regards,

    Sumaira Noor

  • Suggested answer
    Gilmeyer Profile Picture
    on at
    RE: Script error whenever trying to select the lookup field

    Hi

    Sounds like you are adding custom filters on lookup field by addCustomFilter (docs.microsoft.com/.../addcustomfilter) by JavaScript, but the filter xml is incorrect.

    Can you please check if there are any custom script on opportunity entity form?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 57

#3
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans