Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Error con XrmServiceToolkit.Soap.Create

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Actualmente tengo un proceso para realizar el envío de un informe SSRS en PDF por correo electrónico. 

Mi Javascript ya se encuentra asociado al botón que inicia esta acción, la cuestión es que cuando ejecuto esta acción el depurador se detiene en la creación de registro. Me han indicado que debo pasar a través de Ribbon Workbench la librería asociada a XrmServiceToolkit, pero estoy bastante perdido con este tema y no se como hacerlo.

Espero puedan apoyarme.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error con XrmServiceToolkit.Soap.Create

    In the browser debugger I get this error:

    catchError ($ v_8.message, window.location.href, 0, false, $ v_8,0, false, functionName, scriptFile)

  • Kokulan Profile Picture
    Kokulan 18,050 on at
    RE: Error con XrmServiceToolkit.Soap.Create

    Could you share the actual error message, please?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error con XrmServiceToolkit.Soap.Create

    The debugger works correctly, I am trying to indicate that the error is found in the creation of the registry with XrmServiceToolkit.Soap.Create

    Currently I'm adding the library in this way with Ribbon Workbench:

    Library:$webresource:new_XrmServiceToolkit    Function name: isNan

    Library:$webresource:new_enviaroferta             Function name: CreateEmail

  • Kokulan Profile Picture
    Kokulan 18,050 on at
    RE: Error con XrmServiceToolkit.Soap.Create

    Hi

    I have translated your question using google translate, correct me if the following translation is wrong

    "I currently have a process for sending an SSRS report in PDF by email.

    My Javascript is already associated with the button that initiates this action, the issue is that when I execute this action the debugger stops creating the registry. I have been told that I must go through the Ribbon Workbench library associated with XrmServiceToolkit, but I am pretty lost with this issue and I do not know how to do it.

    I hope you can support me."

    Please make sure the form has the XrmServiceToolkit library added, it also needs JSON and JQuery to work. If the XrmServiceToolKit and all its dependencies are loaded correctly, you should not have issues.

    Are you trying the debugger line in Chrome or IE. It should work fine on Chrome. 

    You can also add console.log("your message") to see if your lines are being executed

    And better to use try catch as well if your script fails

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,711 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans