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

Opening a Lead, Get ClientApiWrapper.aspx box (detail below)

(0) ShareShare
ReportReport
Posted on by 35

Hi, I probably did this myself although I can't undo it.  When opening a lead a pop-up window shows the following below.

@MYDOMAIN.crm.dynamics.com/.../ClientApiWrapper.aspx line 160 > eval:1:1
RunHandlerInternal@https://MYDOMAIN.crm.dynamics.com/form/ClientApiWrapper.aspx?ver=80153781:160:1
RunHandlers@https://MYDOMAIN.crm.dynamics.com/form/ClientApiWrapper.aspx?ver=80153781:118:19
OnScriptTagLoaded@https://MYDOMAIN.crm.dynamics.com/form/ClientApiWrapper.aspx?ver=80153781:275:1
AppendScriptTag/scriptTag.onload/<@https://MYDOMAINH.crm.dynamics.com/form/ClientApiWrapper.aspx?ver=80153781:244:18

Any insight would be appreciated!!!

I have the same question (0)
  • Suggested answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    Hello there!

    It might be because of any custom javascript function that you have registered on the form load. Please remove all the functions from the onload event and try to open the form again.  Also, if you can share the js function which is running on load(if any) then it will be more investigable.

  • ez1138 Profile Picture
    35 on at

    All I believe I have done is add some fields and some new views.  The only other variable is I’ve started changing the forms with powerapps vs with the CRM.  Not sure if that’s a factor.

    For the JS, where can I check that or pull it for review?

  • Verified answer
    Naveen Ganeshe Profile Picture
    3,397 User Group Leader on at

    You can find the JS on form properties. Please see below screenshot for reference where I have highlighted(in Orange) the area

    pastedimage1572876246545v1.png

  • ez1138 Profile Picture
    35 on at

    Awesome.  I went in to the form properties, removed a LinkedIn Sales Navigator and a Sales one.  Worked without the pop-up.  Thanks again!!

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 98 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 72

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans